We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f70260 commit a573b1dCopy full SHA for a573b1d
packages/app-frontend/src/AppConnecting.vue
@@ -2,6 +2,7 @@
2
<div
3
id="app"
4
class="app-connecting"
5
+ :class="`theme-${theme}`"
6
>
7
<div class="animation-outer">
8
<div class="animation-inner">
@@ -15,6 +16,18 @@
15
16
</div>
17
</template>
18
19
+<script>
20
+import { isChrome } from '@utils/env'
21
+
22
+export default {
23
+ data () {
24
+ return {
25
+ theme: isChrome ? chrome.devtools.panels.themeName : 'light'
26
+ }
27
28
+}
29
+</script>
30
31
<style lang="stylus" scoped>
32
.app-connecting
33
width 100%
@@ -23,6 +36,9 @@
36
align-items center
37
justify-content center
38
39
+ &.theme-dark
40
+ background $vue-ui-color-almost-black
41
42
.animation-inner
43
padding 28px 24px 16px
44
background rgba($vue-ui-color-primary, .1)
0 commit comments