@isotope/prototope
Version:
Isotope-based JavaScript library for speedy UI prototyping
14 lines • 332 B
JavaScript
import { createUtil } from "../util";
/**
* Prototope background-color util.
*
* @param value - Config value.
* @returns - Prototope util.
*/
const bgColor = (value) => {
return createUtil(({ colors }) => ({
backgroundColor: colors[value]
}));
};
export { bgColor };
//# sourceMappingURL=background-color.js.map