add typography
This commit is contained in:
parent
205ad37e3e
commit
7de7ae19bb
14 changed files with 77 additions and 189 deletions
|
|
@ -9,20 +9,6 @@ Singleton {
|
|||
property int radius: 8
|
||||
|
||||
property Bar bar: Bar {}
|
||||
property Mpris mpris: Mpris {}
|
||||
property Clock clock: Clock {}
|
||||
property Pipewire pipewire: Pipewire {}
|
||||
property Network network: Network {}
|
||||
property Bluetooth bluetooth: Bluetooth {}
|
||||
property Storage storage: Storage {}
|
||||
property Memory memory: Memory {}
|
||||
property Cpu cpu: Cpu {}
|
||||
property Gpu gpu: Gpu {}
|
||||
property Caffeine caffeine: Caffeine {}
|
||||
property Notifications notifications: Notifications {}
|
||||
property Workspace workspace: Workspace {}
|
||||
property Tray tray: Tray {}
|
||||
property TrayMenu trayMenu: TrayMenu {}
|
||||
|
||||
component Bar: QtObject {
|
||||
property int spacing: 8
|
||||
|
|
@ -33,112 +19,4 @@ Singleton {
|
|||
property int verticalPadding: 2
|
||||
property int horizontalPadding: 8
|
||||
}
|
||||
|
||||
component Mpris: QtObject {
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Clock: QtObject {
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Pipewire: QtObject {
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Network: QtObject {
|
||||
property int iconSize: 14
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Bluetooth: QtObject {
|
||||
property int fontSize: 16
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Storage: QtObject {
|
||||
property int iconSize: 14
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Memory: QtObject {
|
||||
property int iconSize: 14
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Cpu: QtObject {
|
||||
property int iconSize: 14
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Gpu: QtObject {
|
||||
property int iconSize: 14
|
||||
property int fontSize: 14
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Caffeine: QtObject {
|
||||
property int fontSize: 16
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Notifications: QtObject {
|
||||
property int fontSize: 16
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
}
|
||||
|
||||
component Workspace: QtObject {
|
||||
property int spacing: 5
|
||||
property int iconSize: 16
|
||||
property int width: 30
|
||||
property int height: 30
|
||||
property int verticalPadding: 6
|
||||
property int horizontalPadding: 7
|
||||
}
|
||||
|
||||
component Tray: QtObject {
|
||||
property int spacing: 5
|
||||
property int iconSize: 18
|
||||
property int width: 30
|
||||
property int height: 30
|
||||
property int verticalPadding: 6
|
||||
property int horizontalPadding: 7
|
||||
}
|
||||
|
||||
component TrayMenu: QtObject {
|
||||
property int fontSize: 10
|
||||
property int width: 30
|
||||
property int height: 30
|
||||
property int verticalPadding: 6
|
||||
property int horizontalPadding: 7
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,19 +6,31 @@ import Quickshell
|
|||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property Lucide lucide: Lucide {}
|
||||
readonly property Animations animations: Animations {}
|
||||
readonly property Typography typography: Typography {}
|
||||
readonly property var theme: Theme.palette
|
||||
readonly property Lucide lucide: Lucide {}
|
||||
|
||||
component Animations: QtObject {
|
||||
property AnimationSpeed speed: AnimationSpeed {}
|
||||
readonly property AnimationSpeed speed: AnimationSpeed {}
|
||||
}
|
||||
component AnimationSpeed: QtObject {
|
||||
property int veryFast: 50
|
||||
property int fast: 100
|
||||
property int normal: 200
|
||||
property int slow: 400
|
||||
property int verySlow: 1000
|
||||
readonly property int veryFast: 50
|
||||
readonly property int fast: 100
|
||||
readonly property int normal: 200
|
||||
readonly property int slow: 400
|
||||
readonly property int verySlow: 1000
|
||||
}
|
||||
|
||||
component Typography: QtObject {
|
||||
readonly property string fontFamily: "JetBrainsMono Nerd Font"
|
||||
readonly property FontSize textSize: FontSize {}
|
||||
}
|
||||
component FontSize: QtObject {
|
||||
readonly property int sm: 12
|
||||
readonly property int base: 14
|
||||
readonly property int lg: 18
|
||||
readonly property int xl: 24
|
||||
}
|
||||
|
||||
component Lucide: Item {
|
||||
|
|
@ -32,35 +44,35 @@ Singleton {
|
|||
}
|
||||
}
|
||||
component LucideIcons: QtObject {
|
||||
property string batteryCharging: "\u{E058}"
|
||||
property string batteryFull: "\u{E059}"
|
||||
property string batteryMedium: "\u{E05b}"
|
||||
property string batteryLow: "\u{E05a}"
|
||||
property string batteryWarning: "\u{E3b0}"
|
||||
property string bell: "\u{E05d}"
|
||||
property string bellRing: "\u{E224}"
|
||||
property string bluetooth: "\u{E060}"
|
||||
property string bluetoothConnected: "\u{E1b8}"
|
||||
property string brickWall: "\u{E586}"
|
||||
property string coffee: "\u{E09a}"
|
||||
property string chevronLeft: "\u{E072}"
|
||||
property string chevronRight: "\u{E073}"
|
||||
property string cpu: "\u{E0ad}"
|
||||
property string gpu: "\u{E66f}"
|
||||
property string hardDrive: "\u{E0f1}"
|
||||
property string memoryStick: "\u{E44a}"
|
||||
property string pause: "\u{E132}"
|
||||
property string play: "\u{E140}"
|
||||
property string search: "\u{E155}"
|
||||
property string skipBack: "\u{E163}"
|
||||
property string skipForward: "\u{E164}"
|
||||
property string stop: "\u{E132}"
|
||||
property string square: "\u{E16B}"
|
||||
property string wifiOff: "\u{E1af}"
|
||||
property string wifiLow: "\u{E5fd}"
|
||||
property string wifiHigh: "\u{E5fc}"
|
||||
property string wifi: "\u{E1ae}"
|
||||
property string triangle: "\u{E192}"
|
||||
property string triangleDashed: "\u{E642}"
|
||||
readonly property string batteryCharging: "\u{E058}"
|
||||
readonly property string batteryFull: "\u{E059}"
|
||||
readonly property string batteryMedium: "\u{E05b}"
|
||||
readonly property string batteryLow: "\u{E05a}"
|
||||
readonly property string batteryWarning: "\u{E3b0}"
|
||||
readonly property string bell: "\u{E05d}"
|
||||
readonly property string bellRing: "\u{E224}"
|
||||
readonly property string bluetooth: "\u{E060}"
|
||||
readonly property string bluetoothConnected: "\u{E1b8}"
|
||||
readonly property string brickWall: "\u{E586}"
|
||||
readonly property string coffee: "\u{E09a}"
|
||||
readonly property string chevronLeft: "\u{E072}"
|
||||
readonly property string chevronRight: "\u{E073}"
|
||||
readonly property string cpu: "\u{E0ad}"
|
||||
readonly property string gpu: "\u{E66f}"
|
||||
readonly property string hardDrive: "\u{E0f1}"
|
||||
readonly property string memoryStick: "\u{E44a}"
|
||||
readonly property string pause: "\u{E132}"
|
||||
readonly property string play: "\u{E140}"
|
||||
readonly property string search: "\u{E155}"
|
||||
readonly property string skipBack: "\u{E163}"
|
||||
readonly property string skipForward: "\u{E164}"
|
||||
readonly property string stop: "\u{E132}"
|
||||
readonly property string square: "\u{E16B}"
|
||||
readonly property string wifiOff: "\u{E1af}"
|
||||
readonly property string wifiLow: "\u{E5fd}"
|
||||
readonly property string wifiHigh: "\u{E5fc}"
|
||||
readonly property string wifi: "\u{E1ae}"
|
||||
readonly property string triangle: "\u{E192}"
|
||||
readonly property string triangleDashed: "\u{E642}"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue