Added 3 new styles for bar buttons. (#168)
* Added a new style called split for bar buttons * Added wavy button styles. * Added padding configuration * Update bar padding * Fix styling for battery style2 * Fix icon only setting for bar * Update types and options * Add button style to exported theme props. * Fix top margin for menus.
This commit is contained in:
9
lib/types/bar.d.ts
vendored
Normal file
9
lib/types/bar.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Variable } from "types/variable";
|
||||
|
||||
export type Child = {
|
||||
component: Box<Gtk.Widget, unknown>;
|
||||
isVisible?: boolean;
|
||||
isVis?: Variable<boolean>;
|
||||
boxClass: string;
|
||||
props: ButtonProps;
|
||||
};
|
||||
1
lib/types/options.d.ts
vendored
1
lib/types/options.d.ts
vendored
@@ -5,6 +5,7 @@ export type Unit = "imperial" | "metric";
|
||||
export type PowerOptions = "sleep" | "reboot" | "logout" | "shutdown";
|
||||
export type NotificationAnchor = "top" | "top right" | "top left" | "bottom" | "bottom right" | "bottom left" | "left" | "right";
|
||||
export type OSDAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
||||
export type BarButtonStyles = "default" | "split" | "wave" | "wave2";
|
||||
|
||||
export type ThemeExportData = {
|
||||
filePath: string,
|
||||
|
||||
Reference in New Issue
Block a user