A mess of styles #8066
Replies: 5 comments 13 replies
-
Best is: overwrite oruga scss/css component class -> use helper class to change layout -> if helper don't exist then use css/scss
true, we should replace inline and use at least "!important".
we've had a few problems with this when we setup theme colors, if you find an alternative (maybe using
The aim is to unify the components in a single library to create a design system that can be accessed via different interfaces. ( |
Beta Was this translation helpful? Give feedback.
-
Agree 👍 Actually, I also already raised a similar issue internally: https://github.com/kodadot/ops-internal/issues/1041. But I can't pick up this task yet since this is more about DX. I still have some backlog on the cf-workers side that faces the user side (higher priority). I would be happy if anyone could pick this up. How to improveI think the first step is to migrate to tailwindcss in our App. With tailwindcss and this viewer, https://tailwindcss.nuxtjs.org/tailwind/viewer can improve our DX. Next step, remove/migrate inline CSS, global CSS, etc., that do not follow the guidelines |
Beta Was this translation helpful? Give feedback.
-
UI lib migration to tailwindcss is coming to an end. What's next? This is the plan in my head right now:
Btw just question why |
Beta Was this translation helpful? Give feedback.
-
Kodadot is still using Bulma framework on frontend, we need a step to rewrite all Kodadot components to tailwind (remove/replace bulma helpers with tailwind equivalent)
at the time we begin migration to Nuxt 3, the storybook plugin wasn't ready. |
Beta Was this translation helpful? Give feedback.
-
#8222 first epic task is finished 🎉 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
Now there are the following challenges:
This makes all the styles in the project look fragile and a change in one place can break something in another.
Solution:
I suggest choosing one option and sticking strictly to it, my favorite solutions are tailwindcss or css modules
Beta Was this translation helpful? Give feedback.
All reactions