diff --git a/src/blocks/Header/Header.scss b/src/blocks/Header/Header.scss index 8d5cc8398..ce28f296a 100644 --- a/src/blocks/Header/Header.scss +++ b/src/blocks/Header/Header.scss @@ -25,7 +25,7 @@ $backgroundWidth: 1440px; &_theme_dark { #{$block}__title, - #{$block}__description .yfm { + #{$block}__overtitle { color: var(--g-color-text-light-primary); } } diff --git a/src/blocks/Header/Header.tsx b/src/blocks/Header/Header.tsx index 8fefa25b8..1dacce537 100644 --- a/src/blocks/Header/Header.tsx +++ b/src/blocks/Header/Header.tsx @@ -133,7 +133,10 @@ export const HeaderBlock = (props: WithChildren) => {
)} diff --git a/styles/yfm.scss b/styles/yfm.scss index cbd66c60a..0a6027bed 100644 --- a/styles/yfm.scss +++ b/styles/yfm.scss @@ -60,11 +60,11 @@ margin-bottom: $indentXXXS; } } - } - &_theme_dark { - p { - color: var(--g-color-text-light-primary); + &_theme_dark { + p { + color: var(--g-color-text-light-primary); + } } }