@arco-themes/vue-neutral 0.0.1 → 0.0.2
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 +9 -0
- package/components/Tree/index.css +1 -1
- package/components/Tree/index.less +5 -0
- package/css/arco.css +1 -1
- package/package.json +1 -1
- package/theme.less +50 -6
- package/tokens.less +8 -8
- package/variables.less +8 -3
package/package.json
CHANGED
package/theme.less
CHANGED
|
@@ -1441,26 +1441,70 @@
|
|
|
1441
1441
|
border-radius:var(--border-radius-large);
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
|
|
1445
1444
|
// 输入框前后插槽的边框处理
|
|
1446
1445
|
.arco-input-outer {
|
|
1447
1446
|
> .arco-input-prepend,
|
|
1448
1447
|
> .arco-input-append {
|
|
1449
|
-
background-color: var(--color-bg-2);
|
|
1450
|
-
border: 1px solid var(--color-neutral-3);
|
|
1448
|
+
background-color: var(--color-bg-2);
|
|
1449
|
+
border: 1px solid var(--color-neutral-3);
|
|
1450
|
+
|
|
1451
|
+
// 插槽内嵌套 Select 时,去掉外壳边框,由 Select 自身承担边框与聚焦态
|
|
1452
|
+
&:has(> .arco-select-view) {
|
|
1453
|
+
border: none;
|
|
1454
|
+
padding: 0;
|
|
1455
|
+
background-color: transparent;
|
|
1456
|
+
}
|
|
1451
1457
|
}
|
|
1452
1458
|
|
|
1453
1459
|
> .arco-input-prepend {
|
|
1454
|
-
border-right: none;
|
|
1460
|
+
border-right: none;
|
|
1455
1461
|
border-radius: var(--border-radius-large) 0 0 var(--border-radius-large);
|
|
1462
|
+
|
|
1463
|
+
> .arco-select-view {
|
|
1464
|
+
border-radius: var(--border-radius-large) 0 0 var(--border-radius-large);
|
|
1465
|
+
margin-right: -1px;
|
|
1466
|
+
|
|
1467
|
+
&.arco-select-view-focus {
|
|
1468
|
+
position: relative;
|
|
1469
|
+
z-index: 1;
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1456
1472
|
}
|
|
1457
1473
|
|
|
1458
1474
|
> .arco-input-append {
|
|
1459
1475
|
border-left: none;
|
|
1460
1476
|
border-radius: 0 var(--border-radius-large) var(--border-radius-large) 0;
|
|
1477
|
+
|
|
1478
|
+
> .arco-select-view {
|
|
1479
|
+
border-radius: 0 var(--border-radius-large) var(--border-radius-large) 0;
|
|
1480
|
+
margin-left: -1px;
|
|
1481
|
+
|
|
1482
|
+
&.arco-select-view-focus {
|
|
1483
|
+
position: relative;
|
|
1484
|
+
z-index: 1;
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
> .arco-input-wrapper.arco-input-focus {
|
|
1490
|
+
position: relative;
|
|
1491
|
+
z-index: 1;
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
// 输入框组合(兜底白底主题下被内联 border: none 清掉的边框)
|
|
1496
|
+
.arco-input-group {
|
|
1497
|
+
> .arco-input-wrapper {
|
|
1498
|
+
border: 1px solid var(--color-neutral-3) !important;
|
|
1499
|
+
|
|
1500
|
+
&.arco-input-focus {
|
|
1501
|
+
position: relative;
|
|
1502
|
+
z-index: 1;
|
|
1503
|
+
border-color: rgb(var(--primary-6)) !important;
|
|
1504
|
+
}
|
|
1461
1505
|
}
|
|
1462
1506
|
}
|
|
1463
1507
|
|
|
1464
|
-
.arco-trigger-content.arco-popconfirm-popup-content{
|
|
1465
|
-
border-radius:var(--border-radius-large);
|
|
1508
|
+
.arco-trigger-content.arco-popconfirm-popup-content {
|
|
1509
|
+
border-radius: var(--border-radius-large);
|
|
1466
1510
|
}
|
package/tokens.less
CHANGED
|
@@ -533,14 +533,14 @@
|
|
|
533
533
|
@link-9: rgb(var(--arcoblue-9));
|
|
534
534
|
@link-10: rgb(var(--arcoblue-10));
|
|
535
535
|
@link-font-size: 14px;
|
|
536
|
-
@link-color-bg_hover:
|
|
537
|
-
@link-color-bg_active:
|
|
536
|
+
@link-color-bg_hover: var(--color-neutral-2);
|
|
537
|
+
@link-color-bg_active: var(--color-neutral-1);
|
|
538
538
|
@link-padding-horizontal: 4px;
|
|
539
539
|
@link-line-height: 1.5715;
|
|
540
|
-
@link-color-text: rgb(var(--
|
|
541
|
-
@link-color-text_hover: rgb(var(--
|
|
542
|
-
@link-color-text_active: rgb(var(--
|
|
543
|
-
@link-color-text_disabled: var(--color-
|
|
540
|
+
@link-color-text: rgb(var(--primary-6));
|
|
541
|
+
@link-color-text_hover: rgb(var(--primary-6));
|
|
542
|
+
@link-color-text_active: rgb(var(--primary-6));
|
|
543
|
+
@link-color-text_disabled: var(--color-neutral-4);
|
|
544
544
|
@link-color-text_loading: var(--color-link-light-3);
|
|
545
545
|
@link-color-text_success: rgb(var(--success-6));
|
|
546
546
|
@link-color-text_success_hover: rgb(var(--success-6));
|
|
@@ -3754,8 +3754,8 @@
|
|
|
3754
3754
|
@tree-color-title-text_hover: var(--color-text-1);
|
|
3755
3755
|
@tree-color-title-text_active: rgb(var(--primary-6));
|
|
3756
3756
|
@tree-color-title-text_disabled: var(--color-neutral-4);
|
|
3757
|
-
@tree-color-title-text_active_disabled:
|
|
3758
|
-
@tree-color-title-bg_hover: var(--color-
|
|
3757
|
+
@tree-color-title-text_active_disabled: var(--color-neutral-4);
|
|
3758
|
+
@tree-color-title-bg_hover: var(--color-neutral-2);
|
|
3759
3759
|
@tree-color-title-bg_highlight: var(--color-primary-light-1);
|
|
3760
3760
|
@tree-color-title-text_highlight: var(--color-text-1);
|
|
3761
3761
|
@tree-color-title-bg_dragging: var(--color-fill-1);
|
package/variables.less
CHANGED
|
@@ -849,8 +849,8 @@
|
|
|
849
849
|
@btn-dashed-color-bg_success_active: @color-transparent;
|
|
850
850
|
@btn-dashed-color-border_success_hover: @color-success-5;
|
|
851
851
|
@btn-size-mini-icon-vertical-align: -1px;
|
|
852
|
-
@link-color-bg_hover: @color-
|
|
853
|
-
@link-color-bg_active: @color-
|
|
852
|
+
@link-color-bg_hover: @color-fill-2;
|
|
853
|
+
@link-color-bg_active: @color-fill-1;
|
|
854
854
|
@card-border-radius: @border-radius-large;
|
|
855
855
|
@card-size-default-height-title: auto;
|
|
856
856
|
@card-margin-top-meta-footer: @spacing-7;
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
@upload-text-item-padding-right: @spacing-7;
|
|
1037
1037
|
@upload-text-item-padding-vertical: @spacing-4;
|
|
1038
1038
|
@upload-text-item-color-bg: @color-bg-2;
|
|
1039
|
-
@tree-color-title-text_active_disabled: @color-
|
|
1039
|
+
@tree-color-title-text_active_disabled: @color-text-4;
|
|
1040
1040
|
@upload-text-item-color-reupload-icon: @color-danger-6;
|
|
1041
1041
|
@upload-picture-border-radius: @border-radius-large;
|
|
1042
1042
|
@upload-picture-item-border-radius: @border-radius-large;
|
|
@@ -1118,3 +1118,8 @@
|
|
|
1118
1118
|
@collapse-expand-icon-spacing-text: @spacing-2;
|
|
1119
1119
|
@list-pagination-margin-top: @spacing-7;
|
|
1120
1120
|
@table-spacing-pagination-margin: @spacing-7;
|
|
1121
|
+
@btn-size-mini-icon-spacing: @spacing-2;
|
|
1122
|
+
@tree-color-title-text_active: @color-primary-6;
|
|
1123
|
+
@tree-color-title-bg_hover: @color-fill-2;
|
|
1124
|
+
@link-color-text: @color-primary-6;
|
|
1125
|
+
@link-color-text_disabled: @color-text-4;
|