69 lines
1.9 KiB
JavaScript
69 lines
1.9 KiB
JavaScript
import commonVariables from "./_common.mjs";
|
|
import { checkboxDark } from "../../checkbox/styles/index.mjs";
|
|
import { scrollbarDark } from "../../_internal/scrollbar/styles/index.mjs";
|
|
import { inputDark } from "../../input/styles/index.mjs";
|
|
import { commonDark } from "../../_styles/common/index.mjs";
|
|
import { emptyDark } from "../../empty/styles/index.mjs";
|
|
import { buttonDark } from "../../button/styles/index.mjs";
|
|
const transferDark = {
|
|
name: 'Transfer',
|
|
common: commonDark,
|
|
peers: {
|
|
Checkbox: checkboxDark,
|
|
Scrollbar: scrollbarDark,
|
|
Input: inputDark,
|
|
Empty: emptyDark,
|
|
Button: buttonDark
|
|
},
|
|
self(vars) {
|
|
const {
|
|
fontWeight,
|
|
fontSizeLarge,
|
|
fontSizeMedium,
|
|
fontSizeSmall,
|
|
heightLarge,
|
|
heightMedium,
|
|
borderRadius,
|
|
inputColor,
|
|
tableHeaderColor,
|
|
textColor1,
|
|
textColorDisabled,
|
|
textColor2,
|
|
textColor3,
|
|
hoverColor,
|
|
closeColorHover,
|
|
closeColorPressed,
|
|
closeIconColor,
|
|
closeIconColorHover,
|
|
closeIconColorPressed,
|
|
dividerColor
|
|
} = vars;
|
|
return Object.assign(Object.assign({}, commonVariables), {
|
|
itemHeightSmall: heightMedium,
|
|
itemHeightMedium: heightMedium,
|
|
itemHeightLarge: heightLarge,
|
|
fontSizeSmall,
|
|
fontSizeMedium,
|
|
fontSizeLarge,
|
|
borderRadius,
|
|
dividerColor,
|
|
borderColor: '#0000',
|
|
listColor: inputColor,
|
|
headerColor: tableHeaderColor,
|
|
titleTextColor: textColor1,
|
|
titleTextColorDisabled: textColorDisabled,
|
|
extraTextColor: textColor3,
|
|
extraTextColorDisabled: textColorDisabled,
|
|
itemTextColor: textColor2,
|
|
itemTextColorDisabled: textColorDisabled,
|
|
itemColorPending: hoverColor,
|
|
titleFontWeight: fontWeight,
|
|
closeColorHover,
|
|
closeColorPressed,
|
|
closeIconColor,
|
|
closeIconColorHover,
|
|
closeIconColorPressed
|
|
});
|
|
}
|
|
};
|
|
export default transferDark; |