1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +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

@@ -88,6 +88,7 @@ $mfaTypes: 0, 2, 3, 4, 6;
$lightDangerHover: #c43421;
$lightInputColor: #465057;
$lightInputPlaceholderColor: #b6b8b8;
$lightCodeColor: #c01176;
// Dark
@@ -107,6 +108,7 @@ $darkDarkBlue1: #2f343d;
$darkDarkBlue2: #1f242e;
$darkInputColor: $white;
$darkInputPlaceholderColor: $darkGrey1;
$darkCodeColor: #f08dc7;
$themes: (
light: (
@@ -167,7 +169,7 @@ $themes: (
calloutBackground: #fafafa,
calloutColor: #212529,
cdkDraggingBackground: $white,
codeColor: #e83e8c,
codeColor: $lightCodeColor,
dropdownBackground: $white,
dropdownHover: rgba(0, 0, 0, 0.06),
dropdownTextColor: $body-color,
@@ -276,7 +278,7 @@ $themes: (
calloutBackground: $darkBlue2,
calloutColor: $white,
cdkDraggingBackground: $darkDarkBlue1,
codeColor: #e83e8c,
codeColor: $darkCodeColor,
dropdownBackground: $darkDarkBlue1,
dropdownHover: rgba(255, 255, 255, 0.03),
dropdownTextColor: $white,