BinaryMoon / ElementalCSS

A classless CSS library with utility classes
9 stars 0 forks source link

Flex-direction utils #5

Closed woodcox closed 1 year ago

woodcox commented 1 year ago

Hi, this looks like a really nice headless css library.

I was reading through the dist css and noticed you have two utility classes for flex-direction that do the same job:

.flex-row {
    flex-direction: row;
}
.flex-col {
    flex-direction: column;
}
.flex-d-c {
    flex-direction: column;
}
.flex-d-r {
    flex-direction: row;
}

I wasn’t sure if this was an error or intentional when looking at the _flex.scss?

Otherwise, on first read it looks great 👍. I really like the clear and concise utility class names.

BinaryMoon commented 1 year ago

Thanks for that - and you're right.

I think I used to use the flex-d-c classes then decided the flex-row ones were clearer so swapped and left them because I hadn't updated all my sites. I've tidied that up now.

I've also removed the legacy f-s1 classes I was using for font sizes :)