mirror of
https://github.com/Patiun/com.gregkilmer.www.git
synced 2026-11-08 04:08:24 +00:00
Add light mode that follows the device setting
Dark stays the default. A device set to light gets the picks from the light motif board: the Dawn chart sky (dawn wash over faint star chart lines, atlas marks in the hero), deep gold line seals, Midnight, violet and gold dust, the deep gold to teal filament and the morning sky placeholder. Large standalone seals (404, Inquiries, Inquiry sent, the blog's lead) are gold foil in both modes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012aSbo2D1qP8cMFQCykf7kx
This commit is contained in:
@@ -39,7 +39,20 @@
|
||||
.gk-pri:hover {
|
||||
background: var(--gk-teal-bright);
|
||||
color: var(--gk-sky);
|
||||
box-shadow: 0 0 0 4px rgba(43, 194, 183, 0.16);
|
||||
box-shadow: 0 0 0 4px rgba(var(--gk-teal-rgb), 0.16);
|
||||
}
|
||||
/* On Starlight the deep teal carries white text (5.8:1); the lighter teal is too faint. */
|
||||
@media (prefers-color-scheme: light) {
|
||||
.gk-pri,
|
||||
.gk-pri:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.gk-pri {
|
||||
background: var(--gk-teal-bright);
|
||||
}
|
||||
.gk-pri:hover {
|
||||
background: #085e58;
|
||||
}
|
||||
}
|
||||
.gk-sec {
|
||||
background: transparent;
|
||||
@@ -92,7 +105,7 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
.gk-pill.live {
|
||||
border-color: rgba(43, 194, 183, 0.6);
|
||||
border-color: rgba(var(--gk-teal-rgb), 0.6);
|
||||
color: var(--gk-teal-bright);
|
||||
}
|
||||
.gk-pill.live::before {
|
||||
@@ -102,11 +115,11 @@
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--gk-teal-bright);
|
||||
box-shadow: 0 0 6px rgba(43, 194, 183, 0.8);
|
||||
box-shadow: 0 0 6px rgba(var(--gk-teal-rgb), 0.8);
|
||||
}
|
||||
/* A state that is not happening now keeps the round pill without the lit dot. */
|
||||
.gk-pill.state {
|
||||
border-color: rgba(43, 194, 183, 0.6);
|
||||
border-color: rgba(var(--gk-teal-rgb), 0.6);
|
||||
color: var(--gk-teal-bright);
|
||||
}
|
||||
.gk-pill.cur {
|
||||
@@ -128,7 +141,7 @@
|
||||
transition: border-color var(--gk-ease), color var(--gk-ease);
|
||||
}
|
||||
.gk-chip.core {
|
||||
border-color: rgba(43, 194, 183, 0.55);
|
||||
border-color: rgba(var(--gk-teal-rgb), 0.55);
|
||||
color: var(--gk-text);
|
||||
}
|
||||
a.gk-chip:hover {
|
||||
@@ -206,7 +219,7 @@ a.gk-chip:hover {
|
||||
padding: 12px 16px;
|
||||
border-left: 2px solid var(--gk-gold);
|
||||
border-radius: 0 var(--gk-radius) var(--gk-radius) 0;
|
||||
background: rgba(201, 162, 74, 0.08);
|
||||
background: rgba(var(--gk-gold-rgb), 0.08);
|
||||
color: var(--gk-text);
|
||||
font-size: 13px;
|
||||
}
|
||||
@@ -262,7 +275,7 @@ textarea.gk-field {
|
||||
background-size: 92% 2px;
|
||||
}
|
||||
.gk-field[aria-invalid="true"] {
|
||||
border-color: #f0857a;
|
||||
border-color: var(--gk-danger);
|
||||
}
|
||||
.gk-search {
|
||||
display: flex;
|
||||
@@ -324,7 +337,7 @@ textarea.gk-field {
|
||||
}
|
||||
a.gk-card:hover,
|
||||
.gk-card.gk-linked:hover {
|
||||
border-color: rgba(201, 162, 74, 0.55);
|
||||
border-color: rgba(var(--gk-gold-rgb), 0.55);
|
||||
}
|
||||
a.gk-card:hover::before,
|
||||
.gk-card.gk-linked:hover::before {
|
||||
@@ -332,7 +345,7 @@ a.gk-card:hover::before,
|
||||
}
|
||||
.gk-featured {
|
||||
position: relative;
|
||||
border: 1px solid rgba(201, 162, 74, 0.55);
|
||||
border: 1px solid rgba(var(--gk-gold-rgb), 0.55);
|
||||
border-radius: var(--gk-radius);
|
||||
background: var(--gk-midnight);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user