Commits vergleichen

...

2 Commits

Autor SHA1 Nachricht Datum
8f9b5660e3
Enable automatic light/dark mode
Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
2024-08-05 22:06:03 +02:00
ac1863a7f4
Switch to npm ci
Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
2024-08-05 21:50:06 +02:00
3 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: npm install run: npm ci
- name: Build site - name: Build site
run: npm run build run: npm run build

Datei anzeigen

@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: npm install run: npm ci
- name: Build site - name: Build site
run: npm run build run: npm run build

Datei anzeigen

@ -169,6 +169,11 @@ const config: Config = {
theme: prismThemes.github, theme: prismThemes.github,
darkTheme: prismThemes.dracula, darkTheme: prismThemes.dracula,
}, },
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: true,
},
} satisfies Preset.ThemeConfig, } satisfies Preset.ThemeConfig,
}; };