Implement Setting Dialog - Work in Progress
This commit is contained in:
17
widget/settings/pages/config/general/index.ts
Normal file
17
widget/settings/pages/config/general/index.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Option } from "widget/settings/shared/Option";
|
||||
import { Header } from "widget/settings/shared/Header";
|
||||
|
||||
import options from "options";
|
||||
|
||||
export const BarGeneral = () => {
|
||||
return Widget.Box({
|
||||
class_name: "bar-theme-page",
|
||||
vertical: true,
|
||||
children: [
|
||||
Header('General Settings'),
|
||||
Option({ opt: options.theme.font.name, title: 'Font', type: 'string' }),
|
||||
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' }),
|
||||
]
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user