We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd50eb9 commit 6801f6bCopy full SHA for 6801f6b
packages/repl/src/lib/Editor/close-light.svg renamed to packages/icons/icons/close.svg
packages/repl/src/lib/Editor/close-dark.svg
packages/repl/src/lib/Editor/codemirror.css
@@ -185,11 +185,21 @@
185
top: 0.5rem;
186
right: 0.5rem;
187
color: transparent;
188
- background: url(./close-light.svg) 50% 50% no-repeat;
189
- background-size: 1.8rem;
190
191
- :root.dark & {
192
- background-image: url(./close-dark.svg);
+ &::after {
+ content: '';
+ position: absolute;
+ 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;
203
}
204
205
0 commit comments