You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking a bit more about the styleguide those days and I'm not sure if having styleguide always in application side is a good idea.
Having it customizable is a good idea, but not sure it is by default. I think that I could be a pain to keep styleguide up-to-date in future.
I've an alternative proposal.
Stop using components for headers, sidebar, footer, header. All this html could be in layout.
Having all styleguide component html, css in gem
Having generator only update routes and create the pack file that load js and css present in gem (not sure if that is easy)
To let user do customization, we could do the following
Having an option in generator to create views files (like devise do)
Use css variables for colors and fonts
Make views should be loaded from app first, then gem. To be sure we can overwrite views from app.
postcss-nested
(orpostcss-nesting
) is not installed by default with webpackerstyle.css
stylesheet file atfrontend/components/komponent/
to have generic css like (body { margin: 0; }
Styleguide
in headerrouge
or an other, to colorizecdoc
printed codeOthers ideas
required
anddefault
value at beginning or end of a component pageThe text was updated successfully, but these errors were encountered: