From 1562e7af67cffd85020b2f351975c40b178ebb0b Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Sat, 30 Sep 2023 00:07:06 -0600 Subject: [PATCH] refactor: rename Tailwind files --- backend/app.ts | 2 +- tailwind.css | 32 ++++++++++++++------------------ tailwind.old.css | 33 +++++++++++++++++++++++++++++++++ tailwind2.css | 29 ----------------------------- 4 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 tailwind.old.css delete mode 100644 tailwind2.css diff --git a/backend/app.ts b/backend/app.ts index f31d63b..7389563 100644 --- a/backend/app.ts +++ b/backend/app.ts @@ -98,7 +98,7 @@ async function main() { // CSS app.use('/.css', epcss({ - cssPath: path.join('tailwind2.css'), + cssPath: path.join('tailwind.css'), plugins: [ tailwindcss, (await import('autoprefixer')).default(), diff --git a/tailwind.css b/tailwind.css index 4a52983..07a21b6 100644 --- a/tailwind.css +++ b/tailwind.css @@ -5,29 +5,25 @@ @layer base {} @layer components { - .res-media { - @apply border-l-4 rounded max-h-half-port; + .setup-text-section-header { + @apply text-2xl font-bold font-mono; } - .link { - @apply no-underline hover_no-underline active_no-underline visited_no-underline - - /* regular, visited */ - text-link-primary visited_text-link-primary - border-b-2 visited_border-b-2 - border-transparent visited_border-transparent - rounded-sm visited_rounded-sm + .setup-text-item-title { + @apply text-stone-300; + } - /* hover */ - hover_text-link-hover - hover_border-hover + .setup-text-optional { + @apply text-stone-400 italic; + } - /* active */ - active_text-link-active + .setup-panel { + @apply flex flex-col pt-4 w-full max-w-xs; + } - /* transitions */ - ease-linear duration-150 transition-all; + .setup-panel>sl-input { + @apply mb-4; } } -@layer utilities {} +@layer utilities {} \ No newline at end of file diff --git a/tailwind.old.css b/tailwind.old.css new file mode 100644 index 0000000..4a52983 --- /dev/null +++ b/tailwind.old.css @@ -0,0 +1,33 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base {} + +@layer components { + .res-media { + @apply border-l-4 rounded max-h-half-port; + } + + .link { + @apply no-underline hover_no-underline active_no-underline visited_no-underline + + /* regular, visited */ + text-link-primary visited_text-link-primary + border-b-2 visited_border-b-2 + border-transparent visited_border-transparent + rounded-sm visited_rounded-sm + + /* hover */ + hover_text-link-hover + hover_border-hover + + /* active */ + active_text-link-active + + /* transitions */ + ease-linear duration-150 transition-all; + } +} + +@layer utilities {} diff --git a/tailwind2.css b/tailwind2.css deleted file mode 100644 index 07a21b6..0000000 --- a/tailwind2.css +++ /dev/null @@ -1,29 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -@layer base {} - -@layer components { - .setup-text-section-header { - @apply text-2xl font-bold font-mono; - } - - .setup-text-item-title { - @apply text-stone-300; - } - - .setup-text-optional { - @apply text-stone-400 italic; - } - - .setup-panel { - @apply flex flex-col pt-4 w-full max-w-xs; - } - - .setup-panel>sl-input { - @apply mb-4; - } -} - -@layer utilities {} \ No newline at end of file