Closed mrtrimble closed 6 months ago
Tagging: @hougasian @tedk13
Please take a look at this proposed scaffolding for Platform UI, feel free to leave notes + comments here!
I really like the idea of grouping the scss and js (if necessary) inside the same parent folder.
This is great groundwork! Thanks Ryan! Do we need to consider the approach of workspaces documented here (the link won't take you there, you have to scroll 😢)? It encompasses the needs of the repo and includes packages and the website (which I think could just be website instead of apps).
I believe we're still planning on breaking out utilities as a take-it-or-leave-it add on.
@hougasian
I haven't added any workspaces / monorepo settings into this yet as I still wasn't too sure if that was the route we were heading with it, we can definitely tackle that together next week!
Also, I just pushed up a proposed CSS Reset that is sort of a combination of two of the more modern CSS resets, see here: https://github.com/ritterim/platform-ui/pull/855/files#diff-8f736b1523a7191889762ad3421ebbde74f00b892789bc028600596af839f591
Issue: https://github.com/ritterim/platform-ui/issues/839
Updates:
autoprefixer
pluginplatform-ui.config.js
file used to set design tokenslaunch
command inbin/build.js
to covert tokens to Sass Variablesutilities/colors.scss
to demonstrate how to create CSS classes based off of config fileNotes:
src
components
- CSS and JS/TS for each componentcore
- reset, layouts, typography, and other default stylesicons
- place to put iconsthemes
- place to put themestokens
- place to put tokensutilities
- CSS utility classesDiagram: