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 136e3d0 commit 7d36854Copy full SHA for 7d36854
src/routes/tutorial/[slug]/filetree/Item.svelte
@@ -188,7 +188,23 @@
188
}
189
190
[aria-current='true'] {
191
- color: hsl(15, 100%, 50%);
+ color: var(--sk-theme-1);
192
193
194
+ [aria-current='true']::after {
195
+ content: '';
196
+ position: absolute;
197
+ width: 1rem;
198
+ height: 1rem;
199
+ top: 0.3rem;
200
+ right: calc(-0.6rem - 2px);
201
+ background-color: var(--sk-back-3);
202
+ border: 1px solid var(--sk-back-4);
203
+ transform: translate(0, 0.2rem) rotate(45deg);
204
+ z-index: 2;
205
+ }
206
+ [aria-current='true']:has(:focus-visible)::after,
207
+ :global(.mobile-filetree) [aria-current='true']::after {
208
+ display: none;
209
210
</style>
0 commit comments