"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getStyle = void 0;
var _ui = require("@mirai/ui");
const getStyle = () => {
  const theme = _ui.Theme.get();
  const {
    accent,
    base,
    borderColor,
    borderRadius,
    content,
    error,
    font,
    fontBoldWeight,
    fontSizeAction,
    fontSizeHeadline2,
    fontSizeHeadline3,
    fontSizeHeadlinee1,
    fontSizeParagraph,
    fontWeight
  } = theme;
  return {
    borderRadius: "".concat(borderRadius, "px"),
    colorBackground: base,
    colorBorder: borderColor,
    colorDanger: error,
    colorPrimary: accent,
    colorText: content,
    fontFamily: font,
    fontSize2Xs: "".concat(fontSizeHeadline3, "px"),
    fontSize3Xs: "".concat(fontSizeHeadline2, "px"),
    fontSizeBase: "".concat(fontSizeParagraph, "px"),
    fontSizeLg: "".concat(fontSizeHeadlinee1, "px"),
    fontSizeSm: "".concat(fontSizeAction, "px"),
    fontSizeXs: "".concat(fontSizeParagraph, "px"),
    fontWeightBold: fontBoldWeight,
    fontWeightNormal: "".concat(fontWeight, "px")
  };
};
exports.getStyle = getStyle;
//# sourceMappingURL=getStyle.js.map