27 lines
976 B
JavaScript
Raw Normal View History

2024-08-02 18:19:39 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const common_1 = require("../../_styles/common");
function self(vars) {
const { popoverColor, textColor2, buttonColor2Hover, buttonColor2Pressed, primaryColor, primaryColorHover, primaryColorPressed, borderRadius } = vars;
return {
color: popoverColor,
colorHover: buttonColor2Hover,
colorPressed: buttonColor2Pressed,
colorPrimary: primaryColor,
colorPrimaryHover: primaryColorHover,
colorPrimaryPressed: primaryColorPressed,
textColor: textColor2,
boxShadow: '0 2px 8px 0px rgba(0, 0, 0, .16)',
boxShadowHover: '0 2px 12px 0px rgba(0, 0, 0, .24)',
boxShadowPressed: '0 2px 12px 0px rgba(0, 0, 0, .24)',
textColorPrimary: '#fff',
borderRadiusSquare: borderRadius
};
}
const themeLight = {
name: 'FloatButton',
common: common_1.commonLight,
self
};
exports.default = themeLight;