mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
feat(theme): dark theme detection
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import { defineConfig } from 'unocss';
|
||||
import presetWebFonts from '@unocss/preset-web-fonts';
|
||||
import { defineConfig, presetUno } from 'unocss';
|
||||
|
||||
export default defineConfig({
|
||||
theme: {
|
||||
fontFamily: {
|
||||
mono: ['JetBrains Mono'],
|
||||
},
|
||||
},
|
||||
presets: [
|
||||
presetUno({ dark: 'media' }),
|
||||
presetWebFonts({
|
||||
provider: 'google',
|
||||
fonts: {
|
||||
sans: 'JetBrains Mono',
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user