First little steps
This commit is contained in:
parent
56a48185c2
commit
f4051c9c51
2 changed files with 54 additions and 0 deletions
45
Theme/Style.qml
Normal file
45
Theme/Style.qml
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
pragma Singleton
|
||||||
|
import QtQuick
|
||||||
|
import Quickshell
|
||||||
|
import Quickshell.Io
|
||||||
|
|
||||||
|
Singleton {
|
||||||
|
id: root
|
||||||
|
|
||||||
|
/*
|
||||||
|
Preset sizes for font, radii, ?
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Font
|
||||||
|
property int fontExtraLarge: 32
|
||||||
|
property int fontLarge: 16
|
||||||
|
property int fontMedium: 14
|
||||||
|
property int fontSmall: 12
|
||||||
|
|
||||||
|
// Font weight
|
||||||
|
property int fontWeightRegular: 400
|
||||||
|
property int fontWeightMedium: 500
|
||||||
|
property int fontWeightBold: 700
|
||||||
|
|
||||||
|
// Radii
|
||||||
|
property int radiusLarge: 20
|
||||||
|
property int radiusMedium: 16
|
||||||
|
property int radiusSmall: 12
|
||||||
|
|
||||||
|
// Border
|
||||||
|
property int borderThin: 1
|
||||||
|
property int borderMedium: 2
|
||||||
|
property int borderThick: 3
|
||||||
|
|
||||||
|
// Spacing
|
||||||
|
property int spacingExtraLarge: 20
|
||||||
|
property int spacingLarge: 16
|
||||||
|
property int spacingMedium: 12
|
||||||
|
property int spacingSmall: 8
|
||||||
|
|
||||||
|
// Animation duration (ms)
|
||||||
|
property int animationFast: 150
|
||||||
|
property int animationNormal: 300
|
||||||
|
property int animationSlow: 500
|
||||||
|
}
|
||||||
|
|
||||||
9
shell.qml
Normal file
9
shell.qml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
import Quickshell
|
||||||
|
|
||||||
|
ShellRoot {
|
||||||
|
/*
|
||||||
|
Here we go, this is it. Rebuild time...
|
||||||
|
No spaghetti code, preset sizing, proper project structure
|
||||||
|
only "spawn" UI, do not do anything else here.
|
||||||
|
*/
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue