Skip to content

Commit 623b7b4

Browse files
authored
Fixed color of card symbol in solved state
Before the --fg-1 var was not being set in the solved state, leading to it having bad contrast and looking ugly in the solved state.
1 parent c4ef8b7 commit 623b7b4

File tree

1 file changed

+1
-0
lines changed
  • apps/svelte.dev/content/tutorial/01-svelte/07-classes-and-styles/02-styles/+assets/app-b/src/lib

1 file changed

+1
-0
lines changed

apps/svelte.dev/content/tutorial/01-svelte/07-classes-and-styles/02-styles/+assets/app-b/src/lib/App.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
style:--bg-1="palegoldenrod"
1111
style:--bg-2="black"
1212
style:--bg-3="goldenrod"
13+
style:--fg-1="black"
1314
onclick={() => flipped = !flipped}
1415
>
1516
<div class="front">

0 commit comments

Comments
 (0)