-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(design-land): update theming and utilities module implementation (…
- Loading branch information
Showing
10 changed files
with
45 additions
and
72 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
apps/design-land/src/app/core/code-preview/component/code-preview-theme.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
apps/design-land/src/app/core/code-preview/component/code-preview.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
@import 'utilities'; | ||
|
||
:host { | ||
display: block; | ||
margin: 20px 0; | ||
|
12 changes: 6 additions & 6 deletions
12
apps/design-land/src/app/foundations/color/color-theme.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +0,0 @@ | ||
@import 'utilities'; | ||
@import 'theme'; | ||
|
||
.variables { | ||
&__custom { | ||
background: var(--daff-theme-primary); | ||
} | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
@use 'sass:map'; | ||
@use 'dl-theme'; | ||
@use 'theme' as daff-theme; | ||
|
||
@mixin typography-theme($theme) { | ||
$gray: dl-theme.daff-map-deep-get($theme, 'core.gray'); | ||
$gray: daff-theme.daff-map-deep-get($theme, 'core.gray'); | ||
|
||
.dl-typography { | ||
&__typescale-card { | ||
border: 1px solid dl-theme.daff-color($gray, 20); | ||
border: 1px solid daff-theme.daff-color($gray, 20); | ||
} | ||
|
||
&__desktop-subheading, | ||
&__mobile-subheading { | ||
color: dl-theme.daff-color($gray); | ||
color: daff-theme.daff-color($gray); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.