@moneko/core 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/modifyVars.js +1 -1
- package/package.json +1 -1
package/build/modifyVars.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"default",{enumerable:true,get:function(){return _default}});var _common=require("./common");var _hasAntd=require("./has-antd");var _htmlPluginOption=_interopRequireDefault(require("./html-plugin-option"));function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==="function"){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))}ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}var prefixCls=_common.CONFIG.prefixCls||"neko";var modifyVars={};var statusColor={};var colors=["normal","warning","success","error","primary"];for(var i=0,len=colors.length;i<len;i++){var type=colors[i];var _obj;Object.assign(statusColor,(_obj={},_defineProperty(_obj,"@".concat(type,"-color-active"),"var(--".concat(type,"-color-active)")),_defineProperty(_obj,"@".concat(type,"-color-outline"),"var(--".concat(type,"-color-outline)")),_defineProperty(_obj,"@".concat(type,"-color-deprecated-bg"),"var(--".concat(type,"-color-deprecated-bg)")),_defineProperty(_obj,"@".concat(type,"-color-deprecated-border"),"var(--".concat(type,"-color-deprecated-border)")),_obj),type!=="primary"&&_defineProperty({},"@".concat(type,"-color-hover"),"var(--".concat(type,"-color-hover)")))}var alertColors=["info","warning","success","error"];for(var i1=0,len1=alertColors.length;i1<len1;i1++){var type1=colors[i1];var color=type1==="info"?"primary":type1;var _obj1;Object.assign(statusColor,(_obj1={},_defineProperty(_obj1,"@alert-".concat(type1,"-icon-color"),"var(--".concat(color,"-color)")),_defineProperty(_obj1,"@alert-".concat(type1,"-border-color"),"var(--".concat(color,"-color-deprecated-border)")),_defineProperty(_obj1,"@alert-".concat(type1,"-bg-color"),"var(--".concat(color,"-color-deprecated-bg)")),_obj1))}Object.assign(modifyVars,_hasAntd.antdThemeVariables,_objectSpread({"@prefix-cls":prefixCls,"@ant-prefix":prefixCls,"@iconfont-css-prefix":prefixCls+"-icon","@transition-timing-function":"cubic-bezier(0.645, 0.045, 0.355, 1)","@transition-duration":"0.3s","@font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"default",{enumerable:true,get:function(){return _default}});var _common=require("./common");var _hasAntd=require("./has-antd");var _htmlPluginOption=_interopRequireDefault(require("./html-plugin-option"));function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==="function"){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))}ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}var prefixCls=_common.CONFIG.prefixCls||"neko";var modifyVars={};var statusColor={};var colors=["normal","warning","success","error","primary"];for(var i=0,len=colors.length;i<len;i++){var type=colors[i];var _obj;Object.assign(statusColor,(_obj={},_defineProperty(_obj,"@".concat(type,"-color-active"),"var(--".concat(type,"-color-active)")),_defineProperty(_obj,"@".concat(type,"-color-outline"),"var(--".concat(type,"-color-outline)")),_defineProperty(_obj,"@".concat(type,"-color-deprecated-bg"),"var(--".concat(type,"-color-deprecated-bg)")),_defineProperty(_obj,"@".concat(type,"-color-deprecated-border"),"var(--".concat(type,"-color-deprecated-border)")),_obj),type!=="primary"&&_defineProperty({},"@".concat(type,"-color-hover"),"var(--".concat(type,"-color-hover)")))}var alertColors=["info","warning","success","error"];for(var i1=0,len1=alertColors.length;i1<len1;i1++){var type1=colors[i1];var color=type1==="info"?"primary":type1;var _obj1;Object.assign(statusColor,(_obj1={},_defineProperty(_obj1,"@alert-".concat(type1,"-icon-color"),"var(--".concat(color,"-color)")),_defineProperty(_obj1,"@alert-".concat(type1,"-border-color"),"var(--".concat(color,"-color-deprecated-border)")),_defineProperty(_obj1,"@alert-".concat(type1,"-bg-color"),"var(--".concat(color,"-color-deprecated-bg)")),_obj1))}Object.assign(modifyVars,_hasAntd.antdThemeVariables,_objectSpread({"@prefix-cls":prefixCls,"@ant-prefix":prefixCls,"@iconfont-css-prefix":prefixCls+"-icon","@transition-timing-function":"cubic-bezier(0.645, 0.045, 0.355, 1)","@transition-duration":"0.3s","@font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol','Noto Color Emoji', 'Helvetica', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans'","@favicon":JSON.stringify(_htmlPluginOption.default.favicon),"@font-regular":"PingFangSC-Regular, sans-serif","@font-ultralight":"PingFangSC-Ultralight, sans-serif","@font-light":"PingFangSC-Light, sans-serif","@font-thin":"PingFangSC-Thin, sans-serif","@font-medium":"PingFangSC-Medium, sans-serif","@font-semibold":"PingFangSC-Semibold, sans-serif","@font-size-base":"14px","border-radius-base":"4px","@outline-fade":"20%","@body-background":"#f8f8f8","@component-background":"#fff","@component-background-dark":"#141414","@layout-header-bg":"#fff","@table-header-bg":"rgba(0,0,0,.02)","@table-header-bg-dark":"rgba(114,114,114,.02)","@normal-color":"rgba(0, 0, 0, 0.85)","@primary-color":"#1890ff","@success-color":"#52c41a","@warning-color":"#faad14","@error-color":"#ff4d4f","@disabled-color":"rgba(0, 0, 0, 0.25)","@heading-color":"rgba(0, 0, 0, 0.85)","@text-color":"rgba(0, 0, 0, 0.65)","@text-color-secondary":"rgba(0, 0, 0, 0.45)","@border-color-base":"#d9d9d9","@box-shadow-small":"0 0 12px rgba(0, 0, 0, 0.1)","@box-shadow-base":"0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05)","@primary-color-dark":"#177ddc","@success-color-dark":"#49aa19","@error-color-dark":"#a61d24","@warning-color-dark":"#d89614","@normal-color-dark":"rgba(255, 255, 255, 0.85)","@dropdown-selected-bg":"var(--primary-color-deprecated-bg)","@calendar-column-active-bg":"var(--primary-color-deprecated-bg)","@table-body-selected-sort-bg":"var(--primary-color-deprecated-bg)","@table-selected-row-hover-bg":"#fafafa","@transfer-item-selected-hover-bg":"var(--primary-2)","@menu-item-active-bg":"var(--primary-color-deprecated-bg)","@menu-item-active-danger-bg":"var(--error-color-deprecated-bg)","@menu-dark-highlight-color":"var(--primary-color)","@menu-dark-bg":"#1C222E","@layout-sider-background":"@menu-dark-bg","@menu-dark-submenu-bg":"@menu-dark-bg","@menu-dark-inline-submenu-bg":"@menu-dark-bg","@menu-dark-item-active-bg":"var(--menu-dark-item-active-bg)","@menu-dark-item-active-danger-bg":"var(--menu-dark-item-active-danger-bg)","@menu-dark-danger-color":"var(--error-color)","@menu-highlight-danger-color":"var(--error-color)","@menu-highlight-color":"var(--primary-color)","@dropdown-selected-color":"var(--primary-color)","@pagination-item-active-color":"var(--primary-color)","@processing-color":"var(--primary-color)","@btn-primary-bg":"var(--primary-color)","@btn-danger-bg":"var(--error-color)","@btn-danger-border":"var(--error-color)","@btn-disable-color":"var(--disable-color)","@btn-disable-bg":"var(--disable-bg)","@outline-color":"var(--primary-color)","@checkbox-color":"var(--primary-color)","@input-border-color":"var(--border-color-base)","@input-hover-border-color":"var(--primary-color-hover)","@input-number-handler-border-color":"var(--primary-color-hover)","@btn-group-border":"var(--primary-color-hover)","@radio-dot-color":"var(--primary-color)","@radio-button-hover-color":"var(--primary-color-hover)","@radio-button-active-color":"var(--primary-color-active)","@tabs-highlight-color":"var(--primary-color)","@tabs-hover-color":"var(--primary-color-hover)","@tabs-active-color":"var(--primary-color-active)","@tabs-ink-bar-color":"var(--primary-color)","@slider-handle-color-tooltip-open":"var(--primary-color)","@tree-directory-selected-bg":"var(--primary-color)","@switch-color":"var(--primary-color)","@timeline-dot-color":"var(--primary-color)","@tabs-card-active-color":"var(--primary-color)","@select-item-selected-color":"var(--primary-color)","@select-item-selected-bg":"var(--primary-color-deprecated-bg)","@cascader-item-selected-bg":"var(--primary-color-deprecated-bg)","@picker-basic-cell-active-with-range-color":"var(--primary-color-deprecated-bg)","@slider-track-background-color":"var(--primary-color-deprecated-border)","@slider-handle-color":"var(--primary-color-deprecated-border)","@slider-track-background-color-hover":"var(--primary-4)","@slider-handle-color-hover":"var(--primary-4)","@slider-handle-color-focus-shadow":"var(--primary-color-outline)","@tree-node-selected-bg":"var(--primary-2)","@text-selection-bg":"var(--primary-color)","@link-color":"var(--primary-color)","@link-hover-color":"var(--primary-color-hover)","@link-active-color":"var(--primary-color-active)","@info-color":"var(--primary-color)","@info-hover-color":"var(--primary-color-hover)","@info-active-color":"var(--primary-color-active)"},statusColor),_common.CONFIG.modifyVars||{});var _default=modifyVars;
|