Skip to content

Why Atomizer (acss.io) didn't use more readable class names? #429

Answered by thierryk
thierryk asked this question in Q&A
Discussion options

You must be logged in to vote

These were more or less the features/benefits we wanted to gain from the ACSS syntax:

  • It needed to facilitate parsing so we could make many things possible, like:
    • declaring any unit and/or value,
    • using combinators for contextual styling,
    • using pseudo-classes and pseudo-elements,
    • using media queries,
    • using RTL/LTR-agnostic classes,
    • and more...
  • It needed to produce short strings which:
    • are faster to type (this was very important to us since using Atomic CSS means writing many, many, many classes),
    • create less bytes in Styles Sheets and markup
  • It needed to help devs "guess" what style was associated with each class (the reason why we used something similar to Emmet abbreviations)

Dyn…

Replies: 0 comments 10 replies

Comment options

thierryk
Jan 25, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by thierryk
Comment options

You must be logged in to vote
4 replies
@thierryk
Comment options

thierryk Feb 5, 2021
Maintainer Author

@xialvjun
Comment options

@thierryk
Comment options

thierryk Feb 11, 2021
Maintainer Author

@renatoi
Comment options

Comment options

You must be logged in to vote
3 replies
@thierryk
Comment options

thierryk Feb 6, 2021
Maintainer Author

@ziven27
Comment options

@thierryk
Comment options

thierryk Feb 9, 2021
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants