25 lines
663 B
JavaScript
25 lines
663 B
JavaScript
import { buttonLight } from "../../button/styles/index.mjs";
|
|
import { popoverLight } from "../../popover/styles/index.mjs";
|
|
import { createTheme } from "../../_mixins/index.mjs";
|
|
import { commonLight } from "../../_styles/common/index.mjs";
|
|
import commonVars from "./_common.mjs";
|
|
export const self = vars => {
|
|
const {
|
|
fontSize,
|
|
warningColor
|
|
} = vars;
|
|
return Object.assign(Object.assign({}, commonVars), {
|
|
fontSize,
|
|
iconColor: warningColor
|
|
});
|
|
};
|
|
const popconfirmLight = createTheme({
|
|
name: 'Popconfirm',
|
|
common: commonLight,
|
|
peers: {
|
|
Button: buttonLight,
|
|
Popover: popoverLight
|
|
},
|
|
self
|
|
});
|
|
export default popconfirmLight; |