videogen/apps/web/app/globals.css
caelum0x d56639a594
Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

280 lines
7.6 KiB
CSS

@import "./reelforge-tokens.css";
@tailwind base;
@tailwind components;
@tailwind utilities;
/**
* Menivor theme — Apple design rules (owner 2026-11-17: "too colorful, use
* Apple design, no emojis, no writings on components, clean simple").
*
* Dark system surfaces (black / #1C1C1E, matching macOS/iOS dark mode),
* off-white type, and exactly ONE accent color: Apple system blue, used only
* for the primary action and links. No gradients, no neon glow, no ambient
* color blobs, no multi-color "AI" palette. Values are HSL channels
* consumed as `hsl(var(--token))` in tailwind.config.ts.
*
* Surface utilities (see @layer components below) are flat neutral panels
* with a single hairline border — no backdrop tint, no gradient sheen, no
* colored shadow:
* .glass panel with backdrop blur (nav bars, hero boxes)
* .glass-strong denser panel (menus, dialogs, auth card)
* .glass-subtle panel WITHOUT blur (cards, lists, grids)
* .neu-raised flat raised control .neu-pressed pressed/inset
* .neu-primary flat accent CTA .neu-inset input well
* Accessibility: prefers-reduced-transparency and missing backdrop-filter
* support fall back to solid surfaces; prefers-reduced-motion drops the
* press/lift transforms and animations.
*/
@layer base {
:root {
/* Native stacks keep production builds deterministic and avoid a network
dependency on Google Fonts during Cloudflare deployment. */
--font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", monospace;
/* System background / label, dark mode (Apple HIG). */
--background: 0 0% 0%;
--foreground: 240 11% 96%;
/* Secondary system grouped background (#1C1C1E). */
--card: 240 3% 11%;
--card-foreground: 240 11% 96%;
/* Apple system blue #0071E3 — the one accent in the product. */
--primary: 211 100% 45%;
--primary-foreground: 0 0% 100%;
--secondary: 240 2% 18%;
--secondary-foreground: 240 11% 96%;
--muted: 240 2% 15%;
--muted-foreground: 240 4% 61%;
--accent: 211 100% 45%;
--accent-foreground: 0 0% 100%;
--destructive: 4 90% 58%;
--destructive-foreground: 0 0% 100%;
--success: 142 69% 45%;
--success-foreground: 0 0% 100%;
/* Hairline separator (#38383A). */
--border: 240 3% 20%;
--input: 240 3% 20%;
--ring: 211 100% 45%;
--radius: 1.1rem;
/* Flat surface tokens. No tint, no saturate boost, no color glow —
alpha lives in the token so the fallbacks can swap to solid in one
place. */
--glass-fill: 240 3% 11% / 0.72;
--glass-fill-strong: 240 3% 9% / 0.9;
--glass-fill-subtle: 240 3% 12% / 0.6;
--glass-solid: 240 3% 9%;
--glass-border: 240 3% 24% / 1;
--glass-border-strong: 240 3% 26% / 1;
--shadow-soft: 0 1px 2px hsl(0 0% 0% / 0.3);
--shadow-float: 0 1px 2px hsl(0 0% 0% / 0.3), 0 16px 32px -16px hsl(0 0% 0% / 0.45);
}
}
@layer base {
* {
@apply border-border;
}
html {
color-scheme: dark;
}
body {
@apply bg-background text-foreground antialiased;
font-feature-settings:
"rlig" 1,
"calt" 1;
min-height: 100dvh;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-display, var(--font-sans, ui-sans-serif)), ui-sans-serif,
system-ui, sans-serif;
font-weight: 600;
letter-spacing: -0.02em;
}
::selection {
background-color: hsl(var(--primary));
color: hsl(var(--primary-foreground));
}
}
@layer components {
/* ---------- Flat panels (no tint, no blur glow, single hairline) ---------- */
.glass,
.glass-strong,
.glass-subtle {
border: 1px solid hsl(var(--glass-border));
box-shadow: var(--shadow-soft);
}
.glass {
background-color: hsl(var(--glass-fill));
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
}
.glass-strong {
background-color: hsl(var(--glass-fill-strong));
border-color: hsl(var(--glass-border-strong));
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
box-shadow: var(--shadow-float);
}
/* No backdrop blur: safe for cards in long lists and grids. */
.glass-subtle {
background-color: hsl(var(--glass-fill-subtle));
}
/* Hairline bottom edge for glass bars (sticky navs, headers). */
.glass-bar {
background-color: hsl(var(--background) / 0.75);
border-color: hsl(var(--glass-border));
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
}
/* ---------- Flat controls ---------- */
.neu-raised {
background-color: hsl(var(--secondary));
border: 1px solid hsl(var(--glass-border));
}
.neu-raised:hover:not(:disabled) {
background-color: hsl(240 2% 21%);
}
.neu-pressed,
.neu-raised:active:not(:disabled) {
background-color: hsl(240 2% 15%);
}
.neu-primary {
background-color: hsl(var(--primary));
color: hsl(var(--primary-foreground));
}
.neu-primary:hover:not(:disabled) {
background-color: hsl(211 100% 40%);
}
.neu-primary:active:not(:disabled) {
background-color: hsl(211 100% 36%);
}
/* Recessed well for text inputs, selects and segmented-control tracks. */
.neu-inset {
background-color: hsl(240 3% 9%);
border: 1px solid hsl(var(--glass-border));
}
.press-sink {
transition-property: color, background-color, border-color, box-shadow,
transform;
transition-duration: 150ms;
transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.press-sink:active:not(:disabled) {
transform: translateY(1px);
}
}
/* Solid fallbacks: no backdrop-filter support, or the user asked for less
transparency. Panels become opaque. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.glass,
.glass-strong,
.glass-bar {
background-color: hsl(var(--glass-solid));
}
}
@media (prefers-reduced-transparency: reduce) {
.glass,
.glass-strong,
.glass-subtle,
.glass-bar {
background-color: hsl(var(--glass-solid));
-webkit-backdrop-filter: none;
backdrop-filter: none;
}
}
/* Keep page content clear of the mobile bottom tab bar (PrimaryTabBar). */
@media (max-width: 639px) {
body:has([data-app-tabbar]) {
padding-bottom: calc(4rem + env(safe-area-inset-bottom));
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto !important;
}
.press-sink:active:not(:disabled) {
transform: none;
}
.press-sink {
transition-duration: 0.01ms;
}
/* Decorative motion only; loading spinners keep turning so progress
stays perceivable. */
.animate-fade-in,
.animate-shimmer,
.after\:animate-shimmer::after {
animation: none !important;
}
}
@media (forced-colors: active) {
.glass,
.glass-strong,
.glass-subtle,
.glass-bar,
.neu-raised,
.neu-inset {
border: 1px solid CanvasText;
}
}
@layer utilities {
/* Timecode-style kicker label, e.g. "01 / RECORD". Mono, uppercase, wide
tracking — the editorial replacement for icon badges. */
.kicker {
font-family: var(--font-mono, ui-monospace), ui-monospace, SFMono-Regular,
Menlo, monospace;
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.18em;
text-transform: uppercase;
}
}