-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR add style indexes for Cargo internal and external and allows to use them in the documentation.
- Loading branch information
1 parent
bcbd698
commit 3a1aa74
Showing
10 changed files
with
56 additions
and
17 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@swisspost/design-system-styles': minor | ||
'@swisspost/design-system-documentation': minor | ||
--- | ||
|
||
Addes Cargo theme styles. |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@use './tokens/schemes'; | ||
@use './tokens/device'; | ||
@use './tokens/external'; | ||
@use './tokens/cargo-theme'; | ||
@use './utilities'; | ||
@use './elements'; | ||
@use './components'; |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@use './tokens/schemes'; | ||
@use './tokens/device'; | ||
@use './tokens/internal'; | ||
@use './tokens/cargo-theme'; | ||
@use './utilities'; | ||
@use './elements'; | ||
@use './components'; |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@use 'sass:meta'; | ||
|
||
@layer design-system { | ||
@include meta.load-css('./tokens/schemes'); | ||
@include meta.load-css('./tokens/device'); | ||
@include meta.load-css('./tokens/external'); | ||
@include meta.load-css('./tokens/cargo-theme'); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@use 'sass:meta'; | ||
|
||
@layer design-system { | ||
@include meta.load-css('./tokens/schemes'); | ||
@include meta.load-css('./tokens/device'); | ||
@include meta.load-css('./tokens/internal'); | ||
@include meta.load-css('./tokens/cargo-theme'); | ||
} |
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,4 +1,7 @@ | ||
@use './post-tokens-external'; | ||
@use './tokens/schemes'; | ||
@use './tokens/device'; | ||
@use './tokens/external'; | ||
@use './tokens/post-theme'; | ||
@use './utilities'; | ||
@use './elements'; | ||
@use './components'; |
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,4 +1,7 @@ | ||
@use './post-tokens-internal'; | ||
@use './tokens/schemes'; | ||
@use './tokens/device'; | ||
@use './tokens/internal'; | ||
@use './tokens/post-theme'; | ||
@use './utilities'; | ||
@use './elements'; | ||
@use './components'; |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@use './temp/theme' as themes; | ||
|
||
@use './core'; | ||
@use './../mixins/tokens'; | ||
|
||
:root { | ||
@include tokens.from(themes.$post-cargo); | ||
} |