diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2023-03-17 16:10:39 +0100 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-03-29 10:34:27 +0000 |
commit | 5675937f7564fa5614f7be5aec0d7f20ba91d02c (patch) | |
tree | bc1a8265c73e6d0cd9c0967363322e89c7a30d61 /sc/inc/viewopti.hxx | |
parent | 6d4917db0ec647561c3c02765765491e9ae2d8eb (diff) |
Resolves tdf#152184 - Application color should follow system color
This patch reverts the previously added "LibreOffice Dark" application color set and adds it to the automatic colors. Switching between light and dark changes the Automatic color accordingly instead switching to another color scheme. The added System Theme option makes Light/Dark follow the actual OS appearance.
Reverts 6dfc49bb6a72bf6bb79167b12f0d2d0c5a155d06 (Introduce dark color set),
546ad5d17d3e363b75337c336cfb2b2f8acc55e3 (color scheme translatable),
9f0cf00d29298ed55737928ec4dddc50ac850cd8 (Update view options string based on theme)
Change-Id: Ibf491f2e510fac5f1d27a7166560c4ec281d98d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149059
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc/inc/viewopti.hxx')
-rw-r--r-- | sc/inc/viewopti.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx index b5a15f016e1b..cd641198753b 100644 --- a/sc/inc/viewopti.hxx +++ b/sc/inc/viewopti.hxx @@ -59,6 +59,8 @@ enum ScVObjType #define MAX_OPT sal_uInt16(VOPT_CLIPMARKS)+1 #define MAX_TYPE sal_uInt16(VOBJ_TYPE_DRAW)+1 +// SC_STD_GRIDCOLOR is obsolete since tdf#152184 since GridColor == COL_AUTO +// converts now to either light or dark but still used on options > view > visual aids #define SC_STD_GRIDCOLOR COL_LIGHTGRAY // SvxGrid options with standard operators |