From 658836dfdf76eadfa3616ca9f00bebc74954cc17 Mon Sep 17 00:00:00 2001 From: EugiSma Date: Mon, 18 Mar 2024 17:53:09 +0300 Subject: [PATCH] =?UTF-8?q?SL-5409=20=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HtmlTag/ButtonWrapper/styles.ts | 3 +++ src/components/HtmlTag/ImgWrapper/styles.ts | 2 ++ src/hooks/useUploader/styles.ts | 1 + src/styles/GlobalStyle.ts | 1 + .../AddWidgetModal/buttons/EditorBlockText.tsx | 4 ++++ src/ui/AddWidgetButton/AddWidgetModal/styles.ts | 4 ++-- 6 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/HtmlTag/ButtonWrapper/styles.ts b/src/components/HtmlTag/ButtonWrapper/styles.ts index 91c0f4a..9c23229 100644 --- a/src/components/HtmlTag/ButtonWrapper/styles.ts +++ b/src/components/HtmlTag/ButtonWrapper/styles.ts @@ -19,6 +19,7 @@ export const ButtonWrapperModalStyled = styled(Modal2)` & .btn-width { display: flex; justify-content: space-between; + color: #1e293b; margin-bottom: 16px; & label { @@ -35,6 +36,7 @@ export const ButtonWrapperModalStyled = styled(Modal2)` } & input { + color: #1e293b; border-width: 1px; padding: 8px; @@ -51,6 +53,7 @@ export const ButtonWrapperModalStyled = styled(Modal2)` & .btn-colors { display: flex; justify-content: space-between; + color: #1e293b; position: relative; & .color-input { diff --git a/src/components/HtmlTag/ImgWrapper/styles.ts b/src/components/HtmlTag/ImgWrapper/styles.ts index 41f61da..26789af 100644 --- a/src/components/HtmlTag/ImgWrapper/styles.ts +++ b/src/components/HtmlTag/ImgWrapper/styles.ts @@ -15,6 +15,7 @@ export const ImgWrapperModalStyled = styled(Modal2)` & .image-inputs { display: flex; justify-content: space-between; + color: #1e293b; margin-bottom: 16px; &:last-child { margin-botton: 0 !important; @@ -31,6 +32,7 @@ export const ImgWrapperModalStyled = styled(Modal2)` } & input { + color: #1e293b; border-width: 1px; padding: 8px; diff --git a/src/hooks/useUploader/styles.ts b/src/hooks/useUploader/styles.ts index 5753c85..50fa9b2 100644 --- a/src/hooks/useUploader/styles.ts +++ b/src/hooks/useUploader/styles.ts @@ -8,6 +8,7 @@ export const UploaderInputStyled = styled.input` */ &[type='file'] { + color: #1e293b; display: none; } ` diff --git a/src/styles/GlobalStyle.ts b/src/styles/GlobalStyle.ts index c495615..97a633c 100644 --- a/src/styles/GlobalStyle.ts +++ b/src/styles/GlobalStyle.ts @@ -54,6 +54,7 @@ export const LmsFrontRedactorGlobalStyle = createGlobalStyle` &:before { display: block; color: #333; + font-family: 'Inter', sans-serif; font-size: 14px; font-style: italic; } diff --git a/src/ui/AddWidgetButton/AddWidgetModal/buttons/EditorBlockText.tsx b/src/ui/AddWidgetButton/AddWidgetModal/buttons/EditorBlockText.tsx index 206f7fa..72c5313 100644 --- a/src/ui/AddWidgetButton/AddWidgetModal/buttons/EditorBlockText.tsx +++ b/src/ui/AddWidgetButton/AddWidgetModal/buttons/EditorBlockText.tsx @@ -27,6 +27,10 @@ export const EditorBlockText = (props: AddWidgetButtonButtonProps) => { component: 'HtmlTag', props: { tag: 'p', + style: { + fontSize: '16px', + fontWeight: '400', + } }, components: [ { diff --git a/src/ui/AddWidgetButton/AddWidgetModal/styles.ts b/src/ui/AddWidgetButton/AddWidgetModal/styles.ts index 196c933..af34cf8 100644 --- a/src/ui/AddWidgetButton/AddWidgetModal/styles.ts +++ b/src/ui/AddWidgetButton/AddWidgetModal/styles.ts @@ -55,8 +55,8 @@ export const AddWidgetModalButtonStyled = styled.button` padding: 8px 4px; font-family: 'Inter'; font-style: normal; - font-weight: 500; - font-size: 16px; + font-weight: 400; + font-size: 14px; line-height: 100%; background-color: transparent;