Revert "fix(contrast-theme): fixed failing WCAG-AAA checks"

This commit is contained in:
Cassie Tarakajian 2020-04-08 16:08:57 -04:00 committed by GitHub
parent 2aac7410d8
commit d4d8ba9271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 25 deletions

View File

@ -12,7 +12,6 @@ $dodgerblue: #1E90FF;
$icon-color: #8b8b8b;
$icon-hover-color: #333;
$p5-contrast-pink: #FFA9D9;
$p5-contrast-lightgray: #f0f0f0;
// Grays
$dark: #333;
@ -187,29 +186,29 @@ $themes: (
modal-button-color: #333,
heading-text-color: #e1e1e1,
secondary-text-color: #e1e1e1,
inactive-text-color: $p5-contrast-lightgray,
inactive-text-color: #c1c1c1,
background-color: #333,
button-background-color: $white,
button-color: $black,
button-border-color: #979797,
toolbar-button-color: #333333,
toolbar-button-background-color: $p5-contrast-lightgray,
toolbar-button-background-color: #C1C1C1,
button-background-hover-color: $yellow,
button-background-active-color: $yellow,
button-nav-inactive-color: #a0a0a0,
button-hover-color: #333333,
button-active-color: #333333,
modal-background-color: #444,
modal-button-background-color: $p5-contrast-lightgray,
modal-button-background-color: #C1C1C1,
modal-border-color: #949494,
icon-color: #d9d9d9,
icon-color: #a9a9a9,
icon-hover-color: $yellow,
icon-toast-hover-color: $yellow,
shadow-color: rgba(0, 0, 0, 0.16),
console-background-color: #4f4f4f,
console-color: $black,
console-header-background-color: #3f3f3f,
console-header-color: #d9d9d9,
console-header-color: #b5b5b5,
console-info-background-color: $lightsteelblue,
console-warn-background-color: $orange,
console-debug-background-color: $dodgerblue,
@ -236,7 +235,7 @@ $themes: (
primary-button-background-color: $p5js-pink,
table-button-color: #333,
table-button-background-color: $p5-contrast-lightgray,
table-button-background-color: #C1C1C1,
table-button-active-color: #333,
table-button-background-active-color: #00FFFF,
table-button-hover-color: #333,

View File

@ -14,7 +14,7 @@ $p5-contrast-black: #333;
$p5-contrast-gray: #A0A0A0;
$p5-contrast-white: #FDFDFD;
$p5-contrast-darkgray: #333333;
$p5-contrast-lightgray: #f2f2f2;
$p5-contrast-lightgray: #C1C1C1;
$p5-contrast-blue: #00FFFF;
$p5-contrast-green: #2DE9B6;
$p5-contrast-yellow: #F5DC23;
@ -31,47 +31,47 @@ $p5-contrast-activeline: #999999;
color: $p5-contrast-white;
}
.cm-s-p5-contrast span .cm-comment {
.cm-s-p5-contrast .cm-comment {
color: $p5-contrast-lightgray;
}
.cm-s-p5-contrast span .cm-def {
.cm-s-p5-contrast .cm-def {
color: $p5-contrast-blue;
}
.cm-s-p5-contrast span .cm-string {
.cm-s-p5-contrast .cm-string {
color: $p5-contrast-green;
}
.cm-s-p5-contrast span .cm-string-2 {
.cm-s-p5-contrast .cm-string-2 {
color: $p5-contrast-green;
}
.cm-s-p5-contrast span .cm-number {
.cm-s-p5-contrast .cm-number {
color: $p5-contrast-pink;
}
.cm-s-p5-contrast span .cm-keyword {
.cm-s-p5-contrast .cm-keyword {
color: $p5-contrast-yellow;
}
.cm-s-p5-contrast span .cm-variable {
.cm-s-p5-contrast .cm-variable {
color: $p5-contrast-white;
}
.cm-s-p5-contrast span .cm-variable-2 {
.cm-s-p5-contrast .cm-variable-2 {
color: $p5-contrast-white;
}
.cm-s-p5-contrast span .cm-property {
.cm-s-p5-contrast .cm-property {
color: $p5-contrast-white;
}
.cm-s-p5-contrast span .cm-atom {
.cm-s-p5-contrast .cm-atom {
color: $p5-contrast-pink;
}
.cm-s-p5-contrast span .cm-operator {
.cm-s-p5-contrast .cm-operator {
color: $p5-contrast-lightgray;
}
@ -79,7 +79,7 @@ $p5-contrast-activeline: #999999;
color: $p5-contrast-number;
}
.cm-s-p5-contrast div .CodeMirror-selected {
.cm-s-p5-contrast .CodeMirror-selected {
background-color: $p5-contrast-selected;
}
@ -96,25 +96,25 @@ $p5-contrast-activeline: #999999;
color: #f00;
}
.cm-s-p5-contrast span.CodeMirror-matchingbracket {
.cm-s-p5-contrast .CodeMirror-matchingbracket {
outline: 1px solid $p5-contrast-lightgray;
outline-offset: 1px;
color: $p5-contrast-white !important;
}
.cm-s-p5-contrast span .cm-qualifier {
.cm-s-p5-contrast .cm-qualifier {
color: $p5-contrast-yellow;
}
.cm-s-p5-contrast span .cm-tag {
.cm-s-p5-contrast .cm-tag {
color: $p5-contrast-orange;
}
.cm-s-p5-contrast span.cm-builtin {
.cm-s-p5-contrast .cm-builtin {
color: $p5-contrast-yellow;
}
.cm-s-p5-contrast span .cm-attribute {
.cm-s-p5-contrast .cm-attribute {
color: $p5-contrast-white;
}