1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

[PM-1509] Accessibility for <code> elements (#5686)

* change code color to meet accessibility requirements

* updates to desktop and web

* adjust colors for desktop, web, and browser

* update color values

* switch nord color to use same as Tailwind theme

* align variable names
This commit is contained in:
rr-bw
2023-09-01 13:18:20 -07:00
committed by GitHub
parent 326b24e655
commit bf7aa6473e
3 changed files with 17 additions and 9 deletions

View File

@@ -41,7 +41,9 @@ $button-color: lighten($text-color, 40%);
$button-color-primary: darken($brand-primary, 8%);
$button-color-danger: darken($brand-danger, 10%);
$code-color: #e83e8c;
$code-color: #c01176;
$code-color-dark: #f08dc7;
$code-color-nord: #dbb1d5;
$themes: (
light: (
@@ -158,7 +160,7 @@ $themes: (
accountSwitcherTextColor: #ffffff,
svgSuffix: "-dark.svg",
hrColor: #bac0ce,
codeColor: $code-color,
codeColor: $code-color-dark,
),
nord: (
textColor: $nord5,
@@ -216,7 +218,7 @@ $themes: (
accountSwitcherTextColor: $nord5,
svgSuffix: "-dark.svg",
hrColor: $nord4,
codeColor: $code-color,
codeColor: $code-color-nord,
),
);