Skip to content

Commit efd11c1

Browse files
committed
MOBILE-3063 reading: Add link color
1 parent 7710dcc commit efd11c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/theme/components/reading-mode.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,25 @@ body.core-reading-mode-enabled {
1212
&.core-reading-mode-theme-light {
1313
--reading-mode-background: #{$background-color};
1414
--reading-mode-text-color: #{$text-color};
15+
--reading-mode-link-color: var(--info);
1516
}
1617

1718
&.core-reading-mode-theme-dark {
1819
--reading-mode-background: #{$background-color-dark};
1920
--reading-mode-text-color: #{$text-color-dark};
21+
--reading-mode-link-color: var(--info-tint);
2022
}
2123

2224
&.core-reading-mode-theme-sepia {
2325
--reading-mode-background: var(--core-reading-mode-sepia-background);
2426
--reading-mode-text-color: var(--core-reading-mode-sepia-text-color);
27+
--reading-mode-link-color: var(--info);
2528
}
2629

2730
&.core-reading-mode-theme-hcm {
2831
--reading-mode-background: #000000;
2932
--reading-mode-text-color: #ffffff;
33+
--reading-mode-link-color: var(--info-tint);
3034
}
3135

3236
&.core-reading-mode-multimedia-hidden {
@@ -49,6 +53,7 @@ body.core-reading-mode-enabled {
4953
--color: var(--reading-mode-text-color, --text-color);
5054
--subdued-text-color: var(--text-color);
5155
--core-input-text: var(--text-color);
56+
--core-link-color: var(--reading-mode-link-color, --core-link-color);
5257
color: var(--text-color) !important;
5358
}
5459

0 commit comments

Comments
 (0)