File size: 7,021 Bytes
2471af3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | @import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
/* Outfit for display and numbers, as on minimax.io and Hailuo; DM Sans for text. Both OFL. */
@import "@fontsource-variable/outfit/index.css";
@import "@fontsource-variable/dm-sans/index.css";
@custom-variant dark (&:is(.dark *));
@theme inline {
--font-heading: var(--font-sans);
--font-sans: "DM Sans Variable", system-ui, -apple-system, "Segoe UI", "PingFang SC", sans-serif;
--font-display: "Outfit Variable", "DM Sans Variable", system-ui, sans-serif;
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--color-foreground: var(--foreground);
--color-background: var(--background);
--radius-sm: calc(var(--radius) * 0.6);
--radius-md: calc(var(--radius) * 0.8);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) * 1.4);
--radius-2xl: calc(var(--radius) * 1.8);
--radius-3xl: calc(var(--radius) * 2.2);
--radius-4xl: calc(var(--radius) * 2.6);
}
/* MiniMax neutrals (minimax.io --product-* tokens), H3 violet for H3 only, and the relation
palette checked with the dataviz validator in this order on #fff and #171717. */
:root {
--background: #ffffff;
--foreground: #171717;
--card: #ffffff;
--card-foreground: #171717;
--popover: #ffffff;
--popover-foreground: #171717;
--primary: #171717;
--primary-foreground: #ffffff;
--secondary: #f5f5f5;
--secondary-foreground: #171717;
--muted: #f5f5f5;
--muted-foreground: #666666;
--accent: #f5f5f5;
--accent-foreground: #171717;
--destructive: #ef4d3e;
--border: #e9e9e9;
--input: #e9e9e9;
--ring: #0094fc;
--radius: 12px;
--chart-1: #7657ff; --chart-2: #a09afb; --chart-3: #b7bacc; --chart-4: #666666; --chart-5: #171717;
--sidebar: #ffffff; --sidebar-foreground: #171717; --sidebar-primary: #171717; --sidebar-primary-foreground: #ffffff;
--sidebar-accent: #f5f5f5; --sidebar-accent-foreground: #171717; --sidebar-border: #e9e9e9; --sidebar-ring: #0094fc;
--brand: #7657ff;
--brand-from: #7426f7;
--brand-to: #a05efa;
--brand-deep: #450cd1;
--rel-adapter: #e81a7f;
--rel-finetune: #e4743b;
--rel-quantized: #00969b;
--rel-repackage: #b58800;
--rel-merge: #0077d9;
--rel-mirror: #b7bacc;
--rel-component: #008635;
--neutral-series: #b7bacc;
--galaxy-bg: #f7f8fc;
--ring-band: rgba(118, 87, 255, 0.055);
/* modalities, in stack order (validated light and dark) */
--cat-language: #f5433c; --cat-language-from: #ff3a6c; --cat-language-to: #ff7a62;
--cat-video: #7657ff; --cat-video-from: #7426f7; --cat-video-to: #a05efa;
--cat-music: #b58800; --cat-music-from: #b58800; --cat-music-to: #f0b429;
--cat-image: #00969b; --cat-image-from: #00878c; --cat-image-to: #2cc5bf;
--stage: #0b0b10;
}
.dark {
--background: #171717;
--foreground: #ededed;
--card: #1c1c1c;
--card-foreground: #ededed;
--popover: #262626;
--popover-foreground: #ededed;
--primary: #ffffff;
--primary-foreground: #171717;
--secondary: #262626;
--secondary-foreground: #ededed;
--muted: #262626;
--muted-foreground: #949494;
--accent: #262626;
--accent-foreground: #ededed;
--destructive: #d34137;
--border: #2c2c2c;
--input: #2c2c2c;
--ring: #0077d9;
--chart-1: #8173ff; --chart-2: #a09afb; --chart-3: #6b6f80; --chart-4: #949494; --chart-5: #ededed;
--sidebar: #1c1c1c; --sidebar-foreground: #ededed; --sidebar-primary: #ffffff; --sidebar-primary-foreground: #171717;
--sidebar-accent: #262626; --sidebar-accent-foreground: #ededed; --sidebar-border: #2c2c2c; --sidebar-ring: #0077d9;
--brand: #8173ff;
--rel-adapter: #e81a7f;
--rel-finetune: #d9652c;
--rel-quantized: #00969b;
--rel-repackage: #b58800;
--rel-merge: #0077d9;
--rel-mirror: #6b6f80;
--rel-component: #009c3d;
--neutral-series: #6b6f80;
--galaxy-bg: #1c1c1c;
--ring-band: rgba(129, 115, 255, 0.08);
--cat-language: #e8453c;
--cat-video: #8173ff;
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
button:not(:disabled), [role="button"]:not(:disabled) {
cursor: pointer;
}
html {
@apply font-sans;
}
}
/* The landing stage and the galaxy are always dark; they carry the .dark class themselves. */
.stage {
background-color: var(--stage);
color: #ededed;
}
@keyframes rise {
from { opacity: 0; transform: translateY(14px); }
to { opacity: 1; transform: none; }
}
@keyframes wipe {
from { clip-path: inset(0 100% 0 0); }
to { clip-path: inset(0 0 0 0); }
}
@keyframes draw {
from { stroke-dashoffset: 1; }
to { stroke-dashoffset: 0; }
}
@keyframes pop {
from { opacity: 0; transform: scale(0.3); }
to { opacity: 1; transform: none; }
}
@keyframes fade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes breathe {
0%, 100% { opacity: 0.55; transform: scale(1); }
50% { opacity: 0.9; transform: scale(1.06); }
}
@keyframes unfold {
from { opacity: 0; transform: rotate(-14deg) scale(0.86); }
to { opacity: 1; transform: none; }
}
@keyframes octo-swim {
0%, 100% { transform: translateY(0) scale(1, 1) rotate(-2deg); }
50% { transform: translateY(-7%) scale(1.04, 0.95) rotate(2deg); }
}
.anim-rise { animation: rise 700ms cubic-bezier(.22,.61,.36,1) both; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 1ms !important;
animation-delay: 0ms !important;
animation-iteration-count: 1 !important;
transition-duration: 1ms !important;
}
} |