| Design Tokens | @Adam Stankiewicz | Moving to a world where CSS is built externally. Currently the MFE is responsible for building the theme Design Tokens will change that, and instead pAragon compiles its own CSS outputs Expose locally installed versioned of compiled CSS to MFE JS libs, etc where its needed, during webpack build process, standalone files in MFE as fallbacks in case CDN URLS fail Whenever you build a new version in the alpha release, it will generate a paragon theme Json file The benefit is that in frontend build, the file can be read where they are coming, and export them as standalone files that can be looked at “Toggle theme” demonstration would show how dark variant can be defined and rendered What needs to be defined to enable the dark mode them switch?
|