-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Description
typography.js/packages/typography-theme-twin-peaks/src/index.js
Lines 28 to 37 in 33d86df
| 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels