Skip to content
Source
Sign inSign up
TanStack/cli

Convert CSS variables to Tailwind 4 theme variables #432

Openmaurer2(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/432/headopened

Showing 7 changed files with 14 additions and 9 deletions (loading 4).

x
0 of 7 viewed, 7 left
5 additions and 0 deletions.changeset/tailwind-theme-compatible.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/create': patch
+---
+​
+Use Tailwind theme utilities while preserving existing scaffold color variables for add-ons and light and dark themes.
3 additions and 3 deletionspackages/create/src/frameworks/react/project/base/src/components/Footer.tsx.ejsModified
View file
@@ -3,7 +3,7 @@
const year = new Date().getFullYear()
​
return (
- <footer className="mt-20 border-t border-[var(--line)] px-4 pb-14 pt-10 text-[var(--sea-ink-soft)]">
+ <footer className="mt-20 border-t border-line px-4 pb-14 pt-10 text-sea-ink-soft">
<div className="page-wrap flex flex-col items-center justify-between gap-4 text-center sm:flex-row sm:text-left">
<p className="m-0 text-sm">&copy; {year} Your name here. All rights reserved.</p>
<p className="island-kicker m-0">Built with TanStack Start</p>
@@ -13,7 +13,7 @@
href="https://x.com/tan_stack"
target="_blank"
rel="noreferrer"
- className="rounded-xl p-2 text-[var(--sea-ink-soft)] transition hover:bg-[var(--link-bg-hover)] hover:text-[var(--sea-ink)]"
+ className="rounded-xl p-2 text-sea-ink-soft transition hover:bg-link-bg-hover hover:text-sea-ink"
<span className="sr-only">Follow TanStack on X</span>
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32">
@@ -27,7 +27,7 @@
href="https://github.com/TanStack"