@workday/canvas-kit-docs
Version:
Documentation components of Canvas Kit components
14 lines (13 loc) • 632 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box } from '@workday/canvas-kit-react/layout';
const baseStyles = {
color: 'blackPepper500',
display: 'inline-block',
margin: 'xxs',
minHeight: 'xl',
minWidth: '8rem',
padding: 'xs',
};
export const Background = () => {
return (_jsxs("div", { children: [_jsx(Box, { backgroundColor: "cinnamon300", ...baseStyles, children: "Cinnamon 300" }), _jsx(Box, { backgroundColor: "sourLemon300", ...baseStyles, children: "Sour Lemon 300" }), _jsx(Box, { backgroundColor: "blueberry300", ...baseStyles, children: "Blueberry 300" })] }));
};