Closed (outdated)
Project:
radix
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2016 at 20:32 UTC
Updated:
21 Jun 2024 at 10:59 UTC
Jump to comment: Most recent
Comments
Comment #2
shadcn commentedI've been working on a styleguide for Radix. I'll push it and we can test it. I'm using Markdown to generate the styleguide.
Comment #3
lsolesen commented@arshadcn Ok. Have you checked KSS which is inline in the CSS which makes it really easy to maintain and it will make it possible to update it right away when doing changes.
Comment #4
shadcn commentedYeah kss-node was the first thing I tried. What we have right now takes some features from kss. I'll clean it up and push it this weekend. We can test :)
Comment #5
shadcn commented@lsolesen, I pushed a demo theme using the Radix Styleguide Builder here: https://github.com/arshad/radix_styleguide_example. Test it out (see the README for demo and installation) and let me know what you think.
Comment #6
lsolesen commented@arshad It looks cool. Only thing that I really like with KSS is that the docs are written directly into the SCSS files. That means you have documented your code, and can use it for something useful when refactoring and debugging. I see the idea behind this, but often the styleguide will probably get out of date with new components etc. added during the lifespan of a theme.
This off course is much better than no styleguide :)
Comment #7
shadcn commentedClosing this as outdated. Feel free to reopen if not. Thank you.
Comment #8
donquixote commentedA style guide is still a desirable thing to have in Radix sub-themes. No reason why this should be considered outdated.
I am also reopening #2901879: Generate Styleguide which seems to have the same or a similar purpose. We can then decide which of them is a duplicate, if any.
Radix has moved from gulp to laravel-mix, so whatever was done in the example probably needs updating or rethinking.
Comment #9
donquixote commentedComment #10
donquixote commentedI've had some success with 'kss-webpack-plugin'. Also 'kss-bootstrap' seems to be useful.
It is not working perfectly yet, but going in a good direction.
webpack.mix.js:
Comment #11
doxigo commented