From 7a889c53331c87c917ae4d6a54482936c273575c Mon Sep 17 00:00:00 2001 From: aeksandla Date: Mon, 25 Nov 2024 15:08:35 +0300 Subject: [PATCH] fix: change file with fonts --- README.md | 2 +- playwright/playwright/index.scss | 2 +- src/widget/styles.scss | 2 +- styles/fonts.scss | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 styles/fonts.scss diff --git a/README.md b/README.md index 059d0148d..f857f8b9e 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ To use mixins and constructor style variables when creating custom blocks, add i To use default font, add import in your file: ```css -@import '@gravity-ui/uikit/styles/fonts.css'; +@import '~@gravity-ui/page-constructor/styles/fonts.scss'; ``` ### Loadable blocks diff --git a/playwright/playwright/index.scss b/playwright/playwright/index.scss index 31a8f0581..83b412e1a 100644 --- a/playwright/playwright/index.scss +++ b/playwright/playwright/index.scss @@ -1,3 +1,3 @@ @import '../../styles/styles.scss'; -@import '@gravity-ui/uikit/styles/fonts.css'; +@import '../../styles/fonts.scss'; @import '../../styles/storybook/index.scss'; diff --git a/src/widget/styles.scss b/src/widget/styles.scss index 4c6ae957c..7745dd8f9 100644 --- a/src/widget/styles.scss +++ b/src/widget/styles.scss @@ -1,2 +1,2 @@ @import '../../styles/styles.scss'; -@import '@gravity-ui/uikit/styles/fonts.css'; +@import '../../styles/fonts.scss'; diff --git a/styles/fonts.scss b/styles/fonts.scss new file mode 100644 index 000000000..637a6e1cd --- /dev/null +++ b/styles/fonts.scss @@ -0,0 +1 @@ +@import '@gravity-ui/uikit/styles/fonts.css';