Skip to content

Commit

Permalink
disabled party mode (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
nahiyankhan authored Oct 10, 2024
1 parent c2247ec commit ce89127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/components/Settings.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ import ThemeToggle from "./ThemeToggle.astro";
</div>
<div class="flex items-center justify-between pb-2">
<button
class="relative flex h-5 w-full justify-between text-textProminent sm:h-7 sm:w-full"
class="disabled relative flex h-5 w-full justify-between text-textProminent line-through sm:h-7 sm:w-full"
type="button"
@click=""
disabled
>
<p class="text-textProminent">Randomize (A.K.A Party Mode)</p>
<p class="text-textProminent">Party Mode (Coming soon)</p>
<Icon
aria-hidden="true"
class="h-5 w-5 sm:h-7 sm:w-7"
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
"@apply md:scale-x-100": {},
},
},
"button": {
"button:not(.disabled)": {
"@apply redact": {},
"&::after": {
"@apply translate-x-[100%] w-[calc(100%+8px)] h-[calc(100%+16px)] w-full h-full top-0 left-0 duration-300": {},
Expand Down

0 comments on commit ce89127

Please sign in to comment.