File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 "./scss/global" : {
5858 "sass" : " ./scss/global.scss"
5959 },
60+ "./scss/theme/default" : {
61+ "sass" : " ./scss/theming/default/_index.scss"
62+ },
6063 "./scss/theme" : {
6164 "sass" : " ./scss/theme.scss"
6265 },
Original file line number Diff line number Diff line change 1+ // This file only exists for builds inside the Daffodil monorepo. Consumers of
2+ // the published package never load it.
3+ //
4+ // Externally, `@daffodil/design/scss/theme/default` resolves through the `sass`
5+ // condition of the `exports` map in package.json, which points straight at
6+ // `scss/theming/default/_index.scss`.
7+ //
8+ // Inside the monorepo there is no `node_modules/@daffodil/design`, so the
9+ // specifier instead resolves via the root tsconfig `paths` mapping
10+ // (`@daffodil/*` -> `dist/*`). That mapping bypasses `exports` entirely, leaving
11+ // Angular's Sass importer to fall back to joining the remaining specifier
12+ // segments onto the package root verbatim. `scss/theme/default` therefore has to
13+ // exist as a real file for the monorepo apps to resolve it.
14+
15+ @forward ' ../theming/default' ;
Original file line number Diff line number Diff line change 55@forward ' configure-palette' ;
66@forward ' create-theme/create-theme' ;
77@forward ' light-dark' ;
8- @forward ' daff-theme ' ;
8+ @forward ' ./default/index ' ;
99@forward ' get-palette' ;
1010@forward ' get-base-color' ;
1111@forward ' get-theme-mode' ;
Original file line number Diff line number Diff line change 1- @use ' configure-palette' ;
2- @use ' ./create-theme/create-theme' ;
3- @use ' color-palettes' as palette ;
4- @use ' ../core' ;
1+ @use ' ../ configure-palette' ;
2+ @use ' .. /create-theme/create-theme' ;
3+ @use ' ../ color-palettes' as palette ;
4+ @use ' ../../ core' ;
55
66$primary : configure-palette .daff-configure-palette (palette .$daff-blue , 60 );
77$secondary : configure-palette .daff-configure-palette (palette .$daff-purple , 60 );
Original file line number Diff line number Diff line change 1+ @forward ' daff-theme' ;
You can’t perform that action at this time.
0 commit comments