Add Titanium Pro Design System

 Hard-edge separation - no blending
 Staircase surface system (void/titanium/graphite/jet)
 Black/Gold luxury color palette
 High contrast text (white/silver only)
 Monospace for all data (JetBrains Mono)
 Gold accents for value/active states
 Utility classes for consistent styling
 Theme switching infrastructure
 Alternative themes ready (Ocean, Forest, Crimson)

Design rules:
- Every container gets 1px border
- No dim text allowed
- Gold for data and money
- OLED black for structure
- Matte finishes, metallic accents
This commit is contained in:
cawcenter
2025-12-13 12:23:04 -05:00
parent ac372db74e
commit 7101350dcc
6 changed files with 575 additions and 56 deletions

View File

@@ -1,82 +1,116 @@
/** @type {import('tailwindcss').Config} */
import defaultTheme from 'tailwindcss/defaultTheme'
export default {
darkMode: ["class"],
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'
],
darkMode: ['class'],
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
// === THE TITANIUM PRO SYSTEM ===
// The Void (Base Layer - Pure Black)
void: '#000000',
// Surface Staircase (Hard-Edge Layers)
titanium: '#121212', // Level 1: Main panels
graphite: '#1C1C1E', // Level 2: Inputs/Secondary
jet: '#27272A', // Level 3: Popups/Modals
// Edge System (Borders & Separators)
edge: {
subtle: 'rgba(255, 255, 255, 0.10)', // Standard borders
normal: 'rgba(255, 255, 255, 0.15)', // Card borders
bright: 'rgba(255, 255, 255, 0.30)', // Active borders
gold: '#D4AF37', // Selected state
},
// The Luxury (Gold Accent System)
gold: {
100: '#FEF3C7', // Lightest
200: '#FDE68A',
300: '#FDE047', // Glowing text/data
400: '#EAB308', // Button highlight
500: '#D4AF37', // Antique Brass (primary)
600: '#B49428', // Button dark
700: '#A16207',
800: '#854D0E',
900: '#422006', // Deep shadow
},
// The Tech (Electric Blue - for live indicators)
electric: {
400: '#38BDF8',
500: '#0EA5E9',
},
// Text System (High Contrast Only)
silver: '#D1D5DB', // text-silver (darkest allowed)
// shadcn/ui compatibility
border: 'rgba(255, 255, 255, 0.15)',
input: 'rgba(255, 255, 255, 0.10)',
ring: '#D4AF37',
background: '#000000',
foreground: '#FFFFFF',
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
DEFAULT: '#D4AF37',
foreground: '#000000',
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
DEFAULT: '#1C1C1E',
foreground: '#FFFFFF',
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
DEFAULT: '#EF4444',
foreground: '#FFFFFF',
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
DEFAULT: '#121212',
foreground: '#D1D5DB',
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
DEFAULT: '#27272A',
foreground: '#FFFFFF',
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
DEFAULT: '#27272A',
foreground: '#FFFFFF',
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
DEFAULT: '#121212',
foreground: '#FFFFFF',
},
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
mono: ['JetBrains Mono', 'Consolas', ...defaultTheme.fontFamily.mono],
},
backgroundImage: {
'gold-gradient': 'linear-gradient(to bottom, #EAB308, #CA8A04)',
'gold-gradient-r': 'linear-gradient(to right, #EAB308, #CA8A04)',
'metal-shine': 'linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.05) 50%, transparent 75%)',
'dot-grid': 'radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px)',
},
boxShadow: {
'glow-gold': '0 0 20px -5px rgba(212, 175, 55, 0.3)',
'glow-blue': '0 0 20px -5px rgba(56, 189, 248, 0.3)',
'hard': '0 4px 0 0 #1c1c1e', // Block shadow for cards
'hard-gold': '0 4px 0 0 rgba(212, 175, 55, 0.3)',
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(--radius) - 4px)',
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
shimmer: {
"100%": { transform: "translateX(100%)" },
},
pulse: {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0.5" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
shimmer: "shimmer 2s infinite",
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
backgroundSize: {
'dot-size': '20px 20px',
},
},
},
plugins: [require("tailwindcss-animate")],
plugins: [require('tailwindcss-animate')],
}