Skip to content

Commit

Permalink
Rename protanopia themes to colorblind (#1659)
Browse files Browse the repository at this point in the history
* Rename protanopia themes to colorblind

* Create red-lions-help.md
  • Loading branch information
jonrohan authored Oct 6, 2021
1 parent 0ed0307 commit d32e42f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-lions-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Rename protanopia themes to colorblind.
4 changes: 2 additions & 2 deletions src/color-modes/index.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// All themes

@import "./themes/light.scss";
@import "./themes/light_protanopia.scss";
@import "./themes/light_colorblind.scss";
@import "./themes/dark.scss";
@import "./themes/dark_dimmed.scss";
@import "./themes/dark_high_contrast.scss";
@import "./themes/dark_protanopia.scss";
@import "./themes/dark_colorblind.scss";
@import "./native.scss";
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

@import "@primer/primitives/dist/scss/colors/_dark_protanopia.scss";

@include color-mode-theme(dark_protanopia) {
@include color-mode-theme(dark_colorblind) {
@include primer-colors-dark_protanopia;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

@import "@primer/primitives/dist/scss/colors/_light_protanopia.scss";

@include color-mode-theme(light_protanopia) {
@include color-mode-theme(light_colorblind) {
@include primer-colors-light_protanopia;
}

0 comments on commit d32e42f

Please sign in to comment.