Skip to content

Commit 8abb095

Browse files
committed
build(daffio): remove dist/design includePath
1 parent 23c827c commit 8abb095

3 files changed

Lines changed: 12 additions & 13 deletions

File tree

angular.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@
251251
"stylePreprocessorOptions": {
252252
"includePaths": [
253253
"apps/daffio/src/scss",
254-
"dist/design/scss",
255254
"dist/docs/src/scss"
256255
]
257256
},
@@ -366,7 +365,6 @@
366365
"stylePreprocessorOptions": {
367366
"includePaths": [
368367
"apps/daffio/src/scss",
369-
"dist/design/scss",
370368
"dist/docs/src/scss"
371369
]
372370
},

apps/daffio/src/app/docs/components/table-of-contents/table-of-contents.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'typography' as t;
1+
@use '@daffodil/design/scss/typography' as t;
22

33
// stylelint-disable selector-class-pattern
44
:host {

apps/daffio/src/scss/styles.scss

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// DO NOT IMPORT THIS FILE ANYWHERE ELSE
22

33
@use 'sass:meta';
4-
@use 'global';
5-
@use 'theme' as daff-theme;
4+
@use '@daffodil/design/scss/global';
5+
@use '@daffodil/design/scss/theme' as daff-theme;
66
@use './component-themes' as daffio-components;
7+
@use '@daffodil/design/scss/theming/default' as daff-default-theme;
78

89
// @daffodil/branding
910
@use '@daffodil/branding/scss/component-themes' as branding;
@@ -17,10 +18,10 @@
1718

1819
@include meta.load-css('highlight.js/scss/a11y-light');
1920

20-
@include branding.daff-branding-theme(daff-theme.$theme);
21-
@include daff-theme.daff-component-themes(daff-theme.$theme);
22-
@include daffio-components.component-themes(daff-theme.$theme);
23-
@include docs.daff-docs-component-themes(daff-theme.$theme);
21+
@include branding.daff-branding-theme(daff-default-theme.$theme);
22+
@include daff-theme.daff-component-themes(daff-default-theme.$theme);
23+
@include daffio-components.component-themes(daff-default-theme.$theme);
24+
@include docs.daff-docs-component-themes(daff-default-theme.$theme);
2425
}
2526

2627
.daff-theme-dark {
@@ -29,10 +30,10 @@
2930

3031
@include meta.load-css('highlight.js/scss/a11y-dark');
3132

32-
@include branding.daff-branding-theme(daff-theme.$theme-dark);
33-
@include daff-theme.daff-component-themes(daff-theme.$theme-dark);
34-
@include daffio-components.component-themes(daff-theme.$theme-dark);
35-
@include docs.daff-docs-component-themes(daff-theme.$theme-dark);
33+
@include branding.daff-branding-theme(daff-default-theme.$theme-dark);
34+
@include daff-theme.daff-component-themes(daff-default-theme.$theme-dark);
35+
@include daffio-components.component-themes(daff-default-theme.$theme-dark);
36+
@include docs.daff-docs-component-themes(daff-default-theme.$theme-dark);
3637
}
3738

3839
body {

0 commit comments

Comments
 (0)