-
Notifications
You must be signed in to change notification settings - Fork 355
Switch hover back to default; minor styles adjustment #2431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
c52ade7
425f62f
87ac90e
ff7dacc
0f46839
ff3a2ba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| @import "tailwindcss"; | ||
|
|
||
| @theme { | ||
| @theme static { | ||
| --color-gray-50: #f5f5f5; | ||
| --color-gray-100: #e5eaea; | ||
| --color-gray-200: #d4d6d8; | ||
|
|
@@ -40,7 +40,9 @@ | |
| --color-deploy-800: #002633; | ||
| --color-deploy-900: #001319; | ||
| --color-deploy-950: #000a0d; | ||
| } | ||
|
|
||
| @theme { | ||
| --color-code-1: #01c2ff; | ||
| --color-code-2: #00a341; | ||
| --color-code-3: #ae01ff; | ||
|
|
@@ -80,6 +82,7 @@ | |
| } | ||
|
|
||
| @variant dark (&:where(.dark, .dark *)); | ||
| @custom-variant hover (&:hover); | ||
| @custom-variant current (&:where([aria-current])); | ||
| @custom-variant sidebar-open (&:where([data-open=true])); | ||
|
|
||
|
|
@@ -1017,11 +1020,6 @@ | |
| @apply text-deploy-500 decoration-deploy-500/20 hover:decoration-deploy-500; | ||
| } | ||
|
|
||
| .learn-link { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are actually changes that got missed from a separate PR but that have no visible effect. We don't need the |
||
| @apply flex dark:text-foreground-primary gap-3 items-center font-normal | ||
| underline underline-offset-4; | ||
| } | ||
|
|
||
| .help-link { | ||
| @apply text-purple-600 dark:text-purple-300 decoration-purple-600/20 | ||
| dark:decoration-purple-300/20 dark:hover:decoration-purple-300 | ||
|
|
@@ -1650,12 +1648,12 @@ | |
| } | ||
|
|
||
| .runtime-cta { | ||
| @apply no-underline text-gray-900! bg-runtime-300 border-0 | ||
| @apply no-underline! text-gray-900! bg-runtime-300 border-0 | ||
| hover:bg-runtime-200; | ||
| } | ||
|
|
||
| .deploy-cta { | ||
| @apply no-underline text-gray-900!; | ||
| @apply no-underline! text-gray-900!; | ||
| @apply bg-deploy-300 rounded-full border-0 hover:bg-deploy-200; | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ensures our default theme color variables are not tree-shaken. Adds a tiny bit of extra CSS to the final output, but lets you play with all the variables in the browser as needed.