|
overrideStyles: ({ adjustFontSizeTo, scale, rhythm }, options) => { |
|
const linkColor = "#ff5700" |
|
const vr = verticalRhythm({ |
|
baseFontSize: "19px", |
|
baseLineHeight: "29.85px", |
|
}) |
|
return { |
|
a: { |
|
color: linkColor, |
|
textDecoration: "none", |
I understand this is how to override elements:
twinPeaksTheme.overrideStyles = () => ({
a: {
color: "blue",
},
})
However I can't seem to access linkColor with anything similar to this:
twinPeaksTheme.overrideStyles = () => (
linkColor = "blue"
)
linkColor is present in the following themes:
- typography-theme-doelger
- typography-theme-elk-glen
- typography-theme-fairy-gates
- typography-theme-lincoln
- typography-theme-ocean-beach
- typography-theme-twin-peaks
typography.js/packages/typography-theme-twin-peaks/src/index.js
Lines 28 to 37 in 33d86df
I understand this is how to override elements:
However I can't seem to access linkColor with anything similar to this:
linkColor is present in the following themes: