44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
import { scrollbarLight } from "../../_internal/scrollbar/styles/index.mjs";
|
|
import { commonLight } from "../../_styles/common/index.mjs";
|
|
import { buttonLight } from "../../button/styles/index.mjs";
|
|
import { createTheme } from "../../_mixins/index.mjs";
|
|
import { inputLight } from "../../input/styles/index.mjs";
|
|
import commonVars from "./_common.mjs";
|
|
export function self(vars) {
|
|
const {
|
|
popoverColor,
|
|
textColor2,
|
|
primaryColor,
|
|
hoverColor,
|
|
dividerColor,
|
|
opacityDisabled,
|
|
boxShadow2,
|
|
borderRadius,
|
|
iconColor,
|
|
iconColorDisabled
|
|
} = vars;
|
|
return Object.assign(Object.assign({}, commonVars), {
|
|
panelColor: popoverColor,
|
|
panelBoxShadow: boxShadow2,
|
|
panelDividerColor: dividerColor,
|
|
itemTextColor: textColor2,
|
|
itemTextColorActive: primaryColor,
|
|
itemColorHover: hoverColor,
|
|
itemOpacityDisabled: opacityDisabled,
|
|
itemBorderRadius: borderRadius,
|
|
borderRadius,
|
|
iconColor,
|
|
iconColorDisabled
|
|
});
|
|
}
|
|
const timePickerLight = createTheme({
|
|
name: 'TimePicker',
|
|
common: commonLight,
|
|
peers: {
|
|
Scrollbar: scrollbarLight,
|
|
Button: buttonLight,
|
|
Input: inputLight
|
|
},
|
|
self
|
|
});
|
|
export default timePickerLight; |