Fix the font selector. (#660)

This commit is contained in:
Jas Singh
2024-12-28 17:55:20 -08:00
committed by GitHub
parent a7b553725c
commit 9343ae85a3
11 changed files with 303 additions and 202 deletions

View File

@@ -1,3 +1,4 @@
import { FontStyle } from './components/settings/shared/inputs/font/utils';
import { opt, mkOptions } from './lib/option';
import { NetstatLabelType, RateUnit, ResourceLabelType } from './lib/types/bar';
import { KbLabelType } from './lib/types/customModules/kbLayout';
@@ -104,6 +105,8 @@ const options = mkOptions(CONFIG, {
font: {
size: opt('1.2rem'),
name: opt('Ubuntu Nerd Font'),
style: opt<FontStyle>('normal'),
label: opt('Ubuntu Nerd Font'),
weight: opt(600),
},
notification: {