@arco-themes/vue-neutral 0.0.0-stage → 0.0.1
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/README.md +65 -2
- package/component.less +20 -0
- package/components/AutoComplete/index.css +0 -0
- package/components/AutoComplete/index.less +3 -0
- package/components/Button/index.css +0 -0
- package/components/Button/index.less +3 -0
- package/components/Card/index.css +1 -0
- package/components/Card/index.less +8 -0
- package/components/Checkbox/index.css +0 -0
- package/components/Checkbox/index.less +3 -0
- package/components/Drawer/index.css +1 -0
- package/components/Drawer/index.less +6 -0
- package/components/Input/index.css +0 -0
- package/components/Input/index.less +8 -0
- package/components/InputNumber/index.css +1 -0
- package/components/InputNumber/index.less +6 -0
- package/components/Link/index.css +1 -0
- package/components/Link/index.less +13 -0
- package/components/Modal/index.css +1 -0
- package/components/Modal/index.less +6 -0
- package/components/Popover/index.css +1 -0
- package/components/Popover/index.less +4 -0
- package/components/Radio/index.css +1 -0
- package/components/Radio/index.less +7 -0
- package/components/Select/index.css +1 -0
- package/components/Select/index.less +7 -0
- package/components/Skeleton/index.css +1 -0
- package/components/Skeleton/index.less +6 -0
- package/components/Switch/index.css +1 -0
- package/components/Switch/index.less +10 -0
- package/components/Table/index.css +1 -0
- package/components/Table/index.less +38 -0
- package/components/Tabs/index.css +1 -0
- package/components/Tabs/index.less +24 -0
- package/components/Transfer/index.css +1 -0
- package/components/Transfer/index.less +7 -0
- package/components/Tree/index.css +1 -0
- package/components/Tree/index.less +7 -0
- package/components/Upload/index.css +1 -0
- package/components/Upload/index.less +27 -0
- package/config.d.ts +0 -0
- package/css/arco.css +6 -0
- package/index.less +12 -0
- package/package.json +16 -3
- package/theme.css +509 -0
- package/theme.less +1466 -0
- package/tokens.less +3948 -0
- package/variables.less +1120 -0
package/README.md
CHANGED
|
@@ -1,3 +1,66 @@
|
|
|
1
|
-
# Temporary Holding Version
|
|
2
1
|
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
# @arco-themes/vue-neutral
|
|
4
|
+
|
|
5
|
+
Powered By [ArcoDesign](https://arco.design/)
|
|
6
|
+
|
|
7
|
+
[Click to Preview](https://arco.design/themes/design/20162)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
npm install @arco-themes/vue-neutral
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Changelog
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
- 0.0.1
|
|
19
|
+
|
|
20
|
+
Release:
|
|
21
|
+
- Font:
|
|
22
|
+
- Link:
|
|
23
|
+
- Card:
|
|
24
|
+
- Table:
|
|
25
|
+
- Checkbox:
|
|
26
|
+
- Tabs:
|
|
27
|
+
- Tree:
|
|
28
|
+
- Global:
|
|
29
|
+
- Input:
|
|
30
|
+
- Select:
|
|
31
|
+
- Drawer:
|
|
32
|
+
- Modal:
|
|
33
|
+
- Skeleton:
|
|
34
|
+
- InputNumber:
|
|
35
|
+
- Switch:
|
|
36
|
+
- Transfer:
|
|
37
|
+
- Upload:
|
|
38
|
+
- Button:
|
|
39
|
+
- Popover:
|
|
40
|
+
- AutoComplete:
|
|
41
|
+
- Radio:
|
|
42
|
+
- Color:
|
|
43
|
+
- Collapse:
|
|
44
|
+
- Descriptions:
|
|
45
|
+
- Empty:
|
|
46
|
+
- List:
|
|
47
|
+
- Statistic:
|
|
48
|
+
- Tag:
|
|
49
|
+
- Timeline:
|
|
50
|
+
- Tooltip:
|
|
51
|
+
- DatePicker:
|
|
52
|
+
- Alert:
|
|
53
|
+
- Message:
|
|
54
|
+
- Popconfirm:
|
|
55
|
+
- Progress:
|
|
56
|
+
- Result:
|
|
57
|
+
- Spin:
|
|
58
|
+
- Dropdown:
|
|
59
|
+
- Pagination:
|
|
60
|
+
- Form:
|
|
61
|
+
- InputTag:
|
|
62
|
+
- TimePicker:
|
|
63
|
+
- Breadcrumb:
|
|
64
|
+
- Avatar:
|
|
65
|
+
|
|
66
|
+
|
package/component.less
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* 自定义组件样式 */
|
|
2
|
+
@import "./components/AutoComplete/index.less";
|
|
3
|
+
@import "./components/Button/index.less";
|
|
4
|
+
@import "./components/Card/index.less";
|
|
5
|
+
@import "./components/Checkbox/index.less";
|
|
6
|
+
@import "./components/Drawer/index.less";
|
|
7
|
+
@import "./components/Input/index.less";
|
|
8
|
+
@import "./components/InputNumber/index.less";
|
|
9
|
+
@import "./components/Link/index.less";
|
|
10
|
+
@import "./components/Modal/index.less";
|
|
11
|
+
@import "./components/Popover/index.less";
|
|
12
|
+
@import "./components/Radio/index.less";
|
|
13
|
+
@import "./components/Select/index.less";
|
|
14
|
+
@import "./components/Skeleton/index.less";
|
|
15
|
+
@import "./components/Switch/index.less";
|
|
16
|
+
@import "./components/Table/index.less";
|
|
17
|
+
@import "./components/Tabs/index.less";
|
|
18
|
+
@import "./components/Transfer/index.less";
|
|
19
|
+
@import "./components/Tree/index.less";
|
|
20
|
+
@import "./components/Upload/index.less";
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-card .arco-card-header{padding:16px}.arco-card .arco-card-header-title{line-height:initial}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-drawer .arco-drawer-header{padding:16px}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-input-number .arco-input-append>button,.arco-input-number .arco-input-prepend>button{border:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-link:not(.arco-link-disabled).arco-link-status-success:hover{background:rgb(var(--success-1))}.arco-link:not(.arco-link-disabled).arco-link-status-danger:hover{background:rgb(var(--danger-1))}.arco-link:not(.arco-link-disabled).arco-link-status-warning:hover{background:rgb(var(--warning-1))}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.@{link-prefix-cls} {
|
|
2
|
+
&:not(.arco-link-disabled){
|
|
3
|
+
&.arco-link-status-success:hover{
|
|
4
|
+
background:rgb(var(--success-1));
|
|
5
|
+
}
|
|
6
|
+
&.arco-link-status-danger:hover{
|
|
7
|
+
background:rgb(var(--danger-1));
|
|
8
|
+
}
|
|
9
|
+
&.arco-link-status-warning:hover{
|
|
10
|
+
background:rgb(var(--warning-1));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-modal .arco-modal-header{padding:16px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-popover{border-radius:var(--border-radius-large)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-radio-group-button{border:1px solid var(--color-neutral-3)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-select.arco-select-view-error.arco-select-focused{box-shadow:0 0 0 2px var(--color-danger-light-2)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-skeleton .arco-skeleton-line-row{border-radius:8px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-switch.arco-switch-type-round{border-radius:8px}.arco-switch.arco-switch-type-round .arco-switch-handle{border-radius:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-table .arco-table-container{border-radius:8px}.arco-table .arco-table-element thead tr:first-child th:first-child{border-top-left-radius:8px}.arco-table .arco-table-element thead tr:first-child th:last-child{border-top-right-radius:8px}.arco-table .arco-table-element tbody tr:first-child td:first-child{border-top-left-radius:8px}.arco-table .arco-table-element tbody tr:first-child td:last-child{border-top-right-radius:8px}.arco-table .arco-table-element thead+tbody tr:first-child td:first-child,.arco-table .arco-table-element thead+tbody tr:first-child td:last-child{border-top-left-radius:0;border-top-right-radius:0}.arco-table .arco-table-element tbody tr:last-child td:first-child{border-bottom-left-radius:8px}.arco-table .arco-table-element tbody tr:last-child td:last-child{border-bottom-right-radius:8px}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.@{table-prefix-cls} {
|
|
2
|
+
.arco-table-container {
|
|
3
|
+
border-radius: @border-radius-large;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.arco-table-element {
|
|
7
|
+
// 表头:顶部圆角
|
|
8
|
+
thead tr:first-child th:first-child {
|
|
9
|
+
border-top-left-radius: @border-radius-large;
|
|
10
|
+
}
|
|
11
|
+
thead tr:first-child th:last-child {
|
|
12
|
+
border-top-right-radius: @border-radius-large;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// 无表头:首行 body 顶部圆角
|
|
16
|
+
tbody tr:first-child td:first-child {
|
|
17
|
+
border-top-left-radius: @border-radius-large;
|
|
18
|
+
}
|
|
19
|
+
tbody tr:first-child td:last-child {
|
|
20
|
+
border-top-right-radius: @border-radius-large;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// 有表头:首行 body 顶部取消圆角
|
|
24
|
+
thead + tbody tr:first-child td:first-child,
|
|
25
|
+
thead + tbody tr:first-child td:last-child {
|
|
26
|
+
border-top-left-radius: 0;
|
|
27
|
+
border-top-right-radius: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// 最后一行:底部圆角
|
|
31
|
+
tbody tr:last-child td:first-child {
|
|
32
|
+
border-bottom-left-radius: @border-radius-large;
|
|
33
|
+
}
|
|
34
|
+
tbody tr:last-child td:last-child {
|
|
35
|
+
border-bottom-right-radius: @border-radius-large;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-tabs-type-capsule .arco-tabs-nav-tab-list{border:1px solid var(--color-neutral-3)}.arco-tabs-type-capsule .arco-tabs-tab{border-radius:8px}.arco-tabs-type-capsule .arco-tabs-tab.arco-tabs-tab-active{color:var(--color-bg-2)}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.@{tabs-prefix-cls} {
|
|
2
|
+
.arco-tabs-nav-type-card{
|
|
3
|
+
.arco-tabs-tab:first-child{
|
|
4
|
+
// border-top-left-radius: @border-radius-large;
|
|
5
|
+
}
|
|
6
|
+
.arco-tabs-tab:last-child {
|
|
7
|
+
// border-right: 1px solid var(--color-neutral-3);
|
|
8
|
+
// border-top-right-radius: @border-radius-large;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// 胶囊选项卡
|
|
14
|
+
.arco-tabs-type-capsule{
|
|
15
|
+
.arco-tabs-nav-tab-list{
|
|
16
|
+
border:1px solid @color-border-2;
|
|
17
|
+
}
|
|
18
|
+
.arco-tabs-tab{
|
|
19
|
+
border-radius:@border-radius-large;
|
|
20
|
+
&.arco-tabs-tab-active{
|
|
21
|
+
color:var(--color-bg-2);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-transfer .arco-transfer-view-header{border-top-left-radius:8px;border-top-right-radius:8px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-tree .arco-tree-node-switcher-icon,.arco-tree .arco-tree-node-minus-icon,.arco-tree .arco-tree-node-plus-icon{border-radius:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.arco-upload-wrapper .arco-upload-list-item-thumbnail{border-radius:4px}.arco-upload-wrapper .arco-upload-list-item-thumbnail img{border-radius:4px}.arco-upload-wrapper .arco-upload-list-item-content{border:1px solid var(--color-neutral-3)}.arco-upload-wrapper .arco-upload-list-item.arco-upload-list-item-error .arco-upload-list-item-file-icon{color:rgb(var(--danger-6))}.arco-upload-wrapper .arco-upload-list-item.arco-upload-list-item-error .arco-upload-list-item-content{border:1px solid rgb(var(--danger-6))}.arco-upload-wrapper .arco-upload-list-item.arco-upload-list-item-error .arco-upload-list-item-operation{color:rgb(var(--danger-6))}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.@{upload-prefix-cls} {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.@{upload-prefix-cls}-wrapper {
|
|
6
|
+
.@{upload-prefix-cls}-list-item-thumbnail{
|
|
7
|
+
border-radius:@border-radius-medium;
|
|
8
|
+
img{
|
|
9
|
+
border-radius:@border-radius-medium;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.@{upload-prefix-cls}-list-item-content {
|
|
13
|
+
border:1px solid var(--color-neutral-3);
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
.@{upload-prefix-cls}-list-item.@{upload-prefix-cls}-list-item-error{
|
|
17
|
+
.@{upload-prefix-cls}-list-item-file-icon{
|
|
18
|
+
color:rgb(var(--danger-6));
|
|
19
|
+
}
|
|
20
|
+
.@{upload-prefix-cls}-list-item-content {
|
|
21
|
+
border:1px solid rgb(var(--danger-6));
|
|
22
|
+
}
|
|
23
|
+
.@{upload-prefix-cls}-list-item-operation{
|
|
24
|
+
color:rgb(var(--danger-6));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
package/config.d.ts
ADDED
|
File without changes
|