CSS classes for using Reasonable Colors with Bulma.
View the test page for more examples.
- Includes Bulma-like class names for all six shades of all 25 colors in the reasonable-colors palette.
- Accessible defaults.
Download the SCSS, download the minified CSS, link to a CDN, or install from NPM.
npm install @cityssm/bulma-reasonable-colors
<link rel="stylesheet" href="path/to/bulma.min.css">
<link rel="stylesheet" href="path/to/bulma-reasonable-colors.min.css">
To avoid collisions with future Bulma updates,
all class names include rc-
before the color name and shade.
The color palate is available on the Reasonable Colors website.
For example, to set the text color to the fourth shade of teal,
use the class .has-text-rc-teal-4
.
.has-text-rc-[colorName]-[shadeNumber]
.has-background-rc-[colorName]-[shadeNumber]
.button.is-rc-[colorName]
- Alert colors, navbar colors, panel colors, and other Bulma elements and components.