24 lines
625 B
JavaScript
24 lines
625 B
JavaScript
|
import { changeColor } from 'seemly';
|
||
|
import { buttonDark } from "../../button/styles/index.mjs";
|
||
|
import { progressDark } from "../../progress/styles/index.mjs";
|
||
|
import { commonDark } from "../../_styles/common/index.mjs";
|
||
|
import { self } from "./light.mjs";
|
||
|
const uploadDark = {
|
||
|
name: 'Upload',
|
||
|
common: commonDark,
|
||
|
peers: {
|
||
|
Button: buttonDark,
|
||
|
Progress: progressDark
|
||
|
},
|
||
|
self(vars) {
|
||
|
const {
|
||
|
errorColor
|
||
|
} = vars;
|
||
|
const commonSelf = self(vars);
|
||
|
commonSelf.itemColorHoverError = changeColor(errorColor, {
|
||
|
alpha: 0.09
|
||
|
});
|
||
|
return commonSelf;
|
||
|
}
|
||
|
};
|
||
|
export default uploadDark;
|