Skip to content

Commit cfa77e8

Browse files
author
Bård Øien
committed
Implement green headers in light mode, grey in dark
1 parent c4cdcfa commit cfa77e8

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

src/devtools/components/ScrollPane.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ export default {
4545
flex-direction column
4646
height 100%
4747
48+
.header
49+
background $white
50+
51+
.app.dark &
52+
background transparent
53+
4854
.scroll
4955
flex 1
5056
overflow auto

src/devtools/components/SplitPane.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ export default {
5555
.left, .right
5656
position relative
5757
58+
.right
59+
background darken($white, 10%)
60+
61+
.app.dark &
62+
background transparent
63+
5864
.left
5965
border-right 1px solid $border-color
6066
.app.dark &

src/devtools/components/StateInspector.vue

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,31 +64,36 @@ export default {
6464
@import "../variables"
6565
6666
.data-wrapper
67-
padding 10px 0 20px 0
68-
background darken($white, 10%)
67+
padding 10px 0
6968
7069
.app.dark &
7170
background $slate
7271
73-
.data-fields
74-
padding 20px
75-
background $white
76-
border-bottom-left-radius 3px
77-
border-bottom-right-radius 3px
78-
79-
.app.dark &
80-
border 1px solid $green
81-
background transparent
82-
8372
.data-el
84-
margin-bottom 10px
85-
padding 0px 10px
73+
margin 0 10px 10px 10px
8674
font-size 14px
75+
box-shadow 0px 0px 5px darken($white, 20%)
76+
77+
.app.dark &
78+
box-shadow none
8779
8880
.data-type
8981
color $white
9082
background $green
9183
padding 5px 10px 5px 20px
9284
border-top-left-radius 3px
9385
border-top-right-radius 3px
86+
87+
.app.dark &
88+
background $dark-border-color
89+
90+
.data-fields
91+
padding 20px
92+
background $white
93+
border-radius 3px
94+
95+
.app.dark &
96+
border 1px solid $dark-border-color
97+
background transparent
98+
9499
</style>

0 commit comments

Comments
 (0)