-
Notifications
You must be signed in to change notification settings - Fork 1
fix: add @tailwindcss/vite and update dependencies #199
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
2735a79
a82a1da
b48fc37
081ede4
bd53d87
3b4795e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,35 @@ | ||
| @tailwind base; | ||
| @tailwind components; | ||
| @tailwind utilities; | ||
| @import "tailwindcss"; | ||
|
|
||
|
|
||
| @layer base { | ||
| html { | ||
| scroll-behavior: smooth; | ||
| } | ||
| @theme { | ||
|
|
||
| --color-light-50: oklch(97.95% 0.014 250.75); | ||
| --color-light-900: oklch(20.49% 0.038 264.38); | ||
| --color-dark-950: oklch(7.37% 0.019 285.85); | ||
| --color-dark-100: oklch(90.45% 0.02 285.85); | ||
| --color-teal-400: oklch(78.86% 0.162 174.21); | ||
| --color-teal-600: oklch(49.62% 0.104 181.28); | ||
| } | ||
|
Comment on lines
+3
to
+10
|
||
|
|
||
| body { | ||
| @apply bg-light-50 text-light-900 transition-colors duration-300; | ||
| } | ||
| html { | ||
| scroll-behavior: smooth; | ||
| } | ||
|
|
||
| .dark body { | ||
| @apply bg-dark-950 text-dark-100; | ||
| } | ||
| body { | ||
| background-color: var(--color-light-50); | ||
|
|
||
| color: var(--color-light-900); | ||
|
|
||
| transition: color 300ms, background-color 300ms; | ||
| } | ||
|
|
||
| @layer utilities { | ||
| .text-balance { | ||
| text-wrap: balance; | ||
| } | ||
| :is(.dark) body { | ||
|
|
||
| background-color: var(--color-dark-950); | ||
| color: var(--color-dark-100); | ||
| } | ||
|
|
||
| .gradient-text { | ||
| @apply bg-clip-text text-transparent bg-gradient-to-r from-teal-400 to-teal-600; | ||
| } | ||
| @utility text-balance { | ||
|
|
||
| text-wrap: balance; | ||
| } | ||
|
|
||
| @utility gradient-text { | ||
|
|
||
| background-clip: text; | ||
|
shazzar00ni marked this conversation as resolved.
|
||
| color: transparent; | ||
| background-image: linear-gradient(to right, var(--color-teal-400), var(--color-teal-600)); | ||
| } | ||
|
Comment on lines
+3
to
+37
Contributor
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. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "== Config files =="
fd -HI 'biome.json|biome.jsonc|stylelint.config.*|.stylelintrc*|package.json'
echo
echo "== Relevant settings =="
fd -HI 'biome.json|biome.jsonc|stylelint.config.*|.stylelintrc*|package.json' -x sh -c '
file="$1"
echo "--- $file ---"
rg -n -C2 "tailwindDirectives|ignoreAtRules|atRules|scss/at-rule-no-unknown|at-rule-no-unknown" "$file" || true
' sh {}Repository: shazzar00ni/docugen Length of output: 221 🏁 Script executed: cat -n biome.jsonRepository: shazzar00ni/docugen Length of output: 4216 🏁 Script executed: cat -n .stylelintrc.jsonRepository: shazzar00ni/docugen Length of output: 1689 🏁 Script executed: head -50 src/index.cssRepository: shazzar00ni/docugen Length of output: 871 Add Tailwind v4 directive support to CSS lint configurations. The
Without these changes, CSS linting will fail on the new directives during CI. 🧰 Tools🪛 Biome (2.4.14)[error] 3-10: Tailwind-specific syntax is disabled. (parse) [error] 27-29: Tailwind-specific syntax is disabled. (parse) [error] 31-35: Tailwind-specific syntax is disabled. (parse) 🪛 Stylelint (17.10.0)[error] 3-3: Unexpected unknown at-rule "@theme" (scss/at-rule-no-unknown) (scss/at-rule-no-unknown) [error] 27-27: Unexpected unknown at-rule "@Utility" (scss/at-rule-no-unknown) (scss/at-rule-no-unknown) [error] 31-31: Unexpected unknown at-rule "@Utility" (scss/at-rule-no-unknown) (scss/at-rule-no-unknown) 🤖 Prompt for AI Agents |
||
Uh oh!
There was an error while loading. Please reload this page.