trb-luma-shades
v0.0.2
Published
## tailwind.config.js ```javascript const { shadesPreset, shadesConfig, shades } = require('./trb-luma-shades')
Downloads
3
Readme
iterative color shade generator
tailwind.config.js
const { shadesPreset, shadesConfig, shades } = require('./trb-luma-shades')
module.exports = {
prefix: '',
important: false,
separator: ':',
theme: {
colors: {
accent: shades('#ff9900', {
...shadesConfig,
420: { min: 0.38, max: 0.41 },
500: { min: 0.23, max: 0.29 },
base: { min: 0.7, max: 0.75 },
}),
brand: { ...shadesPreset('#ff9900'), base: '#ff9900' },
rad: shadesPreset('#e53e3e'),
// grey: {
// ...
}
}
}