triphys
triphys
KPCKevin Powell - Community
Created by triphys on 8/29/2024 in #front-end
Is there a vite-plugin for compiling -webkit rules in sass?
So I'm trying to solve an issue where I'm using "backdrop-filter" in my sass which works fine in Chrome but doesn't work in Safari. So if I do it the old-school way and add -webkit-backdrop-filter below it works fine. So I'm wondering if there's a watch/build plugin for vite that automatically adds those webkit prefixes so I don't have to add them in my sass?
3 replies
KPCKevin Powell - Community
Created by triphys on 2/6/2024 in #front-end
Recommendations for semantic and primitive colors in CSS/Theming
Hey everyone, I'm looking for some recommendations on best practice. I'm building a web where I have a base color palette (primitives) which is applied to a semantic system (example primitive: neutral-100 = #fff, example semantic: bg-base = neutral-100). Right now I've made all of the primitive palette as custom properties in css but I'm thinking about what the best practise would be in regards to the semantic values as I just realised I might want them as custom properties as well. Does anyone have any thoughts or ideas?
8 replies