-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-Added light & dark colorblind themes (#1601)
* Added light & dark colorblind themes * Changeset * Create afraid-pugs-whisper.md * Updating primitives version * Removing extra space * Remove extra changeset * Add themes Co-authored-by: Julius Yanik <[email protected]> Co-authored-by: simurai <[email protected]>
- Loading branch information
1 parent
13de16c
commit 410c1d6
Showing
6 changed files
with
26 additions
and
5 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,5 @@ | ||
--- | ||
"@primer/css": minor | ||
--- | ||
|
||
Add light & dark colorblind themes |
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,7 +1,9 @@ | ||
// All themes | ||
|
||
@import "./themes/light.scss"; | ||
@import "./themes/light_protanopia.scss"; | ||
@import "./themes/dark.scss"; | ||
@import "./themes/dark_dimmed.scss"; | ||
@import "./themes/dark_high_contrast.scss"; | ||
@import "./themes/dark_protanopia.scss"; | ||
@import "./native.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import "../../support/index.scss"; | ||
|
||
@import "@primer/primitives/dist/scss/colors/_dark_protanopia.scss"; | ||
|
||
@include color-mode-theme(dark_protanopia) { | ||
@include primer-colors-dark_protanopia; | ||
} |
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 @@ | ||
@import "../../support/index.scss"; | ||
|
||
@import "@primer/primitives/dist/scss/colors/_light_protanopia.scss"; | ||
|
||
@include color-mode-theme(light_protanopia) { | ||
@include primer-colors-light_protanopia; | ||
} |
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