feature: Move to ejs instead of twig

This commit is contained in:
Keith Solomon
2025-05-24 11:11:04 -05:00
parent 969760ac5d
commit bd7e54d7c7
9 changed files with 233 additions and 91 deletions

View File

@@ -1,4 +1,5 @@
/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
:root, :host {
@@ -6,11 +7,16 @@
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
--color-blue-400: oklch(70.7% 0.165 254.624);
--color-slate-900: oklch(20.8% 0.042 265.755);
--color-gray-200: oklch(92.8% 0.006 264.531);
--color-gray-800: oklch(27.8% 0.033 256.848);
--color-white: #fff;
--spacing: 0.25rem;
--text-base: 1rem;
--text-base--line-height: calc(1.5 / 1);
--text-4xl: 2.25rem;
--text-4xl--line-height: calc(2.5 / 2.25);
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
}
@@ -161,12 +167,39 @@
}
}
@layer utilities {
.block {
display: block;
.my-2 {
margin-block: calc(var(--spacing) * 2);
}
.my-4 {
margin-block: calc(var(--spacing) * 4);
}
.mb-2 {
margin-bottom: calc(var(--spacing) * 2);
}
.table {
display: table;
}
.border-collapse {
border-collapse: collapse;
}
.resize {
resize: both;
}
.border {
border-style: var(--tw-border-style);
border-width: 1px;
}
.text-4xl {
font-size: var(--text-4xl);
line-height: var(--tw-leading, var(--text-4xl--line-height));
}
.underline {
text-decoration-line: underline;
}
.outline {
outline-style: var(--tw-outline-style);
outline-width: 1px;
}
}
body {
width: 100%;
@@ -197,3 +230,21 @@ body {
a {
color: #00B7FF;
}
@property --tw-border-style {
syntax: "*";
inherits: false;
initial-value: solid;
}
@property --tw-outline-style {
syntax: "*";
inherits: false;
initial-value: solid;
}
@layer properties {
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
*, ::before, ::after, ::backdrop {
--tw-border-style: solid;
--tw-outline-style: solid;
}
}
}