Skip to content

Commit 6801f6b

Browse files
committed
more
1 parent cd50eb9 commit 6801f6b

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed
File renamed without changes.

packages/repl/src/lib/Editor/close-dark.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/repl/src/lib/Editor/codemirror.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,21 @@
185185
top: 0.5rem;
186186
right: 0.5rem;
187187
color: transparent;
188-
background: url(./close-light.svg) 50% 50% no-repeat;
189-
background-size: 1.8rem;
190188

191-
:root.dark & {
192-
background-image: url(./close-dark.svg);
189+
&::after {
190+
content: '';
191+
position: absolute;
192+
width: 100%;
193+
height: 100%;
194+
left: 0;
195+
top: 0;
196+
background: #666;
197+
mask: url(icons/close) 50% 50% no-repeat;
198+
mask-size: 1.8rem;
199+
}
200+
201+
:root.dark &::after {
202+
background: #d4d4d4;
193203
}
194204
}
195205

0 commit comments

Comments
 (0)