UNPKG

@buffetjs/styles

Version:

Buffetjs Styles - The styling solution of Buffetjs

29 lines (19 loc) 1.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _styledComponents = _interopRequireDefault(require("styled-components")); var _colors = _interopRequireDefault(require("../../assets/styles/colors")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _templateObject() { var data = _taggedTemplateLiteral(["\n width: fit-content;\n height: 34px;\n border: 1px solid ", ";\n border-radius: 2px;\n label {\n display: inline-block;\n width: fit-content;\n height: 100%;\n position: relative;\n text-align: center;\n color: ", ";\n }\n span {\n display: inline-block;\n width: 53px;\n height: 100%;\n line-height: 32px;\n letter-spacing: 0.1rem;\n }\n"]); _templateObject = function _templateObject() { return data; }; return data; } function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } var ToggleWrapper = _styledComponents["default"].div(_templateObject(), _colors["default"].lightGrey, _colors["default"].black); var _default = ToggleWrapper; exports["default"] = _default;