From f2365c5045220abec74ac94339d7ed769f416b45 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 30 Oct 2024 15:44:25 +0100 Subject: [PATCH] Fix style dependencies --- alfa-client/apps/admin/src/styles.scss | 8 -------- alfa-client/libs/design-system/.storybook/styles.scss | 1 - .../libs/design-system/src/lib/tailwind-preset/root.css | 8 ++++++++ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/alfa-client/apps/admin/src/styles.scss b/alfa-client/apps/admin/src/styles.scss index 96c11f976f..4e5a7a5c68 100644 --- a/alfa-client/apps/admin/src/styles.scss +++ b/alfa-client/apps/admin/src/styles.scss @@ -16,11 +16,3 @@ body.dark { @include mat.all-component-colors($alfaDarkTheme); } - -.heading-1 { - @apply text-3xl font-medium text-text; -} - -.heading-2 { - @apply py-4 text-2xl font-medium text-text; -} diff --git a/alfa-client/libs/design-system/.storybook/styles.scss b/alfa-client/libs/design-system/.storybook/styles.scss index 070e34c4f9..03c83ce927 100644 --- a/alfa-client/libs/design-system/.storybook/styles.scss +++ b/alfa-client/libs/design-system/.storybook/styles.scss @@ -1,2 +1 @@ @import '../src/lib/tailwind-preset/root.css'; -@import '../../../apps/admin/src/styles.scss'; diff --git a/alfa-client/libs/design-system/src/lib/tailwind-preset/root.css b/alfa-client/libs/design-system/src/lib/tailwind-preset/root.css index 22790260b6..b0c20faa76 100644 --- a/alfa-client/libs/design-system/src/lib/tailwind-preset/root.css +++ b/alfa-client/libs/design-system/src/lib/tailwind-preset/root.css @@ -80,3 +80,11 @@ .blur-dialog-backdrop { @apply bg-gray-400 bg-opacity-75 backdrop-blur-sm transition-opacity dark:bg-gray-500 dark:bg-opacity-75; } + +.heading-1 { + @apply text-3xl font-medium text-text; +} + +.heading-2 { + @apply py-4 text-2xl font-medium text-text; +} -- GitLab