Added click event to theme change
This commit is contained in:
parent
f079f48c38
commit
5cf6b3018c
|
@ -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>
|
||||
|
|
2
public/dist/styles/default-ltr.css
vendored
2
public/dist/styles/default-ltr.css
vendored
File diff suppressed because one or more lines are too long
2
public/dist/styles/default-rtl.css
vendored
2
public/dist/styles/default-rtl.css
vendored
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue