-
Notifications
You must be signed in to change notification settings - Fork 0
/
OpenmostTheme.php
55 lines (51 loc) · 2.55 KB
/
OpenmostTheme.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\OpenmostTheme;
use Piwik\Plugin;
class OpenmostTheme extends Plugin
{
public function registerEvents()
{
return [
'Theme.configureThemeVariables' => 'configureThemeVariables',
];
}
public function configureThemeVariables(Plugin\ThemeStyles $vars)
{
$vars->fontFamilyBase = 'Sora, sans-serif';
$vars->colorBrand = '#426CDA'; // Buttons + Sort indicator + datatable options
$vars->colorBrandContrast = '#FFFFFF'; // Buttons text color
$vars->colorText = '#AEAFBB'; // Cards title + cards title + button controls text
$vars->colorTextLight = '#AEAFBB'; // Info logo (card i logo tooltip)
$vars->colorTextLighter = '#FFFFFF'; // Annotation italic date indication color
$vars->colorTextContrast = '#FFFFFF'; // Table headings text color
$vars->colorLink = '#426CDA'; // Link colors
$vars->colorBaseSeries = '#FF0006';
$vars->colorHeadlineAlternative = '#FFFFFF'; // Page text on body (out of components)
$vars->colorHeaderBackground = '#1C1F41'; // Header nav background color
$vars->colorHeaderText = '#FFFFFF'; // Header nav text color
$vars->colorMenuContrastText = '#AEAFBB'; // Sidebar menu text color
$vars->colorMenuContrastTextSelected = '#FFFFFF'; // Sidebar menu hover active text color
$vars->colorMenuContrastTextActive = '#FFFFFF'; // Sidebar menu hover text color
$vars->colorMenuContrastBackground = '#1C1F41'; // Sidebar menu items background color
$vars->colorWidgetExportedBackgroundBase = '#FF0005';
$vars->colorWidgetTitleText = '#ffffff'; // Widget title color
$vars->colorWidgetTitleBackground = '#1C1F41'; // Widget title background color
$vars->colorWidgetBackground = '#1C1F41'; // Widget background color
$vars->colorWidgetBorder = '#1C1F41'; // Widget border color
$vars->colorBackgroundBase = '#161830'; // Body color
$vars->colorBackgroundTinyContrast = '#282A4B'; //Table hover color
$vars->colorBackgroundLowContrast = '#FF0004';
$vars->colorBackgroundContrast = '#1C1F41'; //Table cell color
$vars->colorBackgroundHighContrast = '#00FFF0';
$vars->colorBorder = '#161830'; // Progress bar border
$vars->colorCode = '#e685b5'; // <code> color
$vars->colorCodeBackground = 'transparent'; // <code> background color
}
}