Added the ability to define button, progress bar, tooltip and popover radius. (#448)
* Added the ability to define button, progress bar, tooltip and popover radius. * Border updates * Fix notification scaling
This commit is contained in:
@@ -71,6 +71,11 @@ export const MenuTheme = (): Scrollable<Child, Attribute> => {
|
||||
Option({ opt: options.theme.bar.menus.border.color, title: 'Border Color', type: 'color' }),
|
||||
|
||||
Header('Popover'),
|
||||
Option({
|
||||
opt: options.theme.bar.menus.popover.radius,
|
||||
title: 'Popover Radius',
|
||||
type: 'string',
|
||||
}),
|
||||
Option({ opt: options.theme.bar.menus.popover.text, title: 'Text', type: 'color' }),
|
||||
Option({ opt: options.theme.bar.menus.popover.background, title: 'Background', type: 'color' }),
|
||||
|
||||
@@ -108,6 +113,7 @@ export const MenuTheme = (): Scrollable<Child, Attribute> => {
|
||||
Option({ opt: options.theme.bar.menus.check_radio_button.active, title: 'Active', type: 'color' }),
|
||||
|
||||
Header('Buttons'),
|
||||
Option({ opt: options.theme.bar.menus.buttons.radius, title: 'Button Radius', type: 'string' }),
|
||||
Option({ opt: options.theme.bar.menus.buttons.default, title: 'Primary', type: 'color' }),
|
||||
Option({ opt: options.theme.bar.menus.buttons.active, title: 'Active', type: 'color' }),
|
||||
Option({ opt: options.theme.bar.menus.buttons.disabled, title: 'Disabled', type: 'color' }),
|
||||
@@ -118,6 +124,11 @@ export const MenuTheme = (): Scrollable<Child, Attribute> => {
|
||||
Option({ opt: options.theme.bar.menus.iconbuttons.active, title: 'Active/Hovered', type: 'color' }),
|
||||
|
||||
Header('Progress Bar'),
|
||||
Option({
|
||||
opt: options.theme.bar.menus.progressbar.radius,
|
||||
title: 'Progress Bar Radius',
|
||||
type: 'string',
|
||||
}),
|
||||
Option({ opt: options.theme.bar.menus.progressbar.foreground, title: 'Primary', type: 'color' }),
|
||||
Option({ opt: options.theme.bar.menus.progressbar.background, title: 'Background', type: 'color' }),
|
||||
|
||||
@@ -147,6 +158,11 @@ export const MenuTheme = (): Scrollable<Child, Attribute> => {
|
||||
Option({ opt: options.theme.bar.menus.dropdownmenu.divider, title: 'Divider', type: 'color' }),
|
||||
|
||||
Header('Tooltips'),
|
||||
Option({
|
||||
opt: options.theme.bar.menus.tooltip.radius,
|
||||
title: 'Tooltip Radius',
|
||||
type: 'string',
|
||||
}),
|
||||
Option({ opt: options.theme.bar.menus.tooltip.background, title: 'Background', type: 'color' }),
|
||||
Option({ opt: options.theme.bar.menus.tooltip.text, title: 'Text', type: 'color' }),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user