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
+4 -1
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>
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
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;