mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-05-29 17:12:04 +00:00
First little steps
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user