diff --git a/app/globals.css b/app/globals.css index 08736b5..7315bcb 100644 --- a/app/globals.css +++ b/app/globals.css @@ -35,12 +35,6 @@ --color-aurora-lilac: #c3b6f0; --color-aurora-peach: #f6cdb4; - --color-night-50: #f6f9fc; - --color-night-700: #1d2733; - --color-night-800: #151d27; - --color-night-900: #101720; - --color-night-950: #0a1017; - --font-sans: -apple-system, BlinkMacSystemFont, ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji"; @@ -302,11 +296,20 @@ body { /* Tailwind emits both the prefixed and standard properties; hand-written backdrop-filter gets minified down to -webkit- only, which paints nothing. */ @apply backdrop-blur-xl backdrop-saturate-150; - background: color-mix(in oklab, white 68%, transparent); + background: color-mix(in oklab, var(--surface) 70%, transparent); border-bottom: 1px solid var(--hairline); } -.dark .glass { - background: color-mix(in oklab, #101720 70%, transparent); + +/* Study-feed chrome (progress header + bottom pager): the same neutral + surface as the cards, with a neutral border and shadow. */ +.study-chrome { + @apply backdrop-blur-xl backdrop-saturate-150; + background: color-mix(in oklab, var(--surface) 88%, transparent); + border: 1px solid var(--hairline); + box-shadow: var(--shadow-card); +} +.dark .study-chrome { + border-color: var(--hairline-soft); } .card { diff --git a/components/StudyFeed.tsx b/components/StudyFeed.tsx index cf5aed7..d0970c8 100644 --- a/components/StudyFeed.tsx +++ b/components/StudyFeed.tsx @@ -9,7 +9,7 @@ import { celebrate } from "@/lib/confetti"; import type { Activity, Deck } from "@/lib/schemas"; import { recordAttempt } from "@/lib/storage"; import { cn } from "@/lib/utils"; -import { BoltIcon, FlameIcon } from "@/components/icons"; +import { BoltIcon, FlameIcon, XIcon } from "@/components/icons"; import { Button, ProgressBar } from "@/components/ui"; import { ResultsScreen } from "./ResultsScreen"; @@ -147,14 +147,14 @@ export function StudyFeed({ deck }: { deck: Deck }) {
{documentsBusy