gatsby-remark-dictionary
Version:
Create a dictionary of word and phrases to be converted to highlighted values and links. define once and all phrases will be converted during build time.
30 lines (26 loc) • 522 B
JavaScript
const baseTheme = {
fonts: {
mono: '"SF Mono", "Roboto Mono", Menlo, monospace',
},
};
const lightTheme = {
...baseTheme,
colors: {
background: '#fff',
heading: '#000',
text: '#3B454E',
preFormattedText: 'rgb(245, 247, 249)',
link: '#1000EE',
},
};
const darkTheme = {
...baseTheme,
colors: {
background: '#001933',
heading: '#fff',
text: '#fff',
preFormattedText: '#000',
link: '#1ED3C6',
},
};
export { lightTheme, darkTheme };