2024-08-02 18:19:39 +08:00

33 lines
872 B
JavaScript

import { commonLight } from "../../_styles/common/index.mjs";
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: commonLight,
self
};
export default themeLight;