Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@
"includePaths": [
"apps/daffio/src/scss",
"dist/design/scss",
"dist/branding/src/scss",
"dist/docs/src/scss"
]
},
Expand Down Expand Up @@ -368,7 +367,6 @@
"includePaths": [
"apps/daffio/src/scss",
"dist/design/scss",
"dist/branding/src/scss",
"dist/docs/src/scss"
]
},
Expand Down
2 changes: 1 addition & 1 deletion apps/daffio/src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@use './component-themes' as daffio-components;

// @daffodil/branding
@use 'daff-branding-theme' as branding;
@use '@daffodil/branding/scss/component-themes' as branding;

// @daffodil/docs
@use 'daff-docs-theme' as docs;
Expand Down
12 changes: 10 additions & 2 deletions libs/branding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,13 @@
"devDependencies": {
"@daffodil/design": "0.0.0-PLACEHOLDER"
},
"description": "Reusable branding components including copyright, logos, and theming assets. Part of the Daffodil ecommerce framework."
}
"description": "Reusable branding components including copyright, logos, and theming assets. Part of the Daffodil ecommerce framework.",
"exports": {
"./scss/theme": {
"sass": "./scss/theme.scss"
},
"./scss/component-themes": {
"sass": "./scss/component-themes.scss"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '../lib/logo/logo-theme' as logo;
@use '../src/lib/logo/logo-theme' as logo;

@mixin daff-branding-theme($theme) {
@include logo.daff-logo-theme($theme);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use 'theme' as daff-theme;
@forward 'theme';
@use '@daffodil/design/scss/theme' as daff-theme;

$primary: daff-theme.daff-configure-palette(daff-theme.$daff-blue, 60);
$secondary: daff-theme.daff-configure-palette(daff-theme.$daff-purple, 60);
Expand Down
3 changes: 1 addition & 2 deletions libs/branding/src/lib/logo/logo-theme.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use '../../scss/branding-theme';
@use 'theme' as daff-theme;
@use '@daffodil/design/scss/theme' as daff-theme;

@mixin daff-logo-theme($theme) {
$neutral: daff-theme.daff-get-palette($theme, neutral);
Expand Down
Loading