Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions special-pages/pages/release-notes/app/components/App.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,42 @@ body {
}

.main {
/* Release Notes accent palette (this page only): links use
accent-text-primary; buttons use accent-primary + accent-content-primary. */
--theme-accent-primary: #1074cc;
--theme-accent-secondary: #045eb2;
--theme-accent-tertiary: #034180;
--theme-accent-content-primary: #ffffff;
--theme-accent-text-primary: #1074cc;

padding: var(--sp-6) var(--sp-5);
position: relative;
display: grid;
gap: var(--sp-8);
}

.main[data-theme="dark"] {
--theme-accent-primary: #75b6eb;
--theme-accent-secondary: #4397e0;
--theme-accent-tertiary: #1074cc;
--theme-accent-content-primary: #242323;
--theme-accent-text-primary: #75b6eb;
}

/* Pill radius + recolor accentBrand buttons to the palette above.
`button[class]` (0-4-1) beats the shared dark-mode --button-text override
(0-4-0), which would otherwise win over a plain 0-3-1 selector. */
[data-platform-name="macos"] .main[data-theme] button[class] {
border-radius: var(--border-radius-full);

--button-text: var(--theme-accent-content-primary);
--button-text--active: var(--theme-accent-content-primary);
--button-bg: var(--theme-accent-primary);
--button-bg--hover: var(--theme-accent-secondary);
--button-bg--focus: var(--theme-accent-primary);
--button-bg--active: var(--theme-accent-tertiary);
}

.header {
max-width: var(--sp-320);
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
border-bottom: 1px solid transparent;
width: fit-content;
text-decoration: none;
color: var(--theme-accent-text-primary);

&:hover {
border-bottom-color: currentColor;
Expand Down
1 change: 1 addition & 0 deletions special-pages/shared/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
--border-radius-md: 8px;
--border-radius-sm: 6px;
--border-radius-xs: 4px;
--border-radius-full: 999px;

@media (prefers-color-scheme: dark) {
--theme-background-color: var(--color-gray-95);
Expand Down
Loading