2026-10-05 15:00:46 +00:00
|
|
|
/* Entry that apps import after `tailwindcss`. Never load fonts with next/font: it hashes them (0011). */
|
|
|
|
|
@import './fonts.css';
|
2026-10-02 14:19:11 +00:00
|
|
|
@import './theme.css';
|
|
|
|
|
@import './utilities.css';
|
2026-10-02 15:42:11 +00:00
|
|
|
@source '../';
|
|
|
|
|
|
|
|
|
|
@layer base {
|
|
|
|
|
html {
|
|
|
|
|
background-color: var(--color-bg-page);
|
|
|
|
|
color: var(--color-text-primary);
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
/* Every number is tabular: prices, dates, OTP, stats, countdowns. */
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
feat(island): sync components with the Lumina design system
New components:
- Lightbox, NetworkStatus (+ useOnline), TierOption, SkeletonPreset
Rebuilt to the design system:
- PredictionCard: range bar, open KPIs, closed hero, price ladder, horizon progress, seal, locked veil
- CreatorStats: form curve, outcome split, KPI tiles, insights and streak; null renders nothing
- PostCard, LockedTeaser, MediaCarousel: owner action rules, expanded variant, viewer CTA, locked order
- SubscriptionCard: active/suspended/expired/refunded, compact density, amount and support rows
- Countdown, ResendCode, OtpInput: absolute end times, DS wording and thresholds, WebOTP
Fixes:
- Dialog: waits only for finite exit animations, keeps non-dismissible halts open, focuses the
panel, closes on scrim presses only, mounts the panel only while open
- Toaster: moves its region into the open dialog so toasts show and stay tappable over sheets
- Button: blocked submit, frozen cursor, loading links; TextInput focus border; Card, Banner,
ChoiceCard, StepProgress, ErrorState, Amount and Avatar details
- Tokens: muted status tracks, inverse controls, scrim chip, inverse and lightbox focus rings;
the spinner keeps turning under reduced motion
Adds sonner and svgo; island gets the icons target and the hooks subpath.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:23:59 +00:00
|
|
|
/* An open modal dialog or sheet freezes the page behind its scrim. */
|
|
|
|
|
html:has(dialog:modal) {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2026-10-02 15:42:11 +00:00
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
|
*,
|
|
|
|
|
::before,
|
|
|
|
|
::after {
|
|
|
|
|
animation-duration: 0.01ms !important;
|
|
|
|
|
animation-iteration-count: 1 !important;
|
|
|
|
|
transition-duration: 0.01ms !important;
|
|
|
|
|
scroll-behavior: auto !important;
|
|
|
|
|
}
|
feat(island): sync components with the Lumina design system
New components:
- Lightbox, NetworkStatus (+ useOnline), TierOption, SkeletonPreset
Rebuilt to the design system:
- PredictionCard: range bar, open KPIs, closed hero, price ladder, horizon progress, seal, locked veil
- CreatorStats: form curve, outcome split, KPI tiles, insights and streak; null renders nothing
- PostCard, LockedTeaser, MediaCarousel: owner action rules, expanded variant, viewer CTA, locked order
- SubscriptionCard: active/suspended/expired/refunded, compact density, amount and support rows
- Countdown, ResendCode, OtpInput: absolute end times, DS wording and thresholds, WebOTP
Fixes:
- Dialog: waits only for finite exit animations, keeps non-dismissible halts open, focuses the
panel, closes on scrim presses only, mounts the panel only while open
- Toaster: moves its region into the open dialog so toasts show and stay tappable over sheets
- Button: blocked submit, frozen cursor, loading links; TextInput focus border; Card, Banner,
ChoiceCard, StepProgress, ErrorState, Amount and Avatar details
- Tokens: muted status tracks, inverse controls, scrim chip, inverse and lightbox focus rings;
the spinner keeps turning under reduced motion
Adds sonner and svgo; island gets the icons target and the hooks subpath.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:23:59 +00:00
|
|
|
|
|
|
|
|
/* Nothing loops except a spinner while waiting; it slows down instead of stopping. */
|
|
|
|
|
.animate-spin {
|
|
|
|
|
animation-duration: 2.4s !important;
|
|
|
|
|
animation-iteration-count: infinite !important;
|
|
|
|
|
}
|
2026-10-02 15:42:11 +00:00
|
|
|
}
|
|
|
|
|
}
|