mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
- Add .dark CSS variable overrides (warm brown bg, gold primary, muted shadows) - Add ThemeContext with localStorage persistence and prefers-color-scheme detection - Add theme toggle button (sun/moon) fixed at top-right of main content - Replace all bg-white with bg-surface for theme-aware backgrounds - Rewrite CodeMirror theme to use @lezer/highlight HighlightStyle for proper syntax highlighting in both light and dark modes - Convert design.ts shadows from hardcoded hex to CSS variable references - Add dark: variants for elements that need different active states per theme - Add postit/tracked CSS custom properties with dark mode translucent overrides
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "ui",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/lang-yaml": "^6.1.2",
|
|
"@codemirror/language": "^6.12.2",
|
|
"@codemirror/view": "^6.39.12",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@tanstack/react-query": "^5.90.21",
|
|
"@uiw/react-codemirror": "^4.25.4",
|
|
"lucide-react": "^0.563.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-router-dom": "^7.13.0",
|
|
"react-virtuoso": "^4.18.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"tailwindcss": "^4.1.18"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@tanstack/react-query-devtools": "^5.91.3",
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.2.5",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.1",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.46.4",
|
|
"vite": "^7.2.4"
|
|
}
|
|
}
|