mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-40269 Add storybook v10 (#11401)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
@use '@angular/material' as mat;
|
||||
@use 'material-icons/iconfont/material-icons.css' as *;
|
||||
|
||||
html {
|
||||
color-scheme: light dark;
|
||||
$font-family: 'Nunito Sans', sans-serif;
|
||||
|
||||
font-family: $font-family;
|
||||
|
||||
@include mat.theme(
|
||||
(
|
||||
color: mat.$yellow-palette,
|
||||
typography: $font-family,
|
||||
density: 0
|
||||
)
|
||||
);
|
||||
|
||||
&.adf-storybook-light-theme {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
&.adf-storybook-dark-theme {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--mat-sys-surface);
|
||||
color: var(--mat-sys-on-surface);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user