"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("../../../lib/sizing.cjs"),e=require("../../../lib/spacing.cjs"),t=require("../../../lib/font.cjs"),i=require("../../../lib/theme.cjs"),r=require("../../../lib/utils.cjs");const l={xs:{height:o.sizing.md.height,width:o.sizing.md.width},sm:{height:o.sizing.lg.height,width:o.sizing.lg.width},md:{height:o.sizing.lg.height,width:o.sizing.lg.width},lg:{height:o.sizing.xl.height,width:o.sizing.xl.width},xl:{height:o.sizing.xl.height,width:o.sizing.xl.width}};exports.getButtonColors=(o,e)=>{switch(o){case"primary":return{textColor:r.getColorClassNames("white").textColor,hoverTextColor:r.getColorClassNames("white").textColor,bgColor:r.getColorClassNames(e,i.colorPalette.background).bgColor,hoverBgColor:r.getColorClassNames(e,i.colorPalette.darkBackground).hoverBgColor,borderColor:r.getColorClassNames(e,i.colorPalette.border).borderColor,focusRingColor:r.getColorClassNames(e,i.colorPalette.ring).focusRingColor};case"secondary":return{textColor:r.getColorClassNames(e,i.colorPalette.text).textColor,hoverTextColor:r.getColorClassNames(e,i.colorPalette.text).textColor,bgColor:r.getColorClassNames("transparent").bgColor,hoverBgColor:r.getColorClassNames(e,i.colorPalette.lightBackground).hoverBgColor,borderColor:r.getColorClassNames(e,i.colorPalette.border).borderColor,focusRingColor:r.getColorClassNames(e,i.colorPalette.ring).focusRingColor};case"light":return{textColor:r.getColorClassNames(e,i.colorPalette.text).textColor,hoverTextColor:r.getColorClassNames(e,i.colorPalette.darkText).hoverTextColor,bgColor:r.getColorClassNames("transparent").bgColor,borderColor:"",hoverBorderColor:"",focusRingColor:""}}},exports.getButtonProportions=o=>"light"!==o?{xs:{paddingX:e.spacing.md.paddingX,paddingY:e.spacing.xs.paddingY,fontSize:t.fontSize.xs},sm:{paddingX:e.spacing.twoXl.paddingX,paddingY:e.spacing.sm.paddingY,fontSize:t.fontSize.sm},md:{paddingX:e.spacing.twoXl.paddingX,paddingY:e.spacing.sm.paddingY,fontSize:t.fontSize.md},lg:{paddingX:e.spacing.twoXl.paddingX,paddingY:e.spacing.md.paddingY,fontSize:t.fontSize.lg},xl:{paddingX:e.spacing.twoXl.paddingX,paddingY:e.spacing.lg.paddingY,fontSize:t.fontSize.xl}}:{xs:{paddingX:"",paddingY:"",fontSize:t.fontSize.xs},sm:{paddingX:"",paddingY:"",fontSize:t.fontSize.sm},md:{paddingX:"",paddingY:"",fontSize:t.fontSize.md},lg:{paddingX:"",paddingY:"",fontSize:t.fontSize.lg},xl:{paddingX:"",paddingY:"",fontSize:t.fontSize.xl}},exports.iconSizes=l;
