Skip to content

Commit

Permalink
feat(admin-ui): Make ThemeSwitcherComponent rtl-ready
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseinGhanbari committed Oct 14, 2023
1 parent 88a9177 commit bafb3fa
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,24 @@ button.theme-toggle {
left: 0px;
opacity: 1;
}

&.default.active {
color: #d6ae3f;
}

&.dark.active {
color: #ffdf3a;
}
}

:host-context([dir='rtl']) {
.theme-icon {
left: auto;
right: 6px;

&.active {
left: auto;
right: 0px;
}
}
}

0 comments on commit bafb3fa

Please sign in to comment.