diff options
author | Filiph Sandström <filiph.sandstrom@filfatstudios.com> | 2022-01-01 18:26:19 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-01 22:51:53 +0100 |
commit | 35dac843b4d6c252f37bf77fc410d8fce55f6cdb (patch) | |
tree | 60c074c8a04b09c4a610fa575d956f23a8e8f594 /Base/res/themes | |
parent | 2bb32a87f9b942c90afef871603e3d5e3b851255 (diff) | |
download | serenity-35dac843b4d6c252f37bf77fc410d8fce55f6cdb.zip |
Theming: Add alignment section
This commit removes the IsTitleCenter property and replaces it with
the TitleAlignment property that supports "Left", "Right" & "Center".
Diffstat (limited to 'Base/res/themes')
-rw-r--r-- | Base/res/themes/Basalt.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Coffee.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Cupertino.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Dark.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Default.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Desert.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Faux Pas.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Light.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Nord.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Plum.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Redmond 2000.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Redmond.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Silver.ini | 4 | ||||
-rw-r--r-- | Base/res/themes/Sunshine.ini | 4 |
14 files changed, 42 insertions, 14 deletions
diff --git a/Base/res/themes/Basalt.ini b/Base/res/themes/Basalt.ini index 5a90d3ae7c..2f21743ba0 100644 --- a/Base/res/themes/Basalt.ini +++ b/Base/res/themes/Basalt.ini @@ -72,9 +72,11 @@ TooltipText=white Tray=#171717 TrayText=white +[Alignments] +TitleAlignment=Left + [Flags] IsDark=true -IsTitleCenter=false [Metrics] TitleHeight=24 diff --git a/Base/res/themes/Coffee.ini b/Base/res/themes/Coffee.ini index f3687373bd..5bad31b49f 100644 --- a/Base/res/themes/Coffee.ini +++ b/Base/res/themes/Coffee.ini @@ -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/ diff --git a/Base/res/themes/Cupertino.ini b/Base/res/themes/Cupertino.ini index c7356b7e9e..5f6040746c 100644 --- a/Base/res/themes/Cupertino.ini +++ b/Base/res/themes/Cupertino.ini @@ -69,9 +69,11 @@ TooltipText=white Tray=#212121 TrayText=#fcfcfc +[Alignments] +TitleAlignment=Center + [Flags] IsDark=true -IsTitleCenter=true [Metrics] BorderRadius=8 diff --git a/Base/res/themes/Dark.ini b/Base/res/themes/Dark.ini index 8ea09f8f32..c936a1fbac 100644 --- a/Base/res/themes/Dark.ini +++ b/Base/res/themes/Dark.ini @@ -64,6 +64,8 @@ TooltipText=white Tray=#323232 TrayText=white +[Alignments] +TitleAlignment=Left + [Flags] IsDark=true -IsTitleCenter=false diff --git a/Base/res/themes/Default.ini b/Base/res/themes/Default.ini index 4ec1509ab6..d57a48c777 100644 --- a/Base/res/themes/Default.ini +++ b/Base/res/themes/Default.ini @@ -72,9 +72,11 @@ TooltipText=black Tray=#808080 TrayText=#ffffff +[Alignments] +TitleAlignment=Left + [Flags] IsDark=false -IsTitleCenter=false [Metrics] BorderThickness=4 diff --git a/Base/res/themes/Desert.ini b/Base/res/themes/Desert.ini index 5912958e7c..e91fcfb03f 100644 --- a/Base/res/themes/Desert.ini +++ b/Base/res/themes/Desert.ini @@ -72,9 +72,11 @@ TooltipText=black Tray=#a28d68 TrayText=white +[Alignments] +TitleAlignment=Left + [Flags] IsDark=false -IsTitleCenter=false [Metrics] TitleHeight=19 diff --git a/Base/res/themes/Faux Pas.ini b/Base/res/themes/Faux Pas.ini index a3085e4e03..ae210e0a60 100644 --- a/Base/res/themes/Faux Pas.ini +++ b/Base/res/themes/Faux Pas.ini @@ -64,6 +64,8 @@ TooltipText=black Tray=#282828 TrayText=white +[Alignments] +TitleAlignment=Left + [Flags] IsDark=false -IsTitleCenter=false diff --git a/Base/res/themes/Light.ini b/Base/res/themes/Light.ini index a9ae51fe74..cfd9ec4a55 100644 --- a/Base/res/themes/Light.ini +++ b/Base/res/themes/Light.ini @@ -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 diff --git a/Base/res/themes/Nord.ini b/Base/res/themes/Nord.ini index b4882a0e10..9279f421af 100644 --- a/Base/res/themes/Nord.ini +++ b/Base/res/themes/Nord.ini @@ -64,6 +64,8 @@ TooltipText=white Tray=#3b4252 TrayText=white +[Alignments] +TitleAlignment=Left + [Flags] IsDark=true -IsTitleCenter=false diff --git a/Base/res/themes/Plum.ini b/Base/res/themes/Plum.ini index 4c490d7e71..d44eac931e 100644 --- a/Base/res/themes/Plum.ini +++ b/Base/res/themes/Plum.ini @@ -72,9 +72,11 @@ TooltipText=black Tray=#808080 TrayText=#ffffff +[Alignments] +TitleAlignment=Left + [Flags] IsDark=false -IsTitleCenter=false [Metrics] TitleHeight=19 diff --git a/Base/res/themes/Redmond 2000.ini b/Base/res/themes/Redmond 2000.ini index 3f96557802..1cc8f12a6b 100644 --- a/Base/res/themes/Redmond 2000.ini +++ b/Base/res/themes/Redmond 2000.ini @@ -68,9 +68,11 @@ TooltipText=black Tray=#808080 TrayText=white +[Alignments] +TitleAlignment=Left + [Flags] IsDark=false -IsTitleCenter=false [Metrics] TitleButtonWidth=17 diff --git a/Base/res/themes/Redmond.ini b/Base/res/themes/Redmond.ini index 130263b82a..22f6279da1 100644 --- a/Base/res/themes/Redmond.ini +++ b/Base/res/themes/Redmond.ini @@ -68,9 +68,11 @@ TooltipText=black Tray=#808080 TrayText=white +[Alignments] +TitleAlignment=Left + [Flags] IsDark=false -IsTitleCenter=false [Metrics] TitleButtonWidth=17 diff --git a/Base/res/themes/Silver.ini b/Base/res/themes/Silver.ini index cf94405217..db9ba8ecf0 100644 --- a/Base/res/themes/Silver.ini +++ b/Base/res/themes/Silver.ini @@ -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/ diff --git a/Base/res/themes/Sunshine.ini b/Base/res/themes/Sunshine.ini index c5e49932d7..60bec13595 100644 --- a/Base/res/themes/Sunshine.ini +++ b/Base/res/themes/Sunshine.ini @@ -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/ |