@design-system-rte/angular
v4.8.0
Published
Angular components for the Design System RTE
Readme
Installation
Install the Angular package and its core peer dependency:
npm install @design-system-rte/angular @design-system-rte/coreSee the root README and compatibility matrix for version requirements.
Setup
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-rte/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"> <app-root/> </body>data-themeis required on each themed scope. Whendata-modeis omitted, the mode is inherited from an ancestor carryingdata-mode. If no ancestor defines a mode,lightis used as the default.Use Components:
Implement the different components as documented on Zeroheight.
