1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

Theming: Add alignment section

This commit removes the IsTitleCenter property and replaces it with
the TitleAlignment property that supports "Left", "Right" & "Center".
This commit is contained in:
Filiph Sandström 2022-01-01 18:26:19 +01:00 committed by Andreas Kling
parent 2bb32a87f9
commit 35dac843b4
21 changed files with 181 additions and 32 deletions

View file

@ -72,9 +72,11 @@ TooltipText=white
Tray=#171717
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=true
IsTitleCenter=false
[Metrics]
TitleHeight=24

View file

@ -68,9 +68,11 @@ TooltipText=black
Tray=#9397a5
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Paths]
TitleButtonIcons=/res/icons/themes/Coffee/16x16/

View file

@ -69,9 +69,11 @@ TooltipText=white
Tray=#212121
TrayText=#fcfcfc
[Alignments]
TitleAlignment=Center
[Flags]
IsDark=true
IsTitleCenter=true
[Metrics]
BorderRadius=8

View file

@ -64,6 +64,8 @@ TooltipText=white
Tray=#323232
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=true
IsTitleCenter=false

View file

@ -72,9 +72,11 @@ TooltipText=black
Tray=#808080
TrayText=#ffffff
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Metrics]
BorderThickness=4

View file

@ -72,9 +72,11 @@ TooltipText=black
Tray=#a28d68
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Metrics]
TitleHeight=19

View file

@ -64,6 +64,8 @@ TooltipText=black
Tray=#282828
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false

View file

@ -72,9 +72,11 @@ TooltipText=#4b4b4b
Tray=#3b3b3b
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Paths]
MenuShadow=/res/icons/themes/Redmond/menu-shadow.png

View file

@ -64,6 +64,8 @@ TooltipText=white
Tray=#3b4252
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=true
IsTitleCenter=false

View file

@ -72,9 +72,11 @@ TooltipText=black
Tray=#808080
TrayText=#ffffff
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Metrics]
TitleHeight=19

View file

@ -68,9 +68,11 @@ TooltipText=black
Tray=#808080
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Metrics]
TitleButtonWidth=17

View file

@ -68,9 +68,11 @@ TooltipText=black
Tray=#808080
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Metrics]
TitleButtonWidth=17

View file

@ -64,9 +64,11 @@ TooltipText=black
Tray=#3b3b3b
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Paths]
TitleButtonIcons=/res/icons/themes/Silver/16x16/

View file

@ -68,9 +68,11 @@ TooltipText=black
Tray=#9397a5
TrayText=white
[Alignments]
TitleAlignment=Left
[Flags]
IsDark=false
IsTitleCenter=false
[Paths]
TitleButtonIcons=/res/icons/themes/Sunshine/16x16/