fix: empty svg when dark (#7203)

This commit is contained in:
云游君 2022-04-17 23:55:02 +08:00 committed by GitHub
parent 0aabc18db7
commit 56bbb81f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -88,9 +88,6 @@
height="36"
/>
<g id="Rectangle-Copy-17" transform="translate(53.000000, 45.000000)">
<mask :id="`mask-4-${id}`" fill="white">
<use :xlink:href="`#path-3-${id}`" />
</mask>
<use
id="Mask"
fill="var(--el-empty-fill-color-8)"
@ -102,7 +99,7 @@
fill="var(--el-empty-fill-color-9)"
:mask="`url(#mask-4-${id})`"
transform="translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) "
points="7 0 24 0 20 18 -1.70530257e-13 16"
points="7 0 24 0 20 18 7 16.5"
/>
</g>
<polygon

View File

@ -178,11 +178,11 @@ $empty: map.merge(
'fill-color-2': #34363b,
'fill-color-3': #1e1e20,
'fill-color-4': #171719,
'fill-color-5': #3b3c42,
'fill-color-5': #202124,
'fill-color-6': #373a3e,
'fill-color-7': #191c1f,
'fill-color-8': #202225,
'fill-color-9': #171719,
'fill-color-9': #202225,
),
$empty
);