Skip to content

Commit

Permalink
fix: Status loading dots now have correct color in wow-classic (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakroma committed Feb 21, 2020
1 parent f386e00 commit 888090e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions ui/assets/img/ui/status-loading-wow-classic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion ui/components/ui/status.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div :class="[{ offline }, theme.status]" class="status">
<img src="/img/ui/status-loading.svg" class="ico-h-24" alt="loading">
<img :src="themeName === 'wow-classic' ? '/img/ui/status-loading-wow-classic.svg' : '/img/ui/status-loading.svg'" class="ico-h-24" alt="loading">
<p>{{ offline ? 'Connecting to the NexusHub API...' : 'Connected!' }}</p>
</div>
</template>
Expand All @@ -15,6 +15,9 @@ export default {
theme () {
return getTheme(this)
},
themeName () {
return getTheme(this, true)
},
offline () {
return this.$store.state.api.offline
}
Expand Down
2 changes: 1 addition & 1 deletion ui/styles/partials/wow-classic/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ $color-subtle-dark: rgba(70, 60, 57, 0.4);
$color-font-paragraph: #ccc9bb;
$color-font-body: #b7b1a1;
$color-font-error: #ffd9c4;
$color-font-subtle: #7a7766;
$color-font-subtle: #807871;

0 comments on commit 888090e

Please sign in to comment.