Skip to content

Commit

Permalink
Fix colour contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
keybraker committed Dec 31, 2024
1 parent a644f08 commit 318f8f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/css/flaggerToggle.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
.flagger-toggle-list.flagger-toggle-list-active,
.flagger-toggle-header.flagger-toggle-header-active,
.flagger-toggle-product.flagger-toggle-product-active {
border: 1px solid var(--custom-light-red, #ff0000) !important;
background-color: #ffcdd2 !important;
color: var(--custom-light-red, #ff0000) !important;
border: 1px solid #ff7482 !important;
background-color: #ff0000 !important;
color: #e9e9e9 !important;
}
10 changes: 8 additions & 2 deletions src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@ header {
box-shadow: 0px 2px 4px #ffffff !important;
}

.dark-mode .sponsored-label,
.dark-mode .flagged-list-title,
.dark-mode .label-text {
background-color: #ff3048 !important;
}

/*************************************************************************************************************/

.display-none {
Expand Down Expand Up @@ -256,9 +262,9 @@ text-black {
.sponsored-label,
.flagged-list-title,
.label-text {
border-radius: 2px !important;
border-radius: 4px !important;
padding: 8px 12px !important;
background-color: #ffdbdf !important;
background-color: #ff94a0 !important;
font-weight: bold !important;
color: var(--custom-light-red) !important;
}
Expand Down

0 comments on commit 318f8f5

Please sign in to comment.