File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed
packages/@vue/cli-ui-addon-webpack/src/components Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 7
7
</div >
8
8
<div class =" value" >{{ $t(`org.vue.vue-webpack.dashboard.webpack-status.${status || 'Idle'}`) }}</div >
9
9
</div >
10
- <div class =" info-block errors" >
10
+ <div
11
+ class =" info-block errors"
12
+ :class =" {
13
+ emphasize: errors.length
14
+ }"
15
+ >
11
16
<div class =" label" >
12
17
{{ $t('org.vue.vue-webpack.dashboard.build-status.labels.errors') }}
13
18
</div >
14
19
<div class =" value" >{{ errors.length }}</div >
15
20
</div >
16
- <div class =" info-block warnings" >
21
+ <div
22
+ class =" info-block warnings"
23
+ :class =" {
24
+ emphasize: warnings.length
25
+ }"
26
+ >
17
27
<div class =" label" >
18
28
{{ $t('org.vue.vue-webpack.dashboard.build-status.labels.warnings') }}
19
29
</div >
@@ -103,4 +113,13 @@ export default {
103
113
display grid
104
114
grid-template-columns repeat (3 , 1 fr )
105
115
grid-gap $padding-item
116
+
117
+ .info-block
118
+ & .emphasize
119
+ .value
120
+ font-weight bold
121
+ & .errors .value
122
+ color $vue-ui-color-danger !important
123
+ & .warnings .value
124
+ color $vue-ui-color-warning !important
106
125
</style >
You can’t perform that action at this time.
0 commit comments