diff --git a/projects/demo/project.json b/projects/demo/project.json index b8ef0c5dddd8..f98fd7084f51 100644 --- a/projects/demo/project.json +++ b/projects/demo/project.json @@ -46,9 +46,9 @@ ], "baseHref": "./", "styles": [ - "projects/demo/src/normalize.less", - "projects/demo/src/styles.less", - "projects/demo/src/styles.scss" + "projects/demo/src/styles/normalize.less", + "projects/demo/src/styles/styles.less", + "projects/demo/src/styles/styles.scss" ], "scripts": [], "allowedCommonJsDependencies": ["markdown-it"], diff --git a/projects/demo/src/styles.less b/projects/demo/src/styles/doc-global.style.less similarity index 61% rename from projects/demo/src/styles.less rename to projects/demo/src/styles/doc-global.style.less index ac7313704361..ff8253a606be 100644 --- a/projects/demo/src/styles.less +++ b/projects/demo/src/styles/doc-global.style.less @@ -1,9 +1,6 @@ @import '@taiga-ui/core/styles/taiga-ui-local.less'; -@import '@taiga-ui/core/styles/taiga-ui-theme.less'; -@import '@taiga-ui/core/styles/taiga-ui-fonts.less'; -@import '@taiga-ui/addon-mobile/styles/taiga-ui-mobile.less'; -@import '@taiga-ui/styles/taiga-ui-global.less'; +/* Reuse for proprietary demo */ html, body { .scroll-behavior(); diff --git a/projects/demo/src/normalize.less b/projects/demo/src/styles/normalize.less similarity index 100% rename from projects/demo/src/normalize.less rename to projects/demo/src/styles/normalize.less diff --git a/projects/demo/src/styles/styles.less b/projects/demo/src/styles/styles.less new file mode 100644 index 000000000000..e6674e99164a --- /dev/null +++ b/projects/demo/src/styles/styles.less @@ -0,0 +1,6 @@ +@import '@taiga-ui/core/styles/taiga-ui-local.less'; +@import '@taiga-ui/core/styles/taiga-ui-theme.less'; +@import '@taiga-ui/core/styles/taiga-ui-fonts.less'; +@import '@taiga-ui/addon-mobile/styles/taiga-ui-mobile.less'; +@import '@taiga-ui/styles/taiga-ui-global.less'; +@import './doc-global.style'; diff --git a/projects/demo/src/styles.scss b/projects/demo/src/styles/styles.scss similarity index 100% rename from projects/demo/src/styles.scss rename to projects/demo/src/styles/styles.scss