diff --git a/app/globals.css b/app/globals.css index 5160eb1..e2d3a98 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,6 +1,57 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import 'tailwindcss'; + +@plugin "@tailwindcss/typography"; +@plugin "@tailwindcss/forms"; + +@theme { + --color-*: initial; + --color-primary-500: #fbdf24; + + --color-secondary-500: #0909ff; + + --color-warning-500: #f715f7; + + --color-slate-100: #f2f2f2; + --color-slate-300: #f5f5f5; + --color-slate-500: #cccccc; + --color-slate-700: #737373; + + --color-white: #ffffff; + --color-black: #010209; + --color-transparent: transparent; + --color-current-color: currentColor; + + --text-2xl: 1.9em; + --text-2xl--line-height: 1.14em; + --text-3xl: 2.8em; + --text-3xl--line-height: 1.14em; + --text-4xl: 3em; + --text-4xl--line-height: 1.14em; + + --font-sans: var(--font-corbert), sans-serif; + --font-icon: var(--font-glyphter); + + --width-122: 122%; + --width-300: 300%; +} + +/* + 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); + } +} svg#hero { transition: all 3.2s cubic-bezier(0.19, 1, 0.22, 1) 0s; diff --git a/app/trainings/page.tsx b/app/trainings/page.tsx index da1c809..1842434 100644 --- a/app/trainings/page.tsx +++ b/app/trainings/page.tsx @@ -27,7 +27,7 @@ export default function Trainings() { )}
-
+
Do you have a training that you want featured on this here? diff --git a/components/src/card/card.tsx b/components/src/card/card.tsx index 6018164..e33496f 100644 --- a/components/src/card/card.tsx +++ b/components/src/card/card.tsx @@ -101,7 +101,7 @@ export function Card({