ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
1,014 lines (917 loc) • 33.5 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCustomTheme = void 0;
function createCustomTheme() {
return ` "../node_modules/ng-zorro-antd/ng-zorro-antd.less";
: default;
// The prefix to use on all css classes from ant.
-prefix: ant;
// An override for the html selector for theme prefixes
-selector: html;
// -------- Colors -----------
-color: -6;
-color: -color;
-color: -6;
-color: -6;
-color: -5;
-color: -5;
-color: -6;
-color: #d9d9d9;
: #fff;
: #000;
// Color used by default to control hover and active backgrounds and for
// alert info backgrounds.
-1: color(~\`colorPalette('@{primary-color}', 1) \`); // replace tint(@primary-color, 90%)
-2: color(~\`colorPalette('@{primary-color}', 2) \`); // replace tint(@primary-color, 80%)
-3: color(~\`colorPalette('@{primary-color}', 3) \`); // unused
-4: color(~\`colorPalette('@{primary-color}', 4) \`); // unused
-5: color(
~\`colorPalette('@{primary-color}', 5) \`
); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
-6: -color; // color used to control the text color of active buttons, don't use, use @primary-color
-7: color(~\`colorPalette('@{primary-color}', 7) \`); // replace shade(@primary-color, 5%)
-8: color(~\`colorPalette('@{primary-color}', 8) \`); // unused
-9: color(~\`colorPalette('@{primary-color}', 9) \`); // unused
-10: color(~\`colorPalette('@{primary-color}', 10) \`); // unused
// Base Scaffolding Variables
// ---
// Background color for \`<body>\`
-background: #fff;
// Base background color for most components
-background: #fff;
// Popover background color
-background: -background;
-customize-border-color: -color-split;
-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';
-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
-color: fade( , 85%);
-color-secondary: fade( , 45%);
-color-inverse: ;
-color: inherit;
-color-hover: fade( , 75%);
-color: fade( , 85%);
-color-dark: fade( , 85%);
-color-secondary-dark: fade( , 65%);
-selection-bg: -color;
-variant-base: tabular-nums;
-feature-settings-base: 'tnum';
-size-base: 14px;
-size-lg: -size-base + 2px;
-size-sm: 12px;
-1-size: ceil( -size-base * 2.71);
-2-size: ceil( -size-base * 2.14);
-3-size: ceil( -size-base * 1.71);
-4-size: ceil( -size-base * 1.42);
-5-size: ceil( -size-base * 1.14);
// https://github.com/ant-design/ant-design/issues/20210
-height-base: 1.5715;
-radius-base: 2px;
-radius-sm: -radius-base;
// vertical paddings
-lg: 24px; // containers
-md: 16px; // small containers and buttons
-sm: 12px; // Form controls and items
-xs: 8px; // small items
-xss: 4px; // more small
// vertical padding for all form controls
-padding-horizontal: -sm;
-padding-horizontal-sm: -xs;
// vertical margins
-lg: 24px; // containers
-md: 16px; // small containers and buttons
-sm: 12px; // Form controls and items
-xs: 8px; // small items
-xss: 4px; // more small
// height rules
-base: 32px;
-lg: 40px;
-sm: 24px;
// The background colors for active and hover states for things like
// list items or table cells.
-active-bg: -1;
-hover-bg: #f5f5f5;
// ICONFONT
-css-prefix: anticon;
// LINK
-color: -color;
-hover-color: color(~\`colorPalette('@{link-color}', 5) \`);
-active-color: color(~\`colorPalette('@{link-color}', 7) \`);
-decoration: none;
-hover-decoration: none;
-focus-decoration: none;
-focus-outline: 0;
// Animation
-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
-base-in: cubic-bezier(0.9, 0, 0.3, 0.7);
-out: cubic-bezier(0.215, 0.61, 0.355, 1);
-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
-out-back: cubic-bezier(0.12, 0.4, 0.29, 1.46);
-in-back: cubic-bezier(0.71, -0.46, 0.88, 0.6);
-in-out-back: cubic-bezier(0.71, -0.46, 0.29, 1.46);
-out-circ: cubic-bezier(0.08, 0.82, 0.17, 1);
-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.34);
-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
// Border color
-color-base: hsv(0, 0, 85%); // base border outline a component
-color-split: hsv(0, 0, 94%); // split border inside a component
-color-inverse: ;
-width-base: 1px; // width of the border for a component
-style-base: solid; // style of a components border
// Outline
-blur-size: 0;
-width: 2px;
-color: -color;
-fade: 20%;
-color-light: hsv(0, 0, 98%); // background of header and selected item
-color-base: hsv(0, 0, 96%); // Default grey background color
// Disabled states
-color: fade(#000, 25%);
-bg: -color-base;
-color-dark: fade(#fff, 35%);
// Shadow
-color: rgba(0, 0, 0, 0.15);
-color-inverse: -background;
-shadow-base: -2;
-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05),
0 -12px 48px 16px rgba(0, 0, 0, 0.03);
-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05),
0 12px 48px 16px rgba(0, 0, 0, 0.03);
-1-left: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05),
-12px 0 48px 16px rgba(0, 0, 0, 0.03);
-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05),
12px 0 48px 16px rgba(0, 0, 0, 0.03);
-2: 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);
// Buttons
-font-weight: 400;
-border-radius-base: -radius-base;
-border-radius-sm: -radius-base;
-border-width: -width-base;
-border-style: -style-base;
-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
-primary-color: #fff;
-primary-bg: -color;
-default-color: -color;
-default-bg: -background;
-default-border: -color-base;
-danger-color: #fff;
-danger-bg: -color;
-danger-border: -color;
-disable-color: -color;
-disable-bg: -bg;
-disable-border: -color-base;
-default-ghost-color: -background;
-default-ghost-bg: transparent;
-default-ghost-border: -background;
-font-size-lg: -size-lg;
-font-size-sm: -size-base;
-padding-horizontal-base: -md - 1px;
-padding-horizontal-lg: -padding-horizontal-base;
-padding-horizontal-sm: -xs - 1px;
-height-base: -base;
-height-lg: -lg;
-height-sm: -sm;
-line-height: -height-base;
-circle-size: -height-base;
-circle-size-lg: -height-lg;
-circle-size-sm: -height-sm;
-square-size: -height-base;
-square-size-lg: -height-lg;
-square-size-sm: -height-sm;
-square-only-icon-size: -size-base + 2px;
-square-only-icon-size-sm: -size-base;
-square-only-icon-size-lg: -font-size-lg + 2px;
-group-border: -5;
-link-hover-bg: transparent;
-text-hover-bg: rgba(0, 0, 0, 0.018);
// Checkbox
-size: 16px;
-color: -color;
-check-color: #fff;
-check-bg: -check-color;
-border-width: -width-base;
-group-item-margin-right: 8px;
// Descriptions
-bg: #fafafa;
-title-margin-bottom: 20px;
-default-padding: -md -lg;
-middle-padding: -sm -lg;
-small-padding: -xs -md;
-item-padding-bottom: -md;
-item-trailing-colon: true;
-item-label-colon-margin-right: 8px;
-item-label-colon-margin-left: 2px;
-extra-color: -color;
// Divider
-text-padding: 1em;
-orientation-margin: 5%;
-color: rgba(0, 0, 0, 6%);
// Dropdown
-selected-color: -color;
-menu-submenu-disabled-bg: -background;
// Empty
-font-size: -size-base;
// Radio
-size: 16px;
-top: 0px;
-border-width: 1px;
-dot-size: -size - 8px;
-dot-color: -color;
-dot-disabled-color: fade( , 20%);
-solid-checked-color: -background;
// Radio buttons
-button-bg: -default-bg;
-button-checked-bg: -default-bg;
-button-color: -default-color;
-button-hover-color: -5;
-button-active-color: -7;
-disabled-button-checked-bg: tint( , 90%);
-disabled-button-checked-color: -color;
-wrapper-margin-right: 8px;
// Media queries breakpoints
// @screen-xs and @screen-xs-min is not used in Grid
// smallest break point is @screen-md
-xs: 480px;
-xs-min: -xs;
// 👆 Extra small screen / phone
// 👇 Small screen / tablet
-sm: 576px;
-sm-min: -sm;
// Medium screen / desktop
-md: 768px;
-md-min: -md;
// Large screen / wide desktop
-lg: 992px;
-lg-min: -lg;
// Extra large screen / full hd
-xl: 1200px;
-xl-min: -xl;
// Extra extra large screen / large desktop
-xxl: 1600px;
-xxl-min: -xxl;
// provide a maximum
-xs-max: ( -sm-min - 1px);
-sm-max: ( -md-min - 1px);
-md-max: ( -lg-min - 1px);
-lg-max: ( -xl-min - 1px);
-xl-max: ( -xxl-min - 1px);
// Grid system
-columns: 24;
// Layout
-body-background: #f0f2f5;
-header-background: #001529;
-header-height: 64px;
-header-padding: 0 50px;
-header-color: -color;
-footer-padding: 24px 50px;
-footer-background: -body-background;
-sider-background: -header-background;
-trigger-height: 48px;
-trigger-background: #002140;
-trigger-color: #fff;
-zero-trigger-width: 36px;
-zero-trigger-height: 42px;
// Layout light theme
-sider-background-light: #fff;
-trigger-background-light: #fff;
-trigger-color-light: -color;
// z-index list, order by \`z-index\`
-badge: auto;
-table-fixed: 2;
-affix: 10;
-back-top: 10;
-picker-panel: 10;
-popup-close: 10;
-modal: 1000;
-modal-mask: 1000;
-message: 1010;
-notification: 1010;
-popover: 1030;
-dropdown: 1050;
-picker: 1050;
-popoconfirm: 1060;
-tooltip: 1070;
-image: 1080;
// Animation
-duration-slow: 0.3s; // Modal
-duration-base: 0.2s;
-duration-fast: 0.1s; // Tooltip
//CollapsePanel
-panel-border-radius: -radius-base;
//Dropdown
-menu-bg: -background;
-vertical-padding: 5px;
-edge-child-vertical-padding: 4px;
-font-size: -size-base;
-line-height: 22px;
// Form
// ---
-required-color: -color;
-color: -color;
-warning-input-bg: -bg;
-item-margin-bottom: 24px;
-item-trailing-colon: true;
-vertical-label-padding: 0 0 8px;
-vertical-label-margin: 0;
-item-label-font-size: -size-base;
-item-label-height: -height-base;
-item-label-colon-margin-right: 8px;
-item-label-colon-margin-left: 2px;
-error-input-bg: -bg;
// Input
// ---
-height-base: -base;
-height-lg: -lg;
-height-sm: -sm;
-padding-horizontal: -padding-horizontal - 1px;
-padding-horizontal-base: -padding-horizontal;
-padding-horizontal-sm: -padding-horizontal-sm - 1px;
-padding-horizontal-lg: -padding-horizontal;
-padding-vertical-base: max(
round(( -height-base - -size-base * -height-base) / 2 * 10) / 10 -
-width-base,
3px
);
-padding-vertical-sm: max(
round(( -height-sm - -size-base * -height-base) / 2 * 10) / 10 - -width-base,
0
);
-padding-vertical-lg: ceil(( -height-lg - -size-lg * -height-base) / 2 * 10) /
10 - -width-base;
-placeholder-color: hsv(0, 0, 75%);
-color: -color;
-icon-color: -color;
-border-color: -color-base;
-bg: -background;
-number-hover-border-color: -hover-border-color;
-number-handler-active-bg: #f4f4f4;
-number-handler-hover-bg: -5;
-number-handler-bg: -background;
-number-handler-border-color: -color-base;
-addon-bg: -color-light;
-hover-border-color: -5;
-disabled-bg: -bg;
-outline-offset: 0 0;
-icon-hover-color: fade( , 85%);
-disabled-color: -color;
// Mentions
// ---
-dropdown-bg: -background;
-dropdown-menu-item-hover-bg: -dropdown-bg;
// Select
// ---
-border-color: -color-base;
-item-selected-color: -color;
-item-selected-font-weight: 600;
-dropdown-bg: -background;
-item-selected-bg: -1;
-item-active-bg: -hover-bg;
-dropdown-vertical-padding: -vertical-padding;
-dropdown-font-size: -font-size;
-dropdown-line-height: -line-height;
-dropdown-height: 32px;
-background: -background;
-clear-background: -background;
-selection-item-bg: -color-base;
-selection-item-border-color: -color-split;
-single-item-height-lg: 40px;
-multiple-item-height: -height-base - -padding-vertical-base * 2; // Normal 24px
-multiple-item-height-lg: 32px;
-multiple-item-spacing-half: ceil( -padding-vertical-base / 2);
-multiple-disabled-background: -disabled-bg;
-multiple-item-disabled-color: #bfbfbf;
-multiple-item-disabled-border-color: -border-color;
// Cascader
// ---
-bg: -background;
-item-selected-bg: -1;
-menu-bg: -background;
-menu-border-color-split: -color-split;
// Cascader
// ----
-dropdown-vertical-padding: -vertical-padding;
-dropdown-edge-child-vertical-padding: -edge-child-vertical-padding;
-dropdown-font-size: -font-size;
-dropdown-line-height: -line-height;
// Anchor
// ---
-bg: -background;
-border-color: -color-split;
-link-top: 7px;
-link-left: 16px;
-link-padding: -link-top 0 -link-top -link-left;
// Tooltip
// ---
// Tooltip max width
-max-width: 250px;
// Tooltip text color
-color: #fff;
// Tooltip background color
-bg: rgba(0, 0, 0, 0.75);
// Tooltip arrow width
-arrow-width: 5px;
// Tooltip distance with trigger
-distance: -arrow-width - 1px + 4px;
// Tooltip arrow color
-arrow-color: -bg;
// Popover
// ---
// Popover body background color
-bg: -background;
// Popover text color
-color: -color;
// Popover maximum width
-min-width: 177px;
-min-height: 32px;
// Popover arrow width
-arrow-width: 6px;
// Popover arrow color
-arrow-color: -bg;
// Popover outer arrow width
// Popover outer arrow color
-arrow-outer-color: -bg;
// Popover distance with trigger
-distance: -arrow-width + 4px;
-padding-horizontal: -md;
// Modal
// --
-header-padding-vertical: -md;
-header-padding-horizontal: -lg;
-body-padding: -lg;
-header-bg: -background;
-header-padding: -header-padding-vertical -header-padding-horizontal;
-header-border-width: -width-base;
-header-border-style: -style-base;
-header-title-line-height: 22px;
-header-title-font-size: -size-lg;
-header-border-color-split: -color-split;
-header-close-size: 56px;
-content-bg: -background;
-heading-color: -color;
-close-color: -color-secondary;
-footer-bg: transparent;
-footer-border-color-split: -color-split;
-footer-border-style: -style-base;
-footer-padding-vertical: 10px;
-footer-padding-horizontal: 16px;
-footer-border-width: -width-base;
-mask-bg: fade( , 45%);
-confirm-body-padding: 32px 32px 24px;
// Progress
// --
-default-color: -color;
-remaining-color: -color-base;
-text-color: -color;
-radius: 100px;
-steps-item-bg: #f3f3f3;
-text-font-size: 1em;
-circle-text-font-size: 1em;
// Menu
// ---
-inline-toplevel-item-height: 40px;
-item-height: 40px;
-item-group-height: -height-base;
-collapsed-width: 80px;
-bg: -background;
-popup-bg: -background;
-item-color: -color;
-highlight-color: -color;
-highlight-danger-color: -color;
-item-active-bg: -1;
-item-active-danger-bg: -1;
-item-active-border-width: 3px;
-item-group-title-color: -color-secondary;
-item-vertical-margin: 4px;
-item-font-size: -size-base;
-item-boundary-margin: 8px;
-item-padding: 0 20px;
-horizontal-line-height: 46px;
-icon-margin-right: 10px;
-icon-size: -item-font-size;
-icon-size-lg: -size-lg;
-item-group-title-font-size: -item-font-size;
// dark theme
-dark-color: -color-secondary-dark;
-dark-danger-color: -color;
-dark-bg: -header-background;
-dark-arrow-color: #fff;
-dark-submenu-bg: #000c17;
-dark-highlight-color: #fff;
-dark-item-active-bg: -color;
-dark-item-active-danger-bg: -color;
-dark-selected-item-icon-color: ;
-dark-selected-item-text-color: ;
-dark-item-hover-bg: transparent;
// Spin
// ---
-dot-size-sm: 14px;
-dot-size: 20px;
-dot-size-lg: 32px;
// Table
// --
-bg: -background;
-header-bg: -color-light;
-header-color: -color;
-header-sort-bg: -color-base;
-body-sort-bg: #fafafa;
-row-hover-bg: -color-light;
-selected-row-color: inherit;
-selected-row-bg: -1;
-body-selected-sort-bg: -selected-row-bg;
-selected-row-hover-bg: darken( -selected-row-bg, 2%);
-expanded-row-bg: #fbfbfb;
-padding-vertical: 16px;
-padding-horizontal: 16px;
-padding-vertical-md: -padding-vertical * 3 / 4;
-padding-horizontal-md: -padding-horizontal / 2;
-padding-vertical-sm: -padding-vertical / 2;
-padding-horizontal-sm: -padding-horizontal / 2;
-border-radius-base: -radius-base;
-footer-bg: -color-light;
-footer-color: -color;
-header-bg-sm: -header-bg;
-font-size: -size-base;
-font-size-md: -font-size;
-font-size-sm: -font-size;
// Sorter
// Legacy: \`table-header-sort-active-bg\` is used for hover not real active
-header-sort-active-bg: darken( -header-bg, 3%);
// Filter
-header-filter-active-bg: darken( -header-sort-active-bg, 5%);
-filter-btns-bg: inherit;
-filter-dropdown-bg: -background;
-expand-icon-bg: -background;
-selection-column-width: 32px;
// Sticky
-sticky-scroll-bar-bg: fade(#000, 35%);
-sticky-scroll-bar-radius: 4px;
// Tag
// --
-default-bg: -color-light;
-default-color: -color;
-font-size: -size-sm;
-line-height: 20px;
// TimePicker
// ---
-bg: -background;
-basic-cell-hover-color: -hover-bg;
-basic-cell-active-with-range-color: -1;
-basic-cell-hover-with-range-color: lighten( -color, 35%);
-basic-cell-disabled-bg: -bg;
-border-color: -color-split;
-date-hover-range-border-color: lighten( -color, 20%);
-date-hover-range-color: -basic-cell-hover-with-range-color;
-time-panel-column-width: 56px;
-time-panel-column-height: 224px;
-time-panel-cell-height: 28px;
-panel-cell-height: 24px;
-panel-cell-width: 36px;
-text-height: 40px;
-panel-without-time-cell-height: 66px;
// Calendar
// ---
-bg: -background;
-input-bg: -bg;
-border-color: -color-inverse;
-item-active-bg: -active-bg;
-full-bg: -bg;
-full-panel-bg: -full-bg;
// Carousel
// ---
-dot-width: 16px;
-dot-height: 3px;
-dot-active-width: 24px;
// Badge
// ---
-height: 20px;
-height-sm: 14px;
-dot-size: 6px;
-font-size: -size-sm;
-font-size-sm: -size-sm;
-font-weight: normal;
-status-size: 6px;
-text-color: -background;
-color: -color;
// Rate
// ---
-star-color: -6;
-star-bg: -color-split;
-star-size: 20px;
-star-hover-scale: scale(1.1);
// Card
// ---
-head-color: -color;
-head-background: transparent;
-head-font-size: -size-lg;
-head-font-size-sm: -size-base;
-head-padding: 16px;
-head-padding-sm: -head-padding / 2;
-head-height: 48px;
-head-height-sm: 36px;
-inner-head-padding: 12px;
-padding-base: 24px;
-padding-base-sm: -padding-base / 2;
-actions-background: -background;
-actions-li-margin: 12px 0;
-skeleton-bg: #cfd8dc;
-background: -background;
-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12),
0 5px 12px 4px rgba(0, 0, 0, 0.09);
-radius: -radius-base;
-head-tabs-margin-bottom: -17px;
-head-extra-color: -color;
// Comment
// ---
-bg: inherit;
-padding-base: -md 0;
-nest-indent: 44px;
-font-size-base: -size-base;
-font-size-sm: -size-sm;
-author-name-color: -color-secondary;
-author-time-color: #ccc;
-action-color: -color-secondary;
-action-hover-color: #595959;
-actions-margin-bottom: inherit;
-actions-margin-top: -sm;
-content-detail-p-margin-bottom: inherit;
// Tabs
// ---
-card-head-background: -color-light;
-card-height: 40px;
-card-active-color: -color;
-card-horizontal-padding: ( -card-height - floor( -size-base * -height-base)) / 2 -
-width-base -md;
-card-horizontal-padding-sm: 6px -md;
-card-horizontal-padding-lg: 7px -md 6px;
-title-font-size: -size-base;
-title-font-size-lg: -size-lg;
-title-font-size-sm: -size-base;
-ink-bar-color: -color;
-bar-margin: 0 0 -md 0;
-horizontal-margin: 0 32px 0 0;
-horizontal-margin-rtl: 0 0 0 32px;
-horizontal-padding: -sm 0;
-horizontal-padding-lg: -md 0;
-horizontal-padding-sm: -xs 0;
-vertical-padding: -xs -lg;
-vertical-margin: 0 0 -md 0;
-scrolling-size: 32px;
-highlight-color: -color;
-hover-color: -5;
-active-color: -7;
-card-gutter: 2px;
-card-tab-active-border-top: 2px solid transparent;
// BackTop
// ---
-top-color: #fff;
-top-bg: -color-secondary;
-top-hover-bg: -color;
// Avatar
// ---
-size-base: 32px;
-size-lg: 40px;
-size-sm: 24px;
-font-size-base: 18px;
-font-size-lg: 24px;
-font-size-sm: 14px;
-bg: #ccc;
-color: #fff;
-border-radius: -radius-base;
-group-overlapping: -8px;
-group-space: 3px;
-group-border-color: #fff;
// Switch
// ---
-height: 22px;
-sm-height: 16px;
-min-width: 44px;
-sm-min-width: 28px;
-disabled-opacity: 0.4;
-color: -color;
-bg: -background;
-shadow-color: fade(#00230b, 20%);
-padding: 2px;
-inner-margin-min: ceil( -height * 0.3);
-inner-margin-max: ceil( -height * 1.1);
-sm-inner-margin-min: ceil( -sm-height * 0.3);
-sm-inner-margin-max: ceil( -sm-height * 1.1);
// Pagination
// ---
-item-bg: -background;
-item-size: -base;
-item-size-sm: 24px;
-font-family: -family;
-font-weight-active: 500;
-item-bg-active: -background;
-item-link-bg: -background;
-item-disabled-color-active: ;
-item-disabled-bg-active: darken( -bg, 10%);
-item-input-bg: -background;
-mini-options-size-changer-top: 0px;
// PageHeader
// ---
-header-padding: -lg;
-header-padding-vertical: -md;
-header-padding-breadcrumb: -sm;
-header-content-padding-vertical: -sm;
-header-back-color: #000;
-header-ghost-bg: inherit;
-header-heading-title: -4-size;
-header-heading-sub-title: 14px;
-header-tabs-tab-font-size: 16px;
// Breadcrumb
// ---
-base-color: -color-secondary;
-last-item-color: -color;
-font-size: -size-base;
-icon-font-size: -size-base;
-link-color: -color-secondary;
-link-color-hover: -5;
-separator-color: -color-secondary;
-separator-margin: 0 -xs;
// Slider
// ---
-margin: 10px 6px 10px;
-rail-background-color: -color-base;
-rail-background-color-hover: #e1e1e1;
-track-background-color: -3;
-track-background-color-hover: -4;
-handle-border-width: 2px;
-handle-background-color: -background;
-handle-color: -3;
-handle-color-hover: -4;
-handle-color-focus: tint( -color, 20%);
-handle-color-focus-shadow: fade( -color, 12%);
-handle-color-tooltip-open: -color;
-handle-size: 14px;
-handle-margin-top: -5px;
-handle-shadow: 0;
-dot-border-color: -color-split;
-dot-border-color-active: tint( -color, 50%);
-disabled-color: -color;
-disabled-background-color: -background;
// Tree
// ---
-bg: -background;
-title-height: 24px;
-child-padding: 18px;
-directory-selected-color: #fff;
-directory-selected-bg: -color;
-node-hover-bg: -hover-bg;
-node-selected-bg: -2;
// Collapse
// ---
-header-padding: -sm -md;
-header-padding-extra: 40px;
-header-bg: -color-light;
-content-padding: -md;
-content-bg: -background;
-header-arrow-left: 16px;
// Skeleton
// ---
-color: rgba(190, 190, 190, 0.2);
-to-color: shade( -color, 5%);
-paragraph-margin-top: 28px;
-paragraph-li-margin-top: -md;
-paragraph-li-height: 16px;
-title-height: 16px;
-title-paragraph-margin-top: -lg;
// Transfer
// ---
-header-height: 40px;
-item-height: -base;
-disabled-bg: -bg;
-list-height: 200px;
-item-hover-bg: -hover-bg;
-item-padding-vertical: 6px;
-list-search-icon-top: 12px;
// Message
// ---
-notice-content-padding: 10px 16px;
-notice-content-bg: -background;
// Motion
// ---
-animation-width: 6px;
// Alert
// ---
-success-border-color: ~\`colorPalette('@{success-color}', 3) \`;
-success-bg-color: ~\`colorPalette('@{success-color}', 1) \`;
-success-icon-color: -color;
-info-border-color: ~\`colorPalette('@{info-color}', 3) \`;
-info-bg-color: ~\`colorPalette('@{info-color}', 1) \`;
-info-icon-color: -color;
-warning-border-color: ~\`colorPalette('@{warning-color}', 3) \`;
-warning-bg-color: ~\`colorPalette('@{warning-color}', 1) \`;
-warning-icon-color: -color;
-error-border-color: ~\`colorPalette('@{error-color}', 3) \`;
-error-bg-color: ~\`colorPalette('@{error-color}', 1) \`;
-error-icon-color: -color;
-message-color: -color;
-text-color: -color;
-close-color: -color-secondary;
-close-hover-color: -color-hover;
-no-icon-padding-vertical: -xs;
-with-description-no-icon-padding-vertical: -md - 1px;
-with-description-padding-vertical: -md - 1px;
-with-description-padding: -with-description-padding-vertical 15px
-with-description-no-icon-padding-vertical -with-description-icon-size;
-icon-top: 8px + -size-base * -height-base / 2 - -size-base / 2;
-with-description-icon-size: 24px;
// List
// ---
-header-background: transparent;
-footer-background: transparent;
-empty-text-padding: -md;
-item-padding: -sm 0;
-item-padding-sm: -xs -md;
-item-padding-lg: 16px 24px;
-item-meta-margin-bottom: -md;
-item-meta-avatar-margin-right: -md;
-item-meta-title-margin-bottom: -sm;
-customize-card-bg: -background;
-item-meta-description-font-size: -size-base;
// Statistic
// ---
-title-font-size: -size-base;
-content-font-size: 24px;
-unit-font-size: 24px;
-font-family: -family;
// Drawer
// ---
-header-padding: -md -lg;
-body-padding: -lg;
-bg: -background;
-footer-padding-vertical: -footer-padding-vertical;
-footer-padding-horizontal: -footer-padding-horizontal;
-header-close-size: 56px;
// Timeline
// ---
-width: 2px;
-color: -color-split;
-dot-border-width: 2px;
-dot-color: -color;
-dot-bg: -background;
-item-padding-bottom: 20px;
// Typography
// ---
-title-font-weight: 600;
-title-margin-top: 1.2em;
-title-margin-bottom: 0.5em;
// Upload
// ---
-actions-color: -color-secondary;
// Steps
// ---
-tail-color: -color-split;
-nav-arrow-color: fade( , 25%);
-background: -background;
-icon-size: 32px;
-icon-custom-size: -icon-size;
-icon-custom-top: 0px;
-icon-custom-font-size: 24px;
-icon-top: -1px;
-icon-font-size: -size-lg;
-icon-margin: 0 8px 0 0;
-title-line-height: -base;
-small-icon-size: 24px;
-small-icon-margin: 0 8px 0 0;
-dot-size: 8px;
-dot-top: 2px;
-current-dot-size: 10px;
-desciption-max-width: 140px;
-nav-content-max-width: auto;
-vertical-icon-width: 16px;
-vertical-tail-width: 16px;
-vertical-tail-width-sm: 12px;
// Notification
// ---
-bg: -background;
-padding-vertical: 16px;
-padding-horizontal: 24px;
// Result
// ---
-title-font-size: 24px;
-subtitle-font-size: -size-base;
-icon-font-size: 72px;
-extra-margin: 24px 0 0 0;
// Image
// ---
-size-base: 48px;
-font-size-base: 24px;
-bg: #f5f5f5;
-color: #fff;
-preview-operation-size: 18px;
-preview-operation-color: -color-dark;
-preview-operation-disabled-color: fade( -preview-operation-color, 25%);
`;
}
exports.createCustomTheme = createCustomTheme;
//# sourceMappingURL=create-custom-theme.js.map