Personal Site

Support light/dark color scheme, test continuous deployment

+15 -3
+4
src/pages/index.astro
··· 1 + --- 2 + import '@/styles/global.css'; 3 + --- 4 + 1 5 <html lang="en"> 2 6 <head> 3 7 <meta charset="utf-8" />
+3
src/styles/global.css
··· 1 + html { 2 + color-scheme: light dark; 3 + }
+8 -3
tsconfig.json
··· 1 1 { 2 - "extends": "astro/tsconfigs/strict", 3 - "include": [".astro/types.d.ts", "**/*"], 4 - "exclude": ["dist"] 2 + "extends": "astro/tsconfigs/strict", 3 + "include": [".astro/types.d.ts", "**/*"], 4 + "exclude": ["dist"], 5 + "compilerOptions": { 6 + "paths": { 7 + "@/*": ["./src/*"] 8 + } 9 + } 5 10 }