mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 00:12:16 +02:00
revert package lock changes, address CSS feedback on typography, color and grid
This commit is contained in:
parent
5dd2fbaeda
commit
4296352f0f
2 changed files with 28 additions and 29 deletions
18
src/package-lock.json
generated
18
src/package-lock.json
generated
|
@ -1072,9 +1072,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001517",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz",
|
||||
"integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==",
|
||||
"version": "1.0.30001450",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz",
|
||||
"integrity": "sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
@ -1084,10 +1084,6 @@
|
|||
{
|
||||
"type": "tidelift",
|
||||
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
||||
},
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -7794,9 +7790,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001517",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz",
|
||||
"integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==",
|
||||
"version": "1.0.30001450",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz",
|
||||
"integrity": "sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew==",
|
||||
"dev": true
|
||||
},
|
||||
"check-types": {
|
||||
|
@ -12361,4 +12357,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,8 +2,8 @@
|
|||
@use "uswds-core" as *;
|
||||
|
||||
// We'll use Django's CSS vars: https://docs.djangoproject.com/en/4.2/ref/contrib/admin/#theming-support
|
||||
// and assign Uswds theme vars whenever possible
|
||||
// If needed (see below), we'll use the Uswds hex value
|
||||
// and assign USWDS theme vars whenever possible
|
||||
// If needed (see below), we'll use the USWDS hex value
|
||||
// As a last resort, we'll use CISA colors to supplement the palette
|
||||
:root {
|
||||
--primary: #{$theme-color-primary};
|
||||
|
@ -11,7 +11,7 @@
|
|||
--accent: #{$theme-color-accent-cool};
|
||||
// --primary-fg: #fff;
|
||||
|
||||
// Uswds theme vars that are set to a token, such as #{$theme-color-base-darker}
|
||||
// USWDS theme vars that are set to a token, such as #{$theme-color-base-darker}
|
||||
// would interpolate to 'gray-cool-70' and output invalid CSS, so we use the hex
|
||||
// source value instead: https://designsystem.digital.gov/design-tokens/color/system-tokens/
|
||||
--body-fg: #3d4551;
|
||||
|
@ -24,7 +24,7 @@
|
|||
// --header-bg: var(--secondary);
|
||||
// --header-link-color: var(--primary-fg);
|
||||
|
||||
--breadcrumbs-fg: #{$theme-color-accent-cool-lighter};
|
||||
--breadcrumbs-fg: #{$theme-color-accent-cool-lightest};
|
||||
// --breadcrumbs-link-fg: var(--body-bg);
|
||||
--breadcrumbs-bg: #{$theme-color-primary-dark};
|
||||
|
||||
|
@ -64,19 +64,6 @@
|
|||
// --object-tools-fg: var(--button-fg);
|
||||
// --object-tools-bg: var(--close-button-bg);
|
||||
// --object-tools-hover-bg: var(--close-button-hover-bg);
|
||||
|
||||
--font-family-primary:
|
||||
"Public Sans Pro Web",
|
||||
"Segoe UI",
|
||||
system-ui,
|
||||
Roboto,
|
||||
"Helvetica Neue",
|
||||
Arial,
|
||||
sans-serif,
|
||||
"Apple Color Emoji",
|
||||
"Segoe UI Emoji",
|
||||
"Segoe UI Symbol",
|
||||
"Noto Color Emoji";
|
||||
}
|
||||
|
||||
// Fold dark theme settings into our main CSS
|
||||
|
@ -116,7 +103,9 @@
|
|||
--close-button-hover-bg: #666666;
|
||||
}
|
||||
|
||||
// Fix dark mode bug
|
||||
// Fix dark mode bug
|
||||
// The structure of our CSS messes with the cascade and causes some body copy in tables
|
||||
//to have light mode colors in dark mode, resulting in a severe contrast issue.
|
||||
body {
|
||||
color: var(--body-fg)!important;
|
||||
}
|
||||
|
@ -126,6 +115,20 @@
|
|||
color: var(--primary-fg);
|
||||
}
|
||||
|
||||
#branding h1,
|
||||
h1, h2, h3 {
|
||||
font-weight: font-weight('bold');
|
||||
}
|
||||
|
||||
table > caption > a {
|
||||
font-weight: font-weight('bold');
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
#nav-sidebar {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
// 'Delete button' layout bug
|
||||
.submit-row a.deletelink {
|
||||
height: auto!important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue