Stylesheet fixes (#14749)

This commit is contained in:
MisterMaker
2024-07-15 23:26:28 +02:00
committed by GitHub
parent 2364a48cb9
commit 20f4a4c5a3
204 changed files with 2843 additions and 1163 deletions

View File

@@ -4,10 +4,10 @@ SET(PreferencePacks_Files
)
SET(PreferencePacks_Directories
"Classic"
"FreeCAD Classic"
"Dark behave"
"Light theme"
"Dark theme"
"FreeCAD Light"
"FreeCAD Dark"
)
ADD_CUSTOM_TARGET(PreferencePacks_data ALL

View File

@@ -5,6 +5,9 @@
<FCParamGroup Name="BaseApp">
<FCParamGroup Name="Preferences">
<FCParamGroup Name="Mod">
<FCParamGroup Name="Start">
<FCBool Name="FileCardUseStyleSheet" Value="0"/>
</FCParamGroup>
<FCParamGroup Name="Arch">
<FCUInt Name="WallColor" Value="3604403967"/>
<FCUInt Name="StructureColor" Value="2527705855"/>
@@ -128,6 +131,7 @@
<FCParamGroup Name="MainWindow">
<FCBool Name="TiledBackground" Value="0"/>
<FCText Name="StyleSheet"></FCText>
<FCText Name="OverlayActiveStyleSheet">Light Theme + Dark Background.qss</FCText>
</FCParamGroup>
</FCParamGroup>
</FCParamGroup>

View File

@@ -84,16 +84,9 @@
<FCParamGroup Name="OpenGL">
<FCBool Name="UseSoftwareOpenGL" Value="0"/>
</FCParamGroup>
<FCParamGroup Name="Mod">
<FCParamGroup Name="Start">
<FCUInt Name="BackgroundColor1" Value="556083711"/>
<FCUInt Name="BackgroundTextColor" Value="4059297279"/>
<FCUInt Name="PageColor" Value="876232959"/>
<FCUInt Name="PageTextColor" Value="4059297279"/>
<FCUInt Name="BoxColor" Value="1230002175"/>
<FCUInt Name="LinkColor" Value="4252898303"/>
<FCUInt Name="BackgroundColor2" Value="4278222847"/>
<FCBool Name="FileCardUseStyleSheet" Value="0"/>
</FCParamGroup>
<FCParamGroup Name="Arch">
<FCUInt Name="WallColor" Value="3604403967"/>
@@ -178,7 +171,7 @@
</FCParamGroup>
<FCParamGroup Name="MainWindow">
<FCBool Name="TiledBackground" Value="0"/>
<FCText Name="StyleSheet">Dark theme.qss</FCText>
<FCText Name="StyleSheet">FreeCAD Dark.qss</FCText>
<FCText Name="OverlayActiveStyleSheet">Dark Theme + Dark Background.qss</FCText>
</FCParamGroup>
</FCParamGroup>

View File

@@ -5,14 +5,7 @@
<FCParamGroup Name="Preferences">
<FCParamGroup Name="Mod">
<FCParamGroup Name="Start">
<FCUInt Name="BackgroundColor1" Value="2914369023"/>
<FCUInt Name="BackgroundTextColor" Value="556083711"/>
<FCUInt Name="PageColor" Value="4059297279"/>
<FCUInt Name="PageTextColor" Value="556083711"/>
<FCUInt Name="BoxColor" Value="3739412223"/>
<FCUInt Name="LinkColor" Value="995875839"/>
<FCUInt Name="BackgroundColor2" Value="4278255615"/>
<FCText Name="AutoloadModule">StartWorkbench</FCText>
<FCBool Name="FileCardUseStyleSheet" Value="0"/>
</FCParamGroup>
<FCParamGroup Name="Arch">
<FCUInt Name="WallColor" Value="2914369023"/>
@@ -208,7 +201,7 @@
<FCUInt Name="BaseColor" Value="3505127423"/>
</FCParamGroup>
<FCParamGroup Name="MainWindow">
<FCText Name="StyleSheet">Light theme.qss</FCText>
<FCText Name="StyleSheet">FreeCAD Light.qss</FCText>
<FCText Name="OverlayActiveStyleSheet">Light Theme + Light Background.qss</FCText>
</FCParamGroup>
</FCParamGroup>

View File

@@ -3,13 +3,13 @@
<name>Built-In Preference Packs</name>
<description>Preference Packs included with the FreeCAD distribution</description>
<version>1.0.0</version>
<maintainer email="email@freecad.org">MisterMaker</maintainer>
<maintainer email="email@FreeCAD.org">MisterMaker</maintainer>
<license file="../../LICENSE">LGPL2</license>
<url type="repository">https://github.com/FreeCAD/FreeCAD</url>
<content>
<preferencepack>
<name>Classic</name>
<name>FreeCAD Classic</name>
<type>Theme</type>
<description>Removes stylesheets, and applies the classic purple/gray background. Resets all colors to default</description>
<version>1.0.0</version>
@@ -19,22 +19,22 @@
<tag>classic theme</tag>
</preferencepack>
<preferencepack>
<name>Light theme</name>
<name>FreeCAD Light</name>
<type>Theme</type>
<description>Applies a basic light theme.</description>
<version>0.1.0</version>
<version>1.0.0</version>
<tag>built-in</tag>
<tag>background</tag>
<tag>light</tag>
<tag>light</tag>
</preferencepack>
<preferencepack>
<name>Dark theme</name>
<name>FreeCAD Dark</name>
<type>Theme</type>
<description>Applies a basic dark theme.</description>
<version>1.0.0</version>
<tag>built-in</tag>
<tag>background</tag>
<tag>dark</tag>
<tag>dark</tag>
</preferencepack>
</content>