UX: correct colour to nav instead of danger (#18515)

This commit is contained in:
chapoi 2022-10-08 01:06:20 +02:00 committed by GitHub
parent ec65f3c1ad
commit 7009f9c95e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<div class="themes-list-header"> <div class="themes-list-header">
<DButton @action={{action "changeView"}} @actionParam={{this.THEMES}} @class={{concat "themes-tab " "tab " (if this.themesTabActive "btn-danger active" "")}} @label="admin.customize.theme.title" /> <DButton @action={{action "changeView"}} @actionParam={{this.THEMES}} @class={{concat "themes-tab " "tab " (if this.themesTabActive "active" "")}} @label="admin.customize.theme.title" />
<DButton @action={{action "changeView"}} @actionParam={{this.COMPONENTS}} @class={{concat "components-tab " "tab " (if this.componentsTabActive "btn-danger active" "")}} @label="admin.customize.theme.components" @icon="puzzle-piece" /> <DButton @action={{action "changeView"}} @actionParam={{this.COMPONENTS}} @class={{concat "components-tab " "tab " (if this.componentsTabActive "active" "")}} @label="admin.customize.theme.components" @icon="puzzle-piece" />
</div> </div>
<div class="themes-list-container"> <div class="themes-list-container">

View File

@ -189,6 +189,8 @@
text-align: center; text-align: center;
&.active { &.active {
background-color: var(--quaternary);
color: var(--secondary);
font-weight: 700; font-weight: 700;
} }
} }