summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2025-01-17 23:13:55 +0900
committerTomaž Vajngerl <quikee@gmail.com>2025-01-20 01:40:41 +0100
commita8e0de1b5d6dfc03a9fc4ed13cb7ec8a691a6772 (patch)
treeb9dd496b4dc5be51f4c245bbccceeff04a167552
parent24754a9270dcb8b26b9e772b849eed6e3ecb42dc (diff)
doctheme: add LibreOffice theme file to LO share folder
Change-Id: Ifa38b69739d82d1f2efdfca58a2e0d6f9ff69008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180416 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--Repository.mk1
-rw-r--r--svx/Module_svx.mk1
-rw-r--r--svx/Package_document_themes.mk16
-rw-r--r--svx/uiconfig/themes/libreoffice.theme18
4 files changed, 36 insertions, 0 deletions
diff --git a/Repository.mk b/Repository.mk
index 8ee7e623a7dd..0357827b13d5 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -1049,6 +1049,7 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo,\
Pyuno/mailmerge \
) \
sfx2_classification \
+ svx_document_themes \
$(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
$(if $(ENABLE_HTMLHELP),\
helpcontent2_html_dynamic \
diff --git a/svx/Module_svx.mk b/svx/Module_svx.mk
index ddf824cdf4bc..d89aaad42994 100644
--- a/svx/Module_svx.mk
+++ b/svx/Module_svx.mk
@@ -22,6 +22,7 @@ $(eval $(call gb_Module_Module,svx))
$(eval $(call gb_Module_add_targets,svx,\
Library_svx \
Library_svxcore \
+ Package_document_themes \
))
ifeq ($(gb_Side),host)
diff --git a/svx/Package_document_themes.mk b/svx/Package_document_themes.mk
new file mode 100644
index 000000000000..254292d9c45d
--- /dev/null
+++ b/svx/Package_document_themes.mk
@@ -0,0 +1,16 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Package_Package,svx_document_themes,$(SRCDIR)/svx/uiconfig/themes))
+
+$(eval $(call gb_Package_add_files_with_dir,svx_document_themes,$(LIBO_SHARE_FOLDER)/themes,\
+ libreoffice.theme \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/svx/uiconfig/themes/libreoffice.theme b/svx/uiconfig/themes/libreoffice.theme
new file mode 100644
index 000000000000..79bafcb486f6
--- /dev/null
+++ b/svx/uiconfig/themes/libreoffice.theme
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<theme name="LibreOffice">
+ <theme-colors name="LibreOffice">
+ <color name="dark1" color="#000000" />
+ <color name="light1" color="#ffffff" />
+ <color name="dark2" color="#000000" />
+ <color name="light2" color="#ffffff" />
+ <color name="accent1" color="#18a303" />
+ <color name="accent2" color="#0369a3" />
+ <color name="accent3" color="#a33e03" />
+ <color name="accent4" color="#8e03a3" />
+ <color name="accent5" color="#c99c00" />
+ <color name="accent6" color="#c9211e" />
+ <color name="hyperlink" color="#0000ee" />
+ <color name="followed-hyperlink" color="#551a8b" />
+ </theme-colors>
+</theme>