From 13f83e02f881ddd8d3c4fb08a13515b75fffd401 Mon Sep 17 00:00:00 2001 From: Sandro Date: Fri, 29 Sep 2023 15:38:23 +0200 Subject: [PATCH] feat update styles2 --- angular.json | 20 +++++++++++++++++++ .../app-stv-spreitenbach/tailwind.config.js | 17 ---------------- .../app-stv-spreitenbach/tailwind.config.ts | 4 ++-- .../app-uhc-win-u/tailwind.config.js | 17 ---------------- .../app-uhc-win-u/tailwind.config.ts | 4 ++-- .../app-vbc-schaffhausen/tailwind.config.js | 17 ---------------- .../tailwind.config.ts} | 13 +++++++----- src/custom-themes/default/tailwind.config.js | 17 ---------------- .../custom-themes/default/tailwind.config.ts | 0 .../tailwind.config.app-kadetten-handball.js | 17 ---------------- .../tailwind.config.app-kadetten-unihockey.js | 17 ---------------- .../tailwind.config.app-stv-spreitenbach.js | 17 ---------------- .../tailwind.config.app-uhc-win-u.js | 17 ---------------- src/custom-themes/tailwind.config.default.js | 17 ---------------- 14 files changed, 32 insertions(+), 162 deletions(-) delete mode 100644 src/custom-themes/app-stv-spreitenbach/tailwind.config.js rename tailwind.config.app-kadetten-unihockey.ts => src/custom-themes/app-stv-spreitenbach/tailwind.config.ts (85%) delete mode 100644 src/custom-themes/app-uhc-win-u/tailwind.config.js rename tailwind.config.default.ts => src/custom-themes/app-uhc-win-u/tailwind.config.ts (85%) delete mode 100644 src/custom-themes/app-vbc-schaffhausen/tailwind.config.js rename src/custom-themes/{tailwind.config.app-vbc-schaffhausen.js => app-vbc-schaffhausen/tailwind.config.ts} (65%) delete mode 100644 src/custom-themes/default/tailwind.config.js rename tailwind.config.app-kadetten-handball.ts => src/custom-themes/default/tailwind.config.ts (100%) delete mode 100644 src/custom-themes/tailwind.config.app-kadetten-handball.js delete mode 100644 src/custom-themes/tailwind.config.app-kadetten-unihockey.js delete mode 100644 src/custom-themes/tailwind.config.app-stv-spreitenbach.js delete mode 100644 src/custom-themes/tailwind.config.app-uhc-win-u.js delete mode 100644 src/custom-themes/tailwind.config.default.js diff --git a/angular.json b/angular.json index f2b46174..b2b0d640 100644 --- a/angular.json +++ b/angular.json @@ -84,6 +84,10 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" + }, + { + "replace": "./tailwind.config.ts", + "with": "src/custom-themes/default/tailwind.config.ts" } ], "styles": [ @@ -129,6 +133,10 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" + }, + { + "replace": "./tailwind.config.ts", + "with": "src/custom-themes/default/tailwind.config.ts" } ], "styles": [ @@ -223,6 +231,10 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" + }, + { + "replace": "./tailwind.config.ts", + "with": "src/custom-themes/app-uhc-win-u/tailwind.config.ts" } ], "styles": [ @@ -268,6 +280,10 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" + }, + { + "replace": "./tailwind.config.ts", + "with": "src/custom-themes/app-stv-spreitenbach/tailwind.config.ts" } ], "styles": [ @@ -313,6 +329,10 @@ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" + }, + { + "replace": "./tailwind.config.ts", + "with": "src/custom-themes/app-vbc-schaffhausen/tailwind.config.ts" } ], "styles": [ diff --git a/src/custom-themes/app-stv-spreitenbach/tailwind.config.js b/src/custom-themes/app-stv-spreitenbach/tailwind.config.js deleted file mode 100644 index 0e39a7e5..00000000 --- a/src/custom-themes/app-stv-spreitenbach/tailwind.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#3677bc", - myclubdark: "#3677bc", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/tailwind.config.app-kadetten-unihockey.ts b/src/custom-themes/app-stv-spreitenbach/tailwind.config.ts similarity index 85% rename from tailwind.config.app-kadetten-unihockey.ts rename to src/custom-themes/app-stv-spreitenbach/tailwind.config.ts index 54a1548e..33ceebf0 100644 --- a/tailwind.config.app-kadetten-unihockey.ts +++ b/src/custom-themes/app-stv-spreitenbach/tailwind.config.ts @@ -10,8 +10,8 @@ export default { }, extend: { colors: { - myclublight: "#F89828", - myclubdark: "#F89828", + myclublight: "#3677bc", + myclubdark: "#3677bc", }, }, }, diff --git a/src/custom-themes/app-uhc-win-u/tailwind.config.js b/src/custom-themes/app-uhc-win-u/tailwind.config.js deleted file mode 100644 index 33d5e3fc..00000000 --- a/src/custom-themes/app-uhc-win-u/tailwind.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#EB1927", - myclubdark: "#EB1927", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/tailwind.config.default.ts b/src/custom-themes/app-uhc-win-u/tailwind.config.ts similarity index 85% rename from tailwind.config.default.ts rename to src/custom-themes/app-uhc-win-u/tailwind.config.ts index 7ffd13ca..07ff07b7 100644 --- a/tailwind.config.default.ts +++ b/src/custom-themes/app-uhc-win-u/tailwind.config.ts @@ -10,8 +10,8 @@ export default { }, extend: { colors: { - myclublight: "#EB6109", - myclubdark: "#EB6109", + myclublight: "#EB1927", + myclubdark: "#EB1927", }, }, }, diff --git a/src/custom-themes/app-vbc-schaffhausen/tailwind.config.js b/src/custom-themes/app-vbc-schaffhausen/tailwind.config.js deleted file mode 100644 index 53ef7b01..00000000 --- a/src/custom-themes/app-vbc-schaffhausen/tailwind.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#ffd000", - myclubdark: "#ffd000", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/src/custom-themes/tailwind.config.app-vbc-schaffhausen.js b/src/custom-themes/app-vbc-schaffhausen/tailwind.config.ts similarity index 65% rename from src/custom-themes/tailwind.config.app-vbc-schaffhausen.js rename to src/custom-themes/app-vbc-schaffhausen/tailwind.config.ts index 53ef7b01..9d4779c9 100644 --- a/src/custom-themes/tailwind.config.app-vbc-schaffhausen.js +++ b/src/custom-themes/app-vbc-schaffhausen/tailwind.config.ts @@ -1,7 +1,9 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], +import type { Config } from 'tailwindcss' + +export default { + content: [ + './src/app/pages/auth/**/*.{html,js}', + ], theme: { fontFamily: { sans: ["Roboto", '"Segoe UI"', "sans-serif"], @@ -14,4 +16,5 @@ module.exports = { }, }, plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; +} satisfies Config + diff --git a/src/custom-themes/default/tailwind.config.js b/src/custom-themes/default/tailwind.config.js deleted file mode 100644 index beadf87e..00000000 --- a/src/custom-themes/default/tailwind.config.js +++ /dev/null @@ -1,17 +0,0 @@ - -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#339BDE", - myclubdark: "#795DEB", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/tailwind.config.app-kadetten-handball.ts b/src/custom-themes/default/tailwind.config.ts similarity index 100% rename from tailwind.config.app-kadetten-handball.ts rename to src/custom-themes/default/tailwind.config.ts diff --git a/src/custom-themes/tailwind.config.app-kadetten-handball.js b/src/custom-themes/tailwind.config.app-kadetten-handball.js deleted file mode 100644 index 7e89b9f6..00000000 --- a/src/custom-themes/tailwind.config.app-kadetten-handball.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#EB6109", - myclubdark: "#EB6109", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/src/custom-themes/tailwind.config.app-kadetten-unihockey.js b/src/custom-themes/tailwind.config.app-kadetten-unihockey.js deleted file mode 100644 index d77b6e7c..00000000 --- a/src/custom-themes/tailwind.config.app-kadetten-unihockey.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#F89828", - myclubdark: "#F89828", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/src/custom-themes/tailwind.config.app-stv-spreitenbach.js b/src/custom-themes/tailwind.config.app-stv-spreitenbach.js deleted file mode 100644 index 0e39a7e5..00000000 --- a/src/custom-themes/tailwind.config.app-stv-spreitenbach.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#3677bc", - myclubdark: "#3677bc", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/src/custom-themes/tailwind.config.app-uhc-win-u.js b/src/custom-themes/tailwind.config.app-uhc-win-u.js deleted file mode 100644 index 33d5e3fc..00000000 --- a/src/custom-themes/tailwind.config.app-uhc-win-u.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#EB1927", - myclubdark: "#EB1927", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -}; diff --git a/src/custom-themes/tailwind.config.default.js b/src/custom-themes/tailwind.config.default.js deleted file mode 100644 index 342bc4cf..00000000 --- a/src/custom-themes/tailwind.config.default.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: "media", // or 'media' or 'class' - content: ["./src/**/*.{html,ts}"], - theme: { - fontFamily: { - sans: ["Roboto", '"Segoe UI"', "sans-serif"], - }, - extend: { - colors: { - myclublight: "#339BDE", - myclubdark: "#795DEB", - }, - }, - }, - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")], -};