1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Added click event to theme change

This commit is contained in:
Eldad Fux 2020-02-17 12:37:49 +02:00
parent f079f48c38
commit 5cf6b3018c
4 changed files with 7 additions and 4 deletions

View file

@ -36,7 +36,10 @@
</div>
<div class="pull-end margin-end-tiny switch-theme">
<button data-general-theme>
<button data-general-theme
data-analytics-event="click"
data-analytics-category="console/header"
data-analytics-label="Switch Theme">
<i class="icon-sun-inv force-light"></i>
<i class="icon-moon-inv force-dark"></i>
</button>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1155,7 +1155,7 @@ ol {
}
.switch-theme {
background: var(--config-color-fade);
background: var(--config-color-fade-light);
border-radius: 19px;
height: 32px;
width: 44px;