diff --git a/.changeset/red-lions-help.md b/.changeset/red-lions-help.md new file mode 100644 index 0000000000..eec479de63 --- /dev/null +++ b/.changeset/red-lions-help.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Rename protanopia themes to colorblind. diff --git a/src/color-modes/index.scss b/src/color-modes/index.scss index 31605602c9..fe4c9d52d3 100644 --- a/src/color-modes/index.scss +++ b/src/color-modes/index.scss @@ -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"; diff --git a/src/color-modes/themes/dark_protanopia.scss b/src/color-modes/themes/dark_colorblind.scss similarity index 77% rename from src/color-modes/themes/dark_protanopia.scss rename to src/color-modes/themes/dark_colorblind.scss index 41d722ba48..5aecc4b8b0 100644 --- a/src/color-modes/themes/dark_protanopia.scss +++ b/src/color-modes/themes/dark_colorblind.scss @@ -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; } diff --git a/src/color-modes/themes/light_protanopia.scss b/src/color-modes/themes/light_colorblind.scss similarity index 76% rename from src/color-modes/themes/light_protanopia.scss rename to src/color-modes/themes/light_colorblind.scss index 0e827b96a7..608813ddae 100644 --- a/src/color-modes/themes/light_protanopia.scss +++ b/src/color-modes/themes/light_colorblind.scss @@ -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; }