From d7328bb0873bd5ff981d843717b3e140b56b049b Mon Sep 17 00:00:00 2001 From: Seph Date: Wed, 17 Apr 2024 22:20:46 +0200 Subject: [PATCH] Anmeldungsmodal --- tailwind/tailwind.config.js | 9 ++++----- theme/components/raid-signup.php | 4 +++- theme/theme.json | 5 +++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/tailwind/tailwind.config.js b/tailwind/tailwind.config.js index 458e02f..ad3e078 100644 --- a/tailwind/tailwind.config.js +++ b/tailwind/tailwind.config.js @@ -15,8 +15,7 @@ module.exports = { darkMode: 'class', theme: { // Extend the default Tailwind theme. - extend: { - }, + extend: {}, }, corePlugins: { // Disable Preflight base styles in builds targeting the editor. @@ -38,7 +37,7 @@ module.exports = { const colorUtilities = {}; const colors = theme('colors'); const themecolors = themejson().config.theme.extend.colors; - for (const color in themecolors){ + for (const color in themecolors) { colorUtilities[`.btn-${color}`] = { '--btn-color': themecolors[color] } @@ -75,8 +74,8 @@ module.exports = { ], safelist: [ { pattern: /btn-([a-zA-Z]+)$/ }, - { pattern: /bg-([a-zA-Z]+)$/, variants: ['has-\[\:checked\]']}, - { pattern: /text-([a-zA-Z]+)$/, variants: ['hover', 'group-hover','has-\[\:checked\]'] }, + { pattern: /bg-([a-zA-Z]+)$/, variants: ['has-\[\:checked\]'] }, + { pattern: /text-([a-zA-Z]+)$/, variants: ['hover', 'group-hover', 'has-\[\:checked\]'] }, { pattern: /shadow-([a-zA-Z]+)$/ }, { pattern: /border-([a-zA-Z]+)$/ }, ] diff --git a/theme/components/raid-signup.php b/theme/components/raid-signup.php index 3686d3d..afacab5 100644 --- a/theme/components/raid-signup.php +++ b/theme/components/raid-signup.php @@ -11,10 +11,11 @@ use WoWPress\Frontend\ToggleButton;
diff --git a/theme/theme.json b/theme/theme.json index 83522ed..8f6bae3 100644 --- a/theme/theme.json +++ b/theme/theme.json @@ -98,6 +98,11 @@ "slug": "alliance", "color": "#f7941e", "name": "Allianz" + }, + { + "slug": "deepblue", + "color": "#000032", + "name": "Tiefblau" } ] },