Theming

10 bookmarks
Custom sorting
How to create better themes with CSS variables - LogRocket Blog
How to create better themes with CSS variables - LogRocket Blog
CSS variables let you define values for reuse throughout a CSS file , opening the door to more efficient theming capabilities — no preprocessors necessary.
·blog.logrocket.com·
How to create better themes with CSS variables - LogRocket Blog
CSS Custom Properties and Theming | CSS-Tricks
CSS Custom Properties and Theming | CSS-Tricks
We posted not long ago about the difference between native CSS variables (custom properties) and preprocessor variables. There are a few esoteric things
·css-tricks.com·
CSS Custom Properties and Theming | CSS-Tricks
Theming With Variables: Globals and Locals | CSS-Tricks
Theming With Variables: Globals and Locals | CSS-Tricks
Setting CSS variables to theme a design system can be tricky: if they are too scoped, the system will lose consistency. If they are too global, you lose granularity. Maybe we can fix both issues. I’d like to try to boil design system variables down to two types: Global and Component variables. Global variables will give us consistency across components. Component variables will give us granularity and isolation. Let me show you how to do it by taking a fairly simple component as an example.
·css-tricks.com·
Theming With Variables: Globals and Locals | CSS-Tricks