From 112c5f9b0de55c5249c0b7c2a9dff7311087ae8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Baumg=C3=A4rtner?= Date: Tue, 16 Jan 2024 08:51:35 +0100 Subject: [PATCH] added styling for headlines fixed font-color dark mode bug --- src/app.pcss | 19 +++++++++++++------ vin-theme | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/app.pcss b/src/app.pcss index 5cefc85..9040f6d 100644 --- a/src/app.pcss +++ b/src/app.pcss @@ -57,17 +57,24 @@ } * { - @apply tracking-tight text-gray-950 transition-all; + @apply tracking-tight transition-all; } h1 { - @apply mb-6; + @apply mb-6 text-6xl font-bold; +} +h2 { + @apply font-bold; } -html, body { +/* html, body { @apply bg-gray-50; -} +} */ -p { - @apply text-gray-500; +/* p { + @apply text-surface-400; +} */ + +.card { + @apply ring-0; } \ No newline at end of file diff --git a/vin-theme b/vin-theme index aa371d2..24b7df4 100644 --- a/vin-theme +++ b/vin-theme @@ -7,7 +7,7 @@ export const vinTheme: CustomThemeConfig = { // =~= Theme Properties =~= "--theme-font-family-base": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`, "--theme-font-family-heading": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`, - "--theme-font-color-base": "var(--color-surface-400)", + "--theme-font-color-base": "var(--color-surface-500)", "--theme-font-color-dark": "var(--color-surface-50)", "--theme-rounded-base": "12px", "--theme-rounded-container": "12px",