Files
minstrel/web/src/app.css
T
bvandeusenandClaude Opus 5.5 ad75f3ac7e
release / go (push) Successful in 1m39s
release / web (push) Successful in 1m15s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m3s
release / android (push) Successful in 4m46s
release / Build signed APK (push) Successful in 5m5s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 26s
release / Verify release artifacts (tag releases only) (push) Skipped
chore: comments and tests explain themselves, and the dev compose drops its healthcheck
Test names, assertion messages and comments no longer cite internal
task or rule numbers; each says the reason itself. The dev compose
starts Minstrel after the database without a healthcheck to gate on,
since Minstrel waits for its database at startup on its own. The
published-names test is removed; that check is a local grep before
publishing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:58:58 -05:00

104 lines
2.7 KiB
CSS

@import './lib/styles/tokens.generated.css' layer(base);
@import 'tailwindcss';
/* The FabledSword tokens as Tailwind's theme. `inline` makes each utility emit
* the var(--fs-*) itself, so a theme swap that redefines the tokens reaches the
* utilities without going through a second variable. */
@theme inline {
--color-background: var(--fs-obsidian);
--color-surface: var(--fs-iron);
--color-surface-hover: var(--fs-slate);
--color-border: var(--fs-pewter);
--color-text-primary: var(--fs-parchment);
--color-text-secondary: var(--fs-vellum);
--color-text-muted: var(--fs-ash);
--color-action-primary: var(--fs-moss);
--color-action-secondary: var(--fs-bronze);
--color-action-destructive: var(--fs-oxblood);
--color-action-fg: var(--fs-on-action);
--color-accent: var(--fs-accent);
--color-accent-tint: color-mix(in srgb, var(--fs-accent) 12%, transparent);
--color-accent-fg: var(--fs-accent-fg);
--color-warning: var(--fs-warning);
--color-warning-fg: var(--fs-warning-fg);
--color-error: var(--fs-error);
--color-error-fg: var(--fs-error-fg);
--color-info: var(--fs-info);
--color-info-fg: var(--fs-info-fg);
--radius-sm: var(--fs-radius-sm);
--radius-md: var(--fs-radius-md);
--radius-lg: var(--fs-radius-lg);
--radius-xl: var(--fs-radius-xl);
--font-display: var(--fs-font-display);
--font-sans: var(--fs-font-body);
--font-mono: var(--fs-font-mono);
}
/* Tailwind 3's preflight defaults that 4 changed. Kept so the upgrade
* changes nothing on screen; each can go once the elements relying on it name
* the value themselves.
* - A border with no colour utility was gray-200; 4 makes it currentcolor.
* - Placeholder text was gray-400; 4 makes it the text colour at 50%.
* - Buttons had a pointer cursor; 4 leaves the browser default. */
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
input::placeholder,
textarea::placeholder {
color: var(--color-gray-400);
}
button:not(:disabled),
[role='button']:not(:disabled) {
cursor: pointer;
}
}
:root {
color-scheme: dark;
}
html,
body {
height: 100%;
margin: 0;
}
body {
font-family: var(--fs-font-body);
}
/* Card play-overlay: positioned absolutely over the card's art square,
* fades in on hover (mouse) or stays visible (touch). Used by AlbumCard,
* ArtistCard, PlaylistCard. The `.card` class is a marker used as the
* :hover anchor; it has no styling of its own. */
.play-overlay {
background: var(--fs-accent);
color: var(--fs-parchment);
opacity: 0;
transition: opacity 150ms ease;
}
@media (hover: hover) {
.card:hover .play-overlay { opacity: 1; }
}
@media (hover: none) {
.play-overlay { opacity: 1; }
}