Skip to content

Commit

Permalink
[twizzle] Fix color scheme calculation for TwizzleLink.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Jan 14, 2024
1 parent a6d8a4c commit 4ef4258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cubing/twisty/views/twizzle/TwizzleLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class TwizzleLink extends ManagedCustomElement {
background: this.options?.cdnForumTweaks
? "checkered-transparent"
: "checkered",
colorScheme: this.options?.colorScheme ? "dark" : "light",
colorScheme: this.options?.colorScheme === "dark" ? "dark" : "light",
...config,
viewerLink: isExplorer ? "experimental-twizzle-explorer" : "auto",
}),
Expand Down

0 comments on commit 4ef4258

Please sign in to comment.