@seafile/seafile-calendar 1.0.33 → 1.0.35

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.
Files changed (2) hide show
  1. package/assets/index.css +3 -20
  2. package/package.json +1 -1
package/assets/index.css CHANGED
@@ -134,24 +134,7 @@
134
134
  --rc-calendar-disabled-color: #c2c2c2;
135
135
  --rc-calendar-out-range-color: #c2c2c2;
136
136
  }
137
- @media (prefers-color-scheme: dark) {
138
- .rc-calendar {
139
- --rc-calendar-popover-bg: #1c1d1f;
140
- --rc-calendar-popover-border-color: rgba(255, 255, 255, 0.1);
141
- --rc-calendar-popover-box-shadow: none;
142
- --rc-calendar-body-color: rgba(255, 255, 255, 0.9);
143
- --rc-calendar-icon-color: rgba(255, 255, 255, 0.7);
144
- --rc-calendar-icon-secondary-color: rgba(255, 255, 255, 0.5);
145
- --rc-calendar-icon-btn-hover-bg-color: rgba(255, 255, 255, 0.1);
146
- --rc-calendar-input-border-color: rgba(255, 255, 255, 0.1);
147
- --rc-calendar-input-focus-border-color: #3e84f7;
148
- --rc-calendar-divider-color: rgba(255, 255, 255, 0.1);
149
- --rc-calendar-disabled-bg: rgba(255, 255, 255, 0.08);
150
- --rc-calendar-disabled-color: rgba(255, 255, 255, 0.2);
151
- --rc-calendar-out-range-color: rgba(255, 255, 255, 0.2);
152
- }
153
- }
154
- /* Explicit theme values take precedence over the system preference. */
137
+ /* Follow the host application's explicit theme; default to light. */
155
138
  [data-bs-theme='light'] .rc-calendar,
156
139
  .rc-calendar[data-bs-theme='light'] {
157
140
  --rc-calendar-sf-orange: #FF8000;
@@ -406,7 +389,7 @@
406
389
  .rc-calendar-day-select {
407
390
  display: inline-block;
408
391
  font-size: 14px;
409
- font-weight: 600;
392
+ font-weight: 500;
410
393
  color: var(--rc-calendar-body-color, #212529);
411
394
  padding: 0 8px;
412
395
  line-height: 48px;
@@ -667,7 +650,7 @@
667
650
  }
668
651
  .rc-calendar-today-btn {
669
652
  padding-left: 0;
670
- font-weight: 600;
653
+ font-weight: 500;
671
654
  }
672
655
  .rc-calendar-time-panel {
673
656
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-calendar",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "React Calendar",
5
5
  "keywords": [
6
6
  "react",