move lucide to Styling
This commit is contained in:
parent
9fc91a92f7
commit
467c9bc0e3
23 changed files with 91 additions and 135 deletions
|
|
@ -6,6 +6,7 @@ import Quickshell
|
|||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property Lucide lucide: Lucide {}
|
||||
readonly property Animations animations: Animations {}
|
||||
|
||||
component Animations: QtObject {
|
||||
|
|
@ -18,4 +19,47 @@ Singleton {
|
|||
property int slow: 400
|
||||
property int verySlow: 1000
|
||||
}
|
||||
|
||||
component Lucide: Item {
|
||||
|
||||
readonly property alias font: loader.font
|
||||
readonly property LucideIcons icons: LucideIcons {}
|
||||
|
||||
FontLoader {
|
||||
id: loader
|
||||
source: "../assets/lucide.woff"
|
||||
}
|
||||
}
|
||||
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}"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,6 @@ import Quickshell.Io
|
|||
Singleton {
|
||||
id: root
|
||||
|
||||
property var lucide: FontLoader {
|
||||
source: "../assets/lucide.woff"
|
||||
}
|
||||
property string fontFamily: "JetBrainsMono Nerd Font"
|
||||
property var palette: theme.palette
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue