UNPKG

544 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.ColorIcon = void 0;
7
8var _theming = require("@storybook/theming");
9
10var ColorIcon = _theming.styled.span(function (_ref) {
11 var background = _ref.background;
12 return {
13 borderRadius: '1rem',
14 display: 'block',
15 height: '1rem',
16 width: '1rem',
17 background: background
18 };
19}, function (_ref2) {
20 var theme = _ref2.theme;
21 return {
22 boxShadow: "".concat(theme.appBorderColor, " 0 0 0 1px inset")
23 };
24});
25
26exports.ColorIcon = ColorIcon;
\No newline at end of file