45 lines
1.1 KiB
JavaScript
45 lines
1.1 KiB
JavaScript
import { createTheme } from "../../_mixins/index.mjs";
|
|
import { commonLight } from "../../_styles/common/index.mjs";
|
|
export function self(vars) {
|
|
const {
|
|
borderRadius,
|
|
fontSizeMini,
|
|
fontSizeTiny,
|
|
fontSizeSmall,
|
|
fontWeight,
|
|
textColor2,
|
|
cardColor,
|
|
buttonColor2Hover
|
|
} = vars;
|
|
return {
|
|
activeColors: ['#9be9a8', '#40c463', '#30a14e', '#216e39'],
|
|
borderRadius,
|
|
borderColor: cardColor,
|
|
textColor: textColor2,
|
|
mininumColor: buttonColor2Hover,
|
|
fontWeight,
|
|
loadingColorStart: 'rgba(0, 0, 0, 0.06)',
|
|
loadingColorEnd: 'rgba(0, 0, 0, 0.12)',
|
|
rectSizeSmall: '10px',
|
|
rectSizeMedium: '11px',
|
|
rectSizeLarge: '12px',
|
|
borderRadiusSmall: '2px',
|
|
borderRadiusMedium: '2px',
|
|
borderRadiusLarge: '2px',
|
|
xGapSmall: '2px',
|
|
xGapMedium: '3px',
|
|
xGapLarge: '3px',
|
|
yGapSmall: '2px',
|
|
yGapMedium: '3px',
|
|
yGapLarge: '3px',
|
|
fontSizeSmall: fontSizeTiny,
|
|
fontSizeMedium: fontSizeMini,
|
|
fontSizeLarge: fontSizeSmall
|
|
};
|
|
}
|
|
const heatmapLight = createTheme({
|
|
name: 'Heatmap',
|
|
common: commonLight,
|
|
self
|
|
});
|
|
export default heatmapLight; |