@design-system-rte/react
v1.2.0
Published
1. **Add Design System base styles:** ```tsx import "@design-system-rte/react/style.css";
Keywords
Readme
Installation Instructions
Add Design System base styles:
import "@design-system-rte/react/style.css"; createRoot(document.getElementById("root")!).render( <StrictMode> <App /> </StrictMode>, );Add Branding/Theme Mixin:
Include the branding/theme mixin in your main
.scssfile. This will create a style scope for the components. (If you don't have scss support, you can use the .css files in@design-system/core/css/rte-themes.cssand add them to your main styles file).@use "@design-system-rte/core/design-tokens/tokens/mixins" as *; @include theme-selector('bleu_iceberg', 'light');Add HTML Selector:
Add an HTML selector to define the context for applying component styles.
<body data-theme="bleu_iceberg" data-mode="light"> ... </body>Use Components:
Implement the different components as documented in the Storybook provided with the library.
