-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
348 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,66 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@import 'tailwindcss'; | ||
|
||
:root { | ||
--background: #ffffff; | ||
--foreground: #171717; | ||
} | ||
@config '../../tailwind.config.ts'; | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--background: #0a0a0a; | ||
--foreground: #ededed; | ||
/* | ||
The default border color has changed to `currentColor` in Tailwind CSS v4, | ||
so we've added these compatibility styles to make sure everything still | ||
looks the same as it did with Tailwind CSS v3. | ||
If we ever want to remove these styles, we need to add an explicit border | ||
color utility to any element that depends on these defaults. | ||
*/ | ||
|
||
@layer base { | ||
*, | ||
::after, | ||
::before, | ||
::backdrop, | ||
::file-selector-button { | ||
border-color: var(--color-gray-200, currentColor); | ||
} | ||
} | ||
|
||
body { | ||
color: var(--foreground); | ||
background: var(--background); | ||
font-family: Arial, Helvetica, sans-serif; | ||
@utility btnPrimaryLarge { | ||
@apply rounded-sm bg-blue-500 px-4 py-2 font-bold text-white; | ||
} | ||
|
||
@layer components { | ||
.btnPrimaryLarge { | ||
@apply rounded bg-blue-500 px-4 py-2 font-bold text-white; | ||
} | ||
.btnPrimarySmall { | ||
@apply rounded bg-blue-500 px-2 py-1 font-bold text-white; | ||
} | ||
.btnOutlineLarge { | ||
@apply rounded border border-blue-500 px-4 py-2 font-bold text-blue-500; | ||
} | ||
.btnOutlineSmall { | ||
@apply rounded border border-blue-500 px-2 py-1 font-bold text-blue-500; | ||
@utility btnPrimarySmall { | ||
@apply rounded-sm bg-blue-500 px-2 py-1 font-bold text-white; | ||
} | ||
|
||
@utility btnOutlineLarge { | ||
@apply rounded-sm border border-blue-500 px-4 py-2 font-bold text-blue-500; | ||
} | ||
|
||
@utility btnOutlineSmall { | ||
@apply rounded-sm border border-blue-500 px-2 py-1 font-bold text-blue-500; | ||
} | ||
|
||
@utility btnOpenLarge { | ||
@apply rounded-sm bg-blue-500 px-4 py-2 font-bold text-white; | ||
} | ||
|
||
@utility btnOpenSmall { | ||
@apply rounded-sm bg-blue-500 px-2 py-1 font-bold text-white; | ||
} | ||
|
||
@layer utilities { | ||
:root { | ||
--background: #ffffff; | ||
--foreground: #171717; | ||
} | ||
.btnOpenLarge { | ||
@apply rounded bg-blue-500 px-4 py-2 font-bold text-white; | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--background: #0a0a0a; | ||
--foreground: #ededed; | ||
} | ||
} | ||
.btnOpenSmall { | ||
@apply rounded bg-blue-500 px-2 py-1 font-bold text-white; | ||
|
||
body { | ||
color: var(--foreground); | ||
background: var(--background); | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
} |
Oops, something went wrong.