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
3 changes: 2 additions & 1 deletion .claude/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"-c",
"PATH=/home/john/.nvm/versions/node/v22.15.0/bin:/usr/local/bin:/usr/bin:/bin yarn dev"
],
"port": 3000
"port": 3000,
"autoPort": true
},
{
"name": "prod",
Expand Down
105 changes: 6 additions & 99 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ html.light {
box-shadow: 0 0 0 transparent;
transition: background-color 180ms ease, border-color 180ms ease,
box-shadow 180ms ease, transform 380ms var(--ease-elastic);
will-change: transform;
}

.interactive-card:hover,
Expand All @@ -272,6 +271,7 @@ html.light {
border-color: var(--site-border);
box-shadow: var(--site-card-shadow);
transform: translateY(-4px);
will-change: transform;
}

.interactive-card:focus-within {
Expand Down Expand Up @@ -445,7 +445,6 @@ html.light [data-preference-tone='negative'] {
color-mix(in srgb, var(--site-foreground) 7%, transparent);
transition: background-color 180ms ease, border-color 180ms ease,
color 180ms ease, transform 280ms var(--ease-elastic);
will-change: transform;
}

.about-tag:hover {
Expand All @@ -461,6 +460,7 @@ html.light [data-preference-tone='negative'] {
);
color: var(--site-foreground);
transform: translateY(-2px);
will-change: transform;
}

.about-tag[data-variant='neutral'] {
Expand Down Expand Up @@ -503,13 +503,13 @@ html.light [data-preference-tone='negative'] {
.interactive-row {
transition: background-color 180ms ease, color 180ms ease,
transform 320ms var(--ease-elastic);
will-change: transform;
}

.interactive-row:hover,
.interactive-row:focus-within {
background: var(--site-card-hover);
transform: translateX(3px);
will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
Expand Down Expand Up @@ -555,7 +555,7 @@ body {
line-height: 1.725;
width: 100%;
margin: 0;
text-rendering: geometricPrecision;
text-rendering: optimizeLegibility;
min-height: 100%;
height: 100%;
display: flex;
Expand Down Expand Up @@ -590,22 +590,13 @@ body > * {
z-index: 1;
}

html.light body {
background: var(--site-background);
color: var(--site-foreground);
}

/* Preferences dropdown panel */
.prefs-panel {
background: var(--site-popover);
backdrop-filter: blur(24px) saturate(180%);
-webkit-backdrop-filter: blur(24px) saturate(180%);
}

html.light .prefs-panel {
background: var(--site-popover);
}

/* Navbar — mobile keeps a blurred surface; desktop is transparent until scrolled. */
.navbar {
background: var(--site-navbar);
Expand All @@ -614,20 +605,11 @@ html.light .prefs-panel {
border-bottom: 1px solid transparent;
}

html.light .navbar {
background: var(--site-navbar);
}

.navbar.scrolled {
background: var(--site-navbar-scrolled);
border-bottom-color: var(--site-border-subtle);
}

html.light .navbar.scrolled {
background: var(--site-navbar-scrolled);
border-bottom-color: var(--site-border-subtle);
}

@media (min-width: 768px) {
.navbar {
background: var(--site-navbar-desktop);
Expand All @@ -642,11 +624,6 @@ html.light .navbar.scrolled {
-webkit-backdrop-filter: blur(64px) saturate(220%);
border-bottom-color: var(--site-border-subtle);
}

html.light .navbar.scrolled {
background: var(--site-navbar-scrolled);
border-bottom-color: var(--site-border-subtle);
}
}

/* Dark theme. */
Expand Down Expand Up @@ -709,10 +686,6 @@ article h2::before {
);
}

html.light article h2 {
color: var(--site-foreground);
}

article h3 {
position: relative;
margin-top: 2rem;
Expand All @@ -731,10 +704,6 @@ article h3::before {
content: none;
}

html.light article h3 {
color: var(--site-foreground);
}

article h4 {
margin-top: 1.9rem;
margin-bottom: 0.55rem;
Expand Down Expand Up @@ -897,18 +866,10 @@ article blockquote p {
color: var(--site-body);
}

html.light article blockquote {
color: var(--site-body);
}

article blockquote::before {
content: none;
}

html.light article blockquote::before {
content: none;
}

.mdx-admonition {
--admonition-accent: var(--site-primary);
--admonition-bg: color-mix(
Expand Down Expand Up @@ -1065,15 +1026,6 @@ html.light .mdx-admonition-content li {
text-decoration-color: var(--site-primary);
}

html.light a,
html.light article a {
color: var(--site-foreground);
text-decoration-color: var(--site-border);
text-decoration-thickness: 1px;
text-decoration-skip-ink: none;
text-underline-offset: 4px;
}

html.light a:hover {
color: var(--site-primary-hover);
text-decoration-color: var(--site-primary-hover);
Expand All @@ -1086,14 +1038,12 @@ html.light .mdx-admonition-content li {
* the same level.
*/
a.cta-solid,
a.cta-solid:hover,
html.light a.cta-solid:hover {
a.cta-solid:hover {
color: var(--site-primary-foreground);
text-decoration: none;
}

a.cta-ghost:hover,
html.light a.cta-ghost:hover {
a.cta-ghost:hover {
color: var(--site-primary);
text-decoration: none;
}
Expand Down Expand Up @@ -1221,35 +1171,11 @@ a.icon:hover {
);
}

html.light h1 a:hover,
html.light h2 a:hover,
html.light h3 a:hover,
html.light h4 a:hover,
html.light h5 a:hover,
html.light h6 a:hover,
html.light p a.icon:hover,
html.light a.icon:hover {
background-repeat: repeat-x;
background-position: bottom;
background-size: 100% 6px;
background-image: linear-gradient(
transparent,
transparent 6px,
var(--site-foreground) 6px,
var(--site-foreground)
);
}

p a.icon:hover,
a.icon:hover {
color: var(--site-foreground);
}

html.light p a.icon:hover,
html.light a.icon:hover {
color: var(--site-foreground);
}

p.no-margin {
margin: 0;
}
Expand Down Expand Up @@ -1311,11 +1237,6 @@ p.no-margin-top {
padding-top: 4.35rem;
}

html.light .content pre {
background: var(--code-surface) !important;
border-color: var(--code-border);
}

.content pre,
.content code {
-moz-hyphens: manual;
Expand Down Expand Up @@ -1475,20 +1396,6 @@ html.light .content pre code {
color: var(--site-primary);
}

a.link {
text-decoration: none;
color: white;
background-repeat: repeat-x;
background-position: bottom;
background-size: 100% 6px;
background-image: linear-gradient(
transparent,
transparent 5px,
white 5px,
white
);
}

table {
border-spacing: 0;
border-collapse: collapse;
Expand Down
Loading