How to use the @theme-ui/presets.bulma.colors function in @theme-ui/presets

To help you get started, we’ve selected a few @theme-ui/presets examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ERS-HCL / gatsby-atomic-themes / packages / drupal-app / src / gatsby-plugin-theme-ui / index.js View on Github external
import 'typeface-righteous';
import 'typeface-oswald';
import { bulma } from '@theme-ui/presets';
export default {
	...bulma,
	colors: {
		...bulma.colors,
		white: '#fff',
		background: '#2F2A2A', // '#f9fcff',
		primary: 'black'
	},
	fonts: {
    body: 'Oswald, system-ui, sans-serif',
    heading: 'Righteous, cursive',
    monospace: '"Roboto Mono", monospace',
  },
};