Skip to content

Commit 83675ed

Browse files
committed
feat: update DatePicker style
1 parent 604334b commit 83675ed

File tree

8 files changed

+33
-33
lines changed

8 files changed

+33
-33
lines changed

packages/DatePicker/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/DatePicker/dist/index.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/DatePicker/dist/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/DatePicker/dist/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* @ezuikit/control-date-picker v1.0.5
2+
* @ezuikit/control-date-picker v2.0.0-alpha.1
33
* Copyright (c) 2026-03-15 Ezviz-OpenBiz
44
* Released under the MIT License.
55
*/

packages/DatePicker/dist/style/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import '@skax/picker/dist/style/css';
2+
import './style/_theme.scss';
23
import './components/index.scss';
34
import './calendar/index.scss';
45
import './month/index.scss';

packages/DatePicker/dist/style/style/_style.scss

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,3 @@ $ecalendar-prefix-cls: ecalendar;
33
$emonth-prefix-cls: emonth;
44
$eyear-prefix-cls: eyear;
55
$disabled: #{$edate-prefix-cls}-disabled;
6-
7-
:root {
8-
--edate-header-height: 34px;
9-
--edate-footer-height: var(--edate-header-height, 34px);
10-
--edate-font-size: 14px;
11-
--edate-default-color: rgba(0, 0, 0, 0.88);
12-
--edate-primary-color: #648ffc;
13-
--edate-hover-color: var(--edate-default-color, rgba(0, 0, 0, 0.88));
14-
--edate-hover-bg-color: rgba(0, 0, 0, 0.04);
15-
--edate-active-color: var(--edate-default-color, rgba(0, 0, 0, 0.88));
16-
--edate-active-bg-color: #e6f4ff;
17-
--edate-disabled-color: rgba(0, 0, 0, 0.25);
18-
--edate-disabled-bg-color: rgba(0, 0, 0, 0.04);
19-
--edate-disabled-active-bg-color: rgba(0, 0, 0, 0.25);
20-
--edate-border-color: rgba(5, 5, 5, 0.06);
21-
--edate-border-radius: 2px;
22-
--edate-close-color: rgba(240, 87, 87, 1);
23-
24-
//
25-
--edate-calendar-border-radius: 50%;
26-
--edate-calendar-cell-width: 26px;
27-
--edate-calendar-cell-height: 26px;
28-
29-
//
30-
--edate-badge-color: var(--edate-primary-color, #648ffc);
31-
--edate-arrow-color: rgba(0, 0, 0, 0.45);
32-
--edate-arrow-hover-color: var(--edate-default-color, rgba(0, 0, 0, 0.88));
33-
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
:root {
2+
--edate-header-height: 34px;
3+
--edate-footer-height: var(--edate-header-height, 34px);
4+
--edate-font-size: 14px;
5+
--edate-default-color: rgba(0, 0, 0, 0.88);
6+
--edate-primary-color: #648ffc;
7+
--edate-hover-color: var(--edate-default-color, rgba(0, 0, 0, 0.88));
8+
--edate-hover-bg-color: rgba(0, 0, 0, 0.04);
9+
--edate-active-color: var(--edate-default-color, rgba(0, 0, 0, 0.88));
10+
--edate-active-bg-color: #e6f4ff;
11+
--edate-disabled-color: rgba(0, 0, 0, 0.25);
12+
--edate-disabled-bg-color: rgba(0, 0, 0, 0.04);
13+
--edate-disabled-active-bg-color: rgba(0, 0, 0, 0.25);
14+
--edate-border-color: rgba(5, 5, 5, 0.06);
15+
--edate-border-radius: 2px;
16+
--edate-close-color: rgba(240, 87, 87, 1);
17+
18+
//
19+
--edate-calendar-border-radius: 50%;
20+
--edate-calendar-cell-width: 26px;
21+
--edate-calendar-cell-height: 26px;
22+
23+
//
24+
--edate-badge-color: var(--edate-primary-color, #648ffc);
25+
--edate-arrow-color: rgba(0, 0, 0, 0.45);
26+
--edate-arrow-hover-color: var(--edate-default-color, rgba(0, 0, 0, 0.88));
27+
}

packages/DatePicker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ezuikit/control-date-picker",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"description": "date picker control for ezviz",
55
"title": "date-picker",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)