[LyX/master] Introducing color themes
Scott Kostyshak
skostysh at lyx.org
Sun Mar 2 14:07:09 UTC 2025
On Wed, Feb 26, 2025 at 01:19:54AM +0000, Koji Yokota wrote:
> commit bb15f649ce05a4c6e2af5ff0baf7055477639c16
> Author: Koji Yokota <yokota at lyx.org>
> Date: Wed Feb 26 10:15:42 2025 +0900
>
> Introducing color themes
>
> development/cmake/Install.cmake | 3 +-
> lib/Makefile.am | 6 +
> lib/configure.py | 2 +-
> lib/doc/Customization.lyx | 42 ++-
> lib/themes/Default.theme | 90 +++++++
> lib/themes/Monochrome.theme | 90 +++++++
> lib/themes/Solarized.theme | 90 +++++++
> src/frontends/qt/ColorCache.cpp | 41 ++-
> src/frontends/qt/ColorCache.h | 5 +-
> src/frontends/qt/ColorListWidget.cpp | 43 +++
> src/frontends/qt/ColorListWidget.h | 43 +++
> src/frontends/qt/GuiPrefs.cpp | 494 ++++++++++++++++++++++++++++++++---
> src/frontends/qt/GuiPrefs.h | 81 +++++-
> src/frontends/qt/Makefile.am | 2 +
> src/frontends/qt/ui/PrefColorsUi.ui | 437 ++++++++++++++++++++++++++++---
> src/frontends/qt/ui/PrefsUi.ui | 4 +-
> 16 files changed, 1386 insertions(+), 87 deletions(-)
> --
I think due to this when I open Tools > Preferences I get in the terminal:
support/FileName.cpp (464): Directory '/home/scott/lyxbuilds/master-master/user-dirthemes' does not exist!
The message goes away with the following change:
- usr_theme_dir.set((package().user_support().absFileName() + "themes").c_str());
+ usr_theme_dir.set((package().user_support().absFileName() + "/themes").c_str());
But I don't know if the fix is needed elsewhere or more centrally. Any idea?
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250302/55244c2e/attachment.sig>
More information about the lyx-devel
mailing list