-
-
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.
fix(site): updating and fixing up tailwind v4 issues
- Loading branch information
Showing
6 changed files
with
80 additions
and
72 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
plugins: { | ||
"@tailwindcss/postcss": {}, | ||
}, | ||
}; |
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,40 +1,76 @@ | ||
@import "tailwindcss/preflight"; | ||
@import "tailwindcss/utilities"; | ||
@import "tailwindcss"; | ||
@plugin "@tailwindcss/typography"; | ||
|
||
@theme { | ||
--color-aurelia: #ed2b88; | ||
--color-aurelia-light: #ff4da1; | ||
--color-aurelia-blue: #003f8c; | ||
--color-aurelia-blue-light: #0066cc; | ||
|
||
--animation-float-slow: float 8s ease-in-out infinite; | ||
--animation-float-delayed: float 6s ease-in-out infinite 2s; | ||
--animation-grid: grid 20s linear infinite; | ||
--animation-pulse: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; | ||
--animation-pulse-slow: pulse 8s cubic-bezier(0.4, 0, 0.6, 1) infinite; | ||
--animation-pulse-slower: pulse 12s cubic-bezier(0.4, 0, 0.6, 1) infinite; | ||
--animation-pulse-delayed: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite 2s; | ||
} | ||
|
||
@layer keyframes { | ||
@keyframes float { | ||
0%, | ||
100% { | ||
transform: translateY(0) rotate(0); | ||
} | ||
50% { | ||
transform: translateY(-20px) rotate(5deg); | ||
} | ||
} | ||
@keyframes grid { | ||
0% { | ||
transform: translateY(0); | ||
} | ||
100% { | ||
transform: translateY(-100%); | ||
} | ||
} | ||
} | ||
|
||
@layer utilities { | ||
.animate-float { | ||
animation: float 8s ease-in-out infinite; | ||
} | ||
|
||
.animate-float-delayed { | ||
animation: float 8s ease-in-out infinite; | ||
animation-delay: -4s; | ||
} | ||
|
||
.animate-gradient-x { | ||
background-size: 200% 100%; | ||
animation: gradient-x 15s ease infinite; | ||
} | ||
|
||
.animate-gradient-x-fast { | ||
animation-duration: 8s; | ||
} | ||
|
||
@keyframes float { | ||
0%, 100% { | ||
0%, | ||
100% { | ||
transform: translateY(0) scale(1); | ||
} | ||
50% { | ||
transform: translateY(-20px) scale(1.05); | ||
} | ||
} | ||
|
||
@keyframes gradient-x { | ||
0%, 100% { | ||
0%, | ||
100% { | ||
background-position: 0% 50%; | ||
} | ||
50% { | ||
background-position: 100% 50%; | ||
} | ||
} | ||
} | ||
} |
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