Compile away overrides idea #119
-
This is an "idea" but Q&A is easier to close out 😛 I think for some of us anal folks that mostly want to define our own values e.g. we work with a creative director that would never allow us to use prebaked values for the brand, etc., it would be nice to have a sort of free for all 99% sure I can hack this in myself on a forked version, but I think having it as a blessed approach might be interesting and add to the value prop of OP. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
override like this? :root {
--size-1: 10px;
--size-2: 20px;
} OP ships with 0 specificity so it's easy to override and wont be something to wrestle with. But you're hoping to do that ahead of time, like as a prebuilt file with your mods? |
Beta Was this translation helpful? Give feedback.
-
I think it makes most sense for someone with same motives to customize certain values to just cherry pick the OP modules you feel are helpful as is via imports. Then, just go with your own custom colors, spacing, or what not that you don't want prescribed values for. |
Beta Was this translation helpful? Give feedback.
I think it makes most sense for someone with same motives to customize certain values to just cherry pick the OP modules you feel are helpful as is via imports. Then, just go with your own custom colors, spacing, or what not that you don't want prescribed values for.