-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathindex.ts
138 lines (109 loc) · 4.32 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
// All antd theme variables: https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
export default {
'@font-size-sm': '12px',
'@font-size-base': '12px',
'@primary-color': '#0064C8',
'@border-radius-base': '0',
'@border-radius-sm': '0',
'@text-color': 'fade(#000, 65%)',
'@text-color-secondary': 'fade(#000, 45%)',
'@heading-color': 'fade(#000, 85%)',
'@background-color-base': 'hsv(0, 0, 96%)',
'@success-color': '#1e8e3e',
'@error-color': '#d93026',
'@warning-color': '#ffc440',
'@info-color': '@primary-color',
'@danger-color': '@error-color',
'@processing-color': '@primary-color',
'@border-color-base': '#dedede',
'@border-color-split': '#ebebeb',
'@outline-width': '0',
'@outline-color': '#737373',
'@input-height-lg': '36px',
'@input-height-base': '32px',
'@input-height-sm': '24px',
'@input-hover-border-color': '#737373',
'@form-item-margin-bottom': '16px',
'@btn-default-bg': '#fafafa',
'@btn-default-border': '#dedede',
'@btn-danger-color': '#ffffff',
'@btn-danger-bg': '@error-color',
'@btn-danger-border': '@error-color',
'@btn-padding-horizontal-base': '12px',
'@btn-padding-horizontal-sm': '8px',
'@btn-padding-horizontal-lg': '16px',
'@switch-color': '@success-color',
'@table-header-bg': '#fafafa',
'@table-row-hover-bg': '#fafafa',
'@table-padding-vertical': '12px',
'@table-selected-row-bg': 'fade(@primary-color, 10)',
'@table-header-cell-split-color': 'transparent',
'@table-selection-column-width': '50px',
'@badge-color': '@error-color',
'@breadcrumb-base-color': '@text-color',
'@breadcrumb-last-item-color': '@text-color-secondary',
'@breadcrumb-link-color': '@heading-color',
'@breadcrumb-link-color-hover': '@primary-color',
'@slider-rail-background-color': '@background-color-base',
'@slider-rail-background-color-hover': '#e1e1e1',
'@slider-track-background-color': '@primary-color',
'@slider-track-background-color-hover': '@primary-color',
'@slider-handle-border-width': '1px',
'@slider-handle-color': '#dedede',
'@slider-handle-color-hover': '#dedede',
'@slider-handle-color-focus': '#dedede',
'@slider-handle-color-tooltip-open': '#ddd',
'@slider-handle-color-focus-shadow': 'transparent',
'@slider-handle-shadow': '1px 1px 4px 0 rgba(0,0,0,.13)',
'@alert-success-border-color': '#dff4e5',
'@alert-success-bg-color': '#dff4e5',
'@alert-info-border-color': '#e5f3ff',
'@alert-info-bg-color': '#e5f3ff',
'@alert-error-border-color': '#fcebea',
'@alert-error-bg-color': '#fcebea',
'@alert-warning-border-color': '#fff7db',
'@alert-warning-bg-color': '#fff7db',
'@radio-button-bg': 'transparent',
'@radio-button-checked-bg': 'transparent',
'@radio-button-active-color': 'fade(@primary-color, 15)',
'@radio-button-padding-horizontal': '16px',
'@progress-radius': '0',
'@tabs-card-gutter': '-1px',
'@tabs-card-horizontal-padding-lg': '8px 16px',
'@tabs-card-tab-active-border-top': '2px solid @primary-color',
'@tabs-hover-color': '@primary-color',
'@tabs-title-font-size': '14px',
'@layout-body-background': '#ffffff',
'@layout-sider-background': '#f5f5f5',
'@menu-bg': 'transparent',
'@menu-highlight-color': '@heading-color',
'@menu-horizontal-line-height': '36px',
'@menu-item-active-bg': '#dedede',
'@menu-item-active-border-width': '0',
'@menu-item-boundary-margin': '0',
'@menu-item-hover-bg': '#ebebeb',
'@menu-item-vertical-margin': '0',
'@menu-inline-submenu-bg': '#f5f5f5',
'@page-header-heading-title': '28px',
'@page-header-padding-breadcrumb': '16px',
'@tooltip-max-width': '500px',
'@tooltip-bg': '#ffffff',
'@tooltip-color': '@heading-color',
'@tooltip-arrow-width': '8px',
'@modal-body-padding': '0 24px',
'@modal-footer-border-width': '0',
'@modal-confirm-body-padding': '24px',
'@modal-confirm-title-font-size': '16px',
'@modal-footer-padding-vertical': '16px',
'@modal-footer-padding-horizontal': '24px',
'@modal-header-border-width': '0',
'@select-item-selected-bg': 'rgba(14,146,255,0.05)',
'@link-hover-color': '@primary-color',
'@link-hover-decoration': 'underline',
'@link-focus-decoration': 'underline',
'@drawer-title-font-size': '18px',
'@drawer-title-line-height': '27px',
'@divider-vertical-gutter': '0',
'@dropdown-selected-bg': 'rgba(14, 146, 255, 0.05)',
'@body-background': '#f2f3f5',
};