Spaces:
Sleeping
Sleeping
Rebrand (blue+orange), split-panel auth with brand photo, favorites/status/search, retry, typed-delete, dashboard own-sessions, sidebar rail, AI end-call, code-splitting + a11y polish
9b81983 Download frontend/src/theme.ts from vion-training/Vion: direct link, hf CLI and curl.
- Browser
- Download file 1.46 kB
-
https://huggingface.co/spaces/vion-training/Vion/resolve/main/frontend/src/theme.ts
- Command line
-
hf download hf://spaces/vion-training/Vion/frontend/src/theme.ts
-
curl -L -o theme.ts https://huggingface.co/spaces/vion-training/Vion/resolve/main/frontend/src/theme.ts
1.46 kB
| import { createTheme, type MantineColorsTuple } from "@mantine/core"; | |
| // Brand palette from the Vion website: | |
| // blue #2387d0 (primary) | |
| // orange #f59000 / #f69a17 (accent / CTA pop) | |
| // white #ffffff (base) | |
| // Blue is the primary color (buttons, links, active nav); orange is the accent | |
| // available as color="accent" for highlights and high-emphasis CTAs. | |
| const brand: MantineColorsTuple = [ | |
| "#e8f4fc", | |
| "#c9e6f7", | |
| "#a4d4f0", | |
| "#7bc0e9", | |
| "#58afe2", | |
| "#3aa0dc", | |
| "#2387d0", // 6 — primary brand blue | |
| "#1f77b6", | |
| "#1a649a", | |
| "#134d77", | |
| ]; | |
| const accent: MantineColorsTuple = [ | |
| "#fff5e6", | |
| "#ffe6c2", | |
| "#ffd095", | |
| "#ffb85e", | |
| "#fca62f", | |
| "#f99a12", | |
| "#f59000", // 6 — brand orange | |
| "#db7d00", | |
| "#b56600", | |
| "#8a4e00", | |
| ]; | |
| export const theme = createTheme({ | |
| primaryColor: "brand", | |
| colors: { brand, accent }, | |
| autoContrast: true, | |
| defaultRadius: "md", | |
| fontFamily: "Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif", | |
| headings: { | |
| fontFamily: "Inter, system-ui, sans-serif", | |
| fontWeight: "700", | |
| }, | |
| // Brand-blue gradient for prominent CTAs (variant="gradient"). | |
| defaultGradient: { from: "#2387d0", to: "#36a0dd", deg: 135 }, | |
| components: { | |
| Card: { defaultProps: { radius: "lg", shadow: "sm", withBorder: true } }, | |
| Paper: { defaultProps: { radius: "lg" } }, | |
| Button: { defaultProps: { radius: "md" } }, | |
| Modal: { defaultProps: { radius: "lg", centered: true } }, | |
| }, | |
| }); | |