added 'increment' option for Inputter (#64)

* added 'increment' option for Inputter

* added 'quick edit: added max value for font-weight

* forgot to include type change
This commit is contained in:
matavach
2024-08-02 21:54:25 -05:00
committed by GitHub
parent 308e22b02f
commit 1f7c5a70ca
3 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ export const BarGeneral = () => {
Header('General Settings'),
Option({ opt: options.theme.font.name, title: 'Font', type: 'font' }),
Option({ opt: options.theme.font.size, title: 'Font Size', type: 'string' }),
Option({ opt: options.theme.font.weight, title: 'Font Weight', subtitle: "100, 200, 300, etc.", type: 'number' }),
Option({ opt: options.theme.font.weight, title: 'Font Weight', subtitle: "100, 200, 300, etc.", type: 'number', increment: 100, min: 100, max: 900}),
Option({ opt: options.terminal, title: 'Terminal', subtitle: "Tools such as 'btop' will open in this terminal", type: 'string' }),
Header('On Screen Display'),