Commit Graph

56 Commits

Author SHA1 Message Date
Furgo
04aea5e9f3 PrefPacks: reset font size in FreeCAD Classic theme 2025-02-02 09:08:29 +01:00
MisterMaker
a593893ccc [stylesheets] Gathering of stylesheet fixes (#18929)
* this is a workaround to remove caps

pelase ignore this hackery

* And now the caps are gone

* a bunch of small tweaks and fixes.

* Update FreeCAD Light.qss

updated menubar color light theme

* updated the buttons a tiny bit

* Fix for to short buttons.

Couldn't test it since my macro window is broken.

Co-Authored-By: Syres916 <46537884+Syres916@users.noreply.github.com>

* qspinbox disabled tweaks.

* Update FreeCAD Dark.qss

Tweaked the buttons a bit so they are more in line with the light theme.

* Update FreeCAD Dark.qss

small tweaks

* reversed the spreadsheet headers gradient for dark

* Update light with undo arrows position

Co-Authored-By: Syres916 <46537884+Syres916@users.noreply.github.com>

* Update undo buttons arrow position dark

Co-Authored-By: Syres916 <46537884+Syres916@users.noreply.github.com>

* added an offset to qcombobox

* removed the fix since it ruined every Qcombobox.

* Tabs update more clean less gradients.

* Update DlgMacroExecuteImp.cpp

fixing conflicts

* Update DlgMacroExecuteImp.cpp

* Delete DlgMacroExecuteImp.cpp

* Create DlgMacroExecuteImp.cpp

* Revert "Create DlgMacroExecuteImp.cpp"

This reverts commit 8de8f7506177d773bb356fd0e22a66466c25b668.

* Revert "Delete DlgMacroExecuteImp.cpp"

This reverts commit 41315f31abdad79afd4b696ee15c603de3e4a6a1.

* Revert "Update DlgMacroExecuteImp.cpp"

This reverts commit aa792291684e2d674f6961c641c8e2f8b9af12c8.

* Revert "Update DlgMacroExecuteImp.cpp"

This reverts commit e8376a8fdf11d7fd014f2c46f189afdca42833ce.

* Delete src/Gui/DlgMacroExecuteImp.cpp

* Update DlgMacroExecuteImp.cpp

finally realized what was going on lol

---------

Co-authored-by: Syres916 <46537884+Syres916@users.noreply.github.com>
2025-01-27 17:49:20 +01:00
Roy-043
bad2b8b046 PrefPacks: Add spreadsheet colors to classic theme
Fixes #17984.
2025-01-25 21:30:27 +01:00
Roy-043
f6f11ac429 Draft (and Pref Packs): fix snapcolor
Fixes #17978.
2025-01-08 18:11:42 +01:00
PaddleStroke
6780d8a514 Dark theme: tweak error color (#18468)
* Update FreeCAD Dark.cfg

* Update FreeCAD Dark.cfg

* Update FreeCAD Dark.cfg
2024-12-13 13:55:17 +01:00
Roy-043
72fcf9cba3 Remove more prefs 2024-11-17 11:06:43 +01:00
Roy-043
f30335305e Sort files to facilitate file comparison 2024-11-15 11:29:31 +01:00
Roy-043
87069c87e5 Removal of rogue preferences
Removal of more rogue preferences
2024-11-15 11:26:06 +01:00
Roy-043
dc1550b8da Gui: FreeCAD Light PreferencePack should not change PickRadius 2024-11-11 21:15:08 +01:00
Benjamin Bræstrup Sayoc
954bae725e [Gui] Make styles update on paint (#17376)
* [Gui] Make styles update on paint

Fixes #15756. Similar implementation to that already in FileCardDelegate.cpp

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-28 16:48:47 +01:00
MisterMakerNL
1ad2bfde55 changed selection colors 2024-09-09 17:44:21 +02:00
Benjamin Bræstrup Sayoc
e7f6aa1852 [Gui] QtStyle preference consistency
Previously, the some of the code searched for the QtStyle in the wrong location
2024-09-06 10:34:04 +02:00
MisterMaker
ec3adf5fa0 set QTstyle to fusion for light and dark theme (#16042) 2024-09-02 18:34:09 +02:00
obelisk79
8739120893 Update post.FCMacro to allow proper application of Classic theme
This removes unnecessary code to allow proper setting of "No Stylesheet" when applying classic theme.
2024-08-31 00:45:28 -05:00
obelisk79
0607d6685b add missing start WB values 2024-08-25 23:11:29 -04:00
obelisk79
542b0077ed Resolving discrepancies. 2024-08-25 23:08:28 -04:00
obelisk79
334fa5ca57 Fix FreeCAD Classic cfg file to explicitly reassign theme defaults. 2024-08-21 07:31:00 -04:00
Syres916
69dac76a3f [Gui] Remove the disabling of CornerCoordinateSystem 2024-08-12 11:42:51 -04:00
Syres916
2995e6aeb7 [Gui] Ensure FreeCAD Classic theme is properly reset...
... but doesn't click Done and so when Preferences>General is opened the Theme displayed in the combobox is always FreeCAD Classic
2024-08-12 11:42:51 -04:00
MisterMaker
7db8e118b7 Stylesheet-fixes V: The final frontier (#15742) 2024-08-05 11:07:49 -05:00
MisterMaker
c4bb689a85 Stylesheet fixes part IV - A new hope (to be done for 1.0) (#15586)
* Qcolor dialog fixes

* Fix for white hoover on tabbar

* Changes active color and selected feature color

* update same colors in cfg

* fix for tab pan in material editor

* some fixes

mostly theme accent colors fixes.

* fixed text edit being cut off

https://github.com/FreeCAD/FreeCAD/issues/15603

* extend arrow fix

https://github.com/FreeCAD/FreeCAD/issues/15616

* checkboxes links qpushbuttons etc.

Fixed https://github.com/FreeCAD/FreeCAD/issues/15610#event-13642470770
and hopefully also
https://github.com/FreeCAD/FreeCAD/issues/15136#issuecomment-2254156398

* fixed selection-text color in the preference menu also White is white.

* forgot checkbox spacing for light

* colors update

fix for https://github.com/FreeCAD/FreeCAD/issues/15660#event-13670498420
and
https://github.com/FreeCAD/FreeCAD/issues/15620#issuecomment-2251144435

* Delete CMakeSettings.json

* get out of here

* title a tat higher

* change rubberband from white to blue to make it work with white background.

* setting the colors.

* tree colors
2024-07-29 17:31:17 -05:00
MisterMaker
3a32ae9985 Stylesheet fixes (#14749) 2024-07-15 16:26:28 -05:00
FEA-eng
de508e437d Remove QtStyle preference when applying Classic theme (#15168) 2024-07-08 13:44:08 -04:00
MisterMaker
6cdb38f975 (GUI) Delete dark behave. (#14827) 2024-07-01 11:11:00 -05:00
MisterMaker
b205922c42 Default stylesheets revision + clean-up (#13772)
* Added the new QSS file with images

Added the new QSS file with images

* fixed some disabled colors to be the same everywhere.

* update

* big update fixed the scrollbars and lots more.

* small tweaks

* small fixes

* fixed groupbox in qsint

* Added light classic

This light theme is basicallyt exactly no-stylesheet.

* fixed the tabs

* fixed background reportview

* updated overlay stylesheets

* Added preference settings from Opentheme @obelisk79

* tabbar tweaks

* forgot the gradients on dark

* Overlay stylesheets clean-up +move icon to folder.

* removing old stylesheets

removing old stylesheets

* it was icons not icon, fixed it.

* updated cmake and package.xml

* to many spaces

* removing old theme's

* updated default overlay qss

* removed my settings files

* updated cfg files

* Bunch of fixes

I compiled it and didn't see any issues anymore. Could be some discussions about the new startpage thumbnails.

* fixed up double arrows and the correct logo!

* updated the work file for the icons

* Sets no-stylesheet overlay to a stylesheet.

* type in cmakelist

* type in filename

* oeps did set the dark theme

* Update OverlayManager.cpp

I removed a bit to much reverting this line

* fixed text color issue in Qsint on the light theme and dark background

* Update Light Theme + Dark Background.qss

Fine tuning the treeview it now works good for ligth theme and dark brackgrounds.

* removed prodark added back Behave dark overlay

@Syres916 I deleted the overlay qss behave dark by accident.
But you might want to check this PR out since it changes a lot.

I deleted Pro-dark since it was not updated and is outdated and it looks also a lot like the default dark.

* Update Light Theme + Light Background.qss

Fixes

* small fixes

small fixes

* remove ProDark

* Update CMakeLists.txt

* changed the thumbnails

Also removed teh dimensions in the filename since that got annoying real fast :)

* Updated other overlay stylesheets

* missing extension

* cleanup and some fixes to the overlay.

* Update Dark Theme + Light Background.qss

udpated the dark theme overaly with light background for all you maniacs who use this.

* Title bar fix for windows

This makes it so that it uses black title bar in windows if you have dark mode

* updated white background and some colors

* I think I fix merge issue now.

* Some cleanup on the thumbnails

* Create CMakePresets.json

* idk

* trying to fix conflicts

* removing old themes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Some fixes for Qsint sketcher toolbars icons

* fixed merge issue with maingui

* trying to fix merge conflicts

* and removing again.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-13 22:13:05 -05:00
Chris Hennes
15b612ebca Themes: Explicitly remove Editor/Text setting in Classic 2024-05-05 13:46:14 +02:00
Chris Hennes
cfb0873d38 Start: Migrate to simple command 2024-04-21 22:27:50 -05:00
Max Wilfinger
2a264241dc change default shape color 2024-02-18 14:12:22 -06:00
MisterMaker
5401e856df [Overlay/Stylesheets] Add seperate Overlay stylesheets for default stylesheets. (#11005)
Added the overlays to the preference packs also made the editor text a bit darker.
2023-10-16 11:13:28 -03:00
qewer33
65a826dbfc Change default StartPage BackgroundTextColor value 2023-08-28 16:50:19 +03:00
Paddle
d65495e20e Create themes for Behave-Dark, ProDark, Dark-Contrast. Rename other themes to remove 'theme' from name. 2023-08-15 14:35:39 +02:00
Paddle
fd8965767f Replace Darker-color, Dark-modern-color, light-color, light-modern-color by stylesheets using variables. 2023-08-15 14:35:39 +02:00
Paddle
2818c60f6d Stylesheet : Replace Dark-color by single Dark stylesheet. 2023-08-15 14:35:34 +02:00
Paddle
0636d7d19e Add 'type' metadata to build-in themes preference packs. 2023-08-07 10:52:08 -06:00
MisterMaker
125406a764 [Stylesheets] Sliders and some cleanup. (#9910)
Improve sliders and checkboxes

* Delete CMakePresets.json
* Delete VSInheritEnvironments.txt
* Fix for calltips transparant issue https://github.com/FreeCAD/FreeCAD/pull/9715#issuecomment-1633146515
* removed inkscape from a bunch of svg files
* Small bug grid color for draft workbench was to dark.
* The sketcher colors are added.
* The transparant calltips: https://github.com/FreeCAD/FreeCAD/pull/9715#issuecomment-1633146515
* There were some corner dots that I removed.
* I fixed the splitter not working with hovering.
* I also removed the extra dark splitter background, so now you won't see the splitters unless you hover over them.
* Also fixed the url label color.
* These fixes can be tested true the theme's beta addon.
* added preference packs
* Fix for transparant in Qwidget disabled. https://github.com/FreeCAD/FreeCAD/issues/10077
2023-08-07 10:05:00 -06:00
Haas
21d5b19fa4 cleaned the cfg files and changed selection color and background. 2023-07-06 21:25:59 +02:00
Haas
32518d8dc0 Set default shape color back to standard
was white
2023-07-03 19:06:43 +02:00
Haas
00b00a40c0 forgot to rename the cfg files 2023-06-17 08:46:25 +02:00
Haas
25720f287d fixed typo 2023-06-13 17:54:38 +02:00
Haas
9be0f548bb changed names!
Classic to classic theme
Also added some extra tags.
2023-06-08 19:44:58 +02:00
Haas
fc1f101882 Removed Freecad and colors from the classic theme.
Otherwise if you keep naming the same you'll get "Freecad Dark colors" and "Freecad light colors" now it is:
Dark
Light
Classic
2023-06-05 20:14:25 +02:00
Haas
2b31c5d016 tabs 2023-06-05 09:22:55 +02:00
Haas
9472bd2212 updated CmakeLists 2023-06-05 09:22:39 +02:00
Haas
95deb1a1b3 Merge branch 'master' of https://github.com/MisterMakerNL/FreeCAD_MisterMaker 2023-06-03 22:50:13 +02:00
Haas
20fd162828 some fixes 2023-06-03 22:47:40 +02:00
MisterMaker
1f305dc3cb Merge branch 'master' into master 2023-06-03 12:17:50 +02:00
Haas
c285fa5a85 spelling mistake also added more stylesheets and 2 preference packs 2023-06-03 11:18:28 +02:00
Chris Hennes
c9655d6441 Path: Remove DefaultExtentsColor 2023-06-02 19:19:09 -08:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
xtemp09
81cfe34085 [GUI] Radial gradient implementation
This commit implements radial gradient as background and adds the option
to settings. It also renames "Color gradient" as "Linear gradient",
keeping Linear gradient default. Internally, it remains unchanged for
compatibility.

Radio gradient is more suitable for CAD, since it gives a more balanced
color distribution across the screen, improving visibility of model and
sketches with a halo-like effect.
2023-04-02 16:33:01 +07:00