aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.css
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-03-12 14:34:09 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-03-12 14:34:09 +0100
commit42f50e7a0c3f28cec5a88d4b518258791b76c24f (patch)
treedd3c5fe48823d09bc73cb1b8f2276133df56bcb9 /src/app.css
parent700e612df8535882de222051d95906c5369d2b5a (diff)
downloadmem-estrogen-zone-42f50e7a0c3f28cec5a88d4b518258791b76c24f.tar.gz
mem-estrogen-zone-42f50e7a0c3f28cec5a88d4b518258791b76c24f.tar.bz2
mem-estrogen-zone-42f50e7a0c3f28cec5a88d4b518258791b76c24f.tar.lz
mem-estrogen-zone-42f50e7a0c3f28cec5a88d4b518258791b76c24f.zip

feat: upgrade tailwind

Diffstat (limited to 'src/app.css')
-rw-r--r--src/app.css32
1 files changed, 29 insertions, 3 deletions
diff --git a/src/app.css b/src/app.css
index e920bfb..0199fc9 100644
--- a/src/app.css
+++ b/src/app.css
@@ -7,6 +7,32 @@
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@import 'tailwindcss';
+
+@theme {
+ --font-bios:
+ 'Ac437 IBM EGA 8x14', 'Hack', 'Courier New', 'Courier', 'monospace';
+ --font-grub:
+ 'Px437 DOS/V re. JPN12', 'Ac437 IBM EGA 8x14', 'Hack', 'Courier New',
+ 'Courier', 'monospace';
+ --font-mono:
+ 'PxPlus IBM EGA 8x14', 'Hack', 'Courier New', 'Courier', 'monospace';
+}
+
+/*
+ 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);
+ }
+}