Skip to content

Commit da0d37e

Browse files
author
Guillaume Chau
committed
feat(ui): ItemLogo special vuejs styling
1 parent 83939c9 commit da0d37e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/@vue/cli-ui/src/components/ItemLogo.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
class="item-logo"
44
:class="{
55
selected,
6-
loaded
6+
loaded,
7+
vuejs: image && image.includes('vuejs')
78
}"
89
>
910
<div class="wrapper">
@@ -82,6 +83,15 @@ export default {
8283
>>> svg
8384
fill rgba($color-text-light, .3)
8485
86+
&.vuejs
87+
.wrapper
88+
background lighten($vue-color-primary, 70%)
89+
.image
90+
width 70%
91+
height @width
92+
position relative
93+
top 3px
94+
8595
&.loaded
8696
.image
8797
animation zoom .1s

0 commit comments

Comments
 (0)