2024-01-29 09:26:07 +08:00

35 lines
916 B
JavaScript

import { commonDark } from "../../_styles/common/index.mjs";
const gradientTextDark = {
name: 'GradientText',
common: commonDark,
self(vars) {
const {
primaryColor,
successColor,
warningColor,
errorColor,
infoColor,
primaryColorSuppl,
successColorSuppl,
warningColorSuppl,
errorColorSuppl,
infoColorSuppl,
fontWeightStrong
} = vars;
return {
fontWeight: fontWeightStrong,
rotate: '252deg',
colorStartPrimary: primaryColor,
colorEndPrimary: primaryColorSuppl,
colorStartInfo: infoColor,
colorEndInfo: infoColorSuppl,
colorStartWarning: warningColor,
colorEndWarning: warningColorSuppl,
colorStartError: errorColor,
colorEndError: errorColorSuppl,
colorStartSuccess: successColor,
colorEndSuccess: successColorSuppl
};
}
};
export default gradientTextDark;