refactor: rename Tailwind files

pull/243/head
Josh Moore 1 year ago
parent 5f6eccd098
commit 1562e7af67

@ -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(),

@ -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 {}

@ -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 {}

@ -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 {}
Loading…
Cancel
Save