Skip to content

Commit f7ac525

Browse files
committedAug 18, 2024
Fully WCAG compliant URL colors
1 parent 8387a0c commit f7ac525

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed
 

‎static/scss/snapcloud.scss

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
/* This sets CSS Variables which override Bootstrap's config. */
22
:root {
3+
// Berkeley Colors are not currently used, but probably in the future.
34
--berkeley-blue-2023: #003262;
45
--berkeley-blue-2024: #002676;
6+
--california-gold: #fdb515;
7+
// Current nav+footer color.
58
--snap-dark-blue: #2d3142;
69
--snap-icon-blue: #496AD5;
710
--snap-logo-gold: #E6AD1B;
8-
--bs-dark: var(--berkeley-blue-2024);
9-
--bs-body-color: var(--snap-dark-blue);
10-
--navbar-height: 64px;
11+
// Links must have a 3:1 ratio against the text color AND 4.5:1 against white.
12+
// The text color must have a 4.5:1 ratio against the white background.
1113
--lighter-link-color: #7070A0;
14+
// This is a dark blue a hybrid of the current Snap! dark, and berkeley dark blues.
15+
--dark-text-color: #102040;
16+
--bs-dark: var(--snap-dark-blue);
17+
--bs-body-color: var(--dark-text-color);
18+
--navbar-height: 64px;
1219
/* this is the minimum I think w/ all 5 columns of links */
1320
--estimated-footer-height: 450px;
1421
}

‎static/style/compiled/snapcloud.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎static/style/compiled/snapcloud.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)