Cambios principales: - Agregado violet accent (oklch 0.62 0.20 280) para combo tech con brand cyan - Neutrals con shift sutil hacia hue 250 (slate-violet) - Dark mode con bg oklch(0.135 0.018 252) — no pure black, feel mas tech - Inputs con token --input propio (white en light, elevado en dark) y --input-border mas prominente. Fixea problema de input gris feo - Card soporta variant glass/elevated/default - Multi-layer shadows reales (shadow-sm/md/lg/xl/glow) - Gradient mesh utility (.gradient-mesh + token --gradient-mesh) - Clase .glass para glassmorphism (backdrop-blur 20px + saturate 180%) - Border radius default 10px (era 8px) — mas moderno - Headings con tracking-tight -0.015em LoginPage redesigned: - PublicLayout con gradient mesh + 2 glow blobs (brand+violet) + grid sutil - Card variant glass para el form - Logo mark con bg-gradient-to-br from-brand-500 to-violet-500 - Inputs con bg propio + ring brand glow al focus Tests: 136/136 verde. Doc Obsidian 2.14 actualizado v2.0. Engram sig-cm2/design-system actualizado.
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])