1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.ColorIcon = void 0;
|
7 |
|
8 | var _theming = require("@storybook/theming");
|
9 |
|
10 | var 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 |
|
26 | exports.ColorIcon = ColorIcon; |
\ | No newline at end of file |