Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2017-11-20 01:22:54 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-11-20 01:22:54 +0300
commit80214a868e174808ff3b34640add33bd5d4f089a (patch)
tree30d454bff1ff2afcf97b51a14164839fd1b920cf /plugins
parent23249e9eec85350e7464eac3ec90450b2614e3c7 (diff)
Add possibility for themes to change text color in header (#12204)
* fixes #12201 add possibility to change text color in header * fix screenshot * fix typo in changelog
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/stylesheets/layout.less2
-rw-r--r--plugins/ExampleTheme/stylesheets/theme.less1
-rw-r--r--plugins/Morpheus/stylesheets/theme.less1
3 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CoreHome/stylesheets/layout.less b/plugins/CoreHome/stylesheets/layout.less
index 4be7e63dc7..c757fb4a15 100644
--- a/plugins/CoreHome/stylesheets/layout.less
+++ b/plugins/CoreHome/stylesheets/layout.less
@@ -47,6 +47,8 @@ nav {
}
ul a {
+ color: @theme-color-header-text !important;
+
&:hover {
text-decoration: none;
}
diff --git a/plugins/ExampleTheme/stylesheets/theme.less b/plugins/ExampleTheme/stylesheets/theme.less
index ee7491395e..8aae5b7e4d 100644
--- a/plugins/ExampleTheme/stylesheets/theme.less
+++ b/plugins/ExampleTheme/stylesheets/theme.less
@@ -3,6 +3,7 @@
@theme-color-brand: #5793d4;
@theme-color-background-base: #d9e0e3;
@theme-color-header-background: #0091ea;
+@theme-color-header-text: #0d0d0d;
@theme-color-widget-title-background: #80d8ff;
@theme-color-widget-title-text: #01579b;
diff --git a/plugins/Morpheus/stylesheets/theme.less b/plugins/Morpheus/stylesheets/theme.less
index dacc68042f..84ef814657 100644
--- a/plugins/Morpheus/stylesheets/theme.less
+++ b/plugins/Morpheus/stylesheets/theme.less
@@ -16,6 +16,7 @@
@theme-color-headline-alternative: #4E4E4E;
@theme-color-header-background: #37474f;
+@theme-color-header-text: @color-white;
@theme-color-menu-contrast-text: @theme-color-text;
@theme-color-menu-contrast-textSelected: @theme-color-menu-contrast-text;