Reference site: follow main's block and token fixes
- entryList entryCollection, post template hero with the title, legal templates noindex (drop the reference's own workarounds) - brand primary-inverse roles: 74/74 contrast pairs - /design shows Light and Dark panels (tokens switch on any element) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
353e65e7bd
commit
e43198b2fe
@@ -4,22 +4,29 @@
|
||||
*/
|
||||
|
||||
:root {
|
||||
--ipal-bg: oklch(0.985 0.006 85);
|
||||
--ipal-primary: oklch(0.47 0.09 160);
|
||||
--ipal-surface-muted: oklch(0.955 0.012 85);
|
||||
--ipal-accent: oklch(0.55 0.13 50);
|
||||
--ipal-link-inverse: oklch(0.82 0.08 160);
|
||||
--ipal-fw-heading: 600;
|
||||
--ipal-radius: 0.25rem;
|
||||
--ipal-radius-card: 0.25rem;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] {
|
||||
:root, [data-theme="light"] {
|
||||
--ipal-bg: oklch(0.985 0.006 85);
|
||||
--ipal-primary: oklch(0.47 0.09 160);
|
||||
--ipal-surface-muted: oklch(0.955 0.012 85);
|
||||
--ipal-accent: oklch(0.55 0.13 50);
|
||||
--ipal-link-inverse: oklch(0.82 0.08 160);
|
||||
--ipal-primary-inverse: oklch(0.74 0.09 160);
|
||||
--ipal-primary-inverse-text: oklch(0.18 0.02 160);
|
||||
}
|
||||
|
||||
:root[data-theme="dark"], [data-theme="dark"] {
|
||||
--ipal-bg: oklch(0.2 0.01 160);
|
||||
--ipal-primary: oklch(0.74 0.09 160);
|
||||
--ipal-surface-muted: oklch(0.25 0.012 160);
|
||||
--ipal-accent: oklch(0.76 0.12 55);
|
||||
--ipal-accent-text: oklch(0.18 0.02 55);
|
||||
--ipal-link-inverse: oklch(0.42 0.09 160);
|
||||
--ipal-primary-inverse: oklch(0.47 0.09 160);
|
||||
--ipal-primary-inverse-text: oklch(0.99 0 0);
|
||||
--ipal-primary-text: oklch(0.18 0.02 160);
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@ export const tokens = defineTokens({
|
||||
primary: 'oklch(0.47 0.09 160)', // deep sage green — the studio's brand colour (DESIGN.md §2)
|
||||
accent: 'oklch(0.55 0.13 50)', // terracotta, for highlights only
|
||||
'link-inverse': 'oklch(0.82 0.08 160)', // links and accents on inverted sections
|
||||
'primary-inverse': 'oklch(0.74 0.09 160)', // buttons on inverted (dark) sections
|
||||
'primary-inverse-text': 'oklch(0.18 0.02 160)',
|
||||
bg: 'oklch(0.985 0.006 85)', // warm paper white
|
||||
'surface-muted': 'oklch(0.955 0.012 85)',
|
||||
},
|
||||
@@ -20,6 +22,8 @@ export const tokens = defineTokens({
|
||||
accent: 'oklch(0.76 0.12 55)',
|
||||
'accent-text': 'oklch(0.18 0.02 55)',
|
||||
'link-inverse': 'oklch(0.42 0.09 160)',
|
||||
'primary-inverse': 'oklch(0.47 0.09 160)', // inverted sections are light in dark mode
|
||||
'primary-inverse-text': 'oklch(0.99 0 0)',
|
||||
bg: 'oklch(0.2 0.01 160)',
|
||||
'surface-muted': 'oklch(0.25 0.012 160)',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user