Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

CSS selector pattern is redundant and ignores CSS strengths #52

Open
elmarsto opened this issue Jul 9, 2023 · 0 comments
Open

CSS selector pattern is redundant and ignores CSS strengths #52

elmarsto opened this issue Jul 9, 2023 · 0 comments

Comments

@elmarsto
Copy link
Owner

elmarsto commented Jul 9, 2023

Currently I'm using stupidly long class names to pick out specific elements. This was done to make styling easy for newbies. But tbh newbies aren't really our main audience.

This is clumsy:

.s8-page-header-nav-menu-item-icon { /*rules*/ }

This is better:

s8-page s8-header s8-icon { /*rules*/ }

So: The TODO is to revise the theming system to use 'atomic' CSS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant