@vanduo-oss/framework 1.4.3 → 1.4.4

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/dist/vanduo.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Vanduo v1.4.3 | Built: 2026-05-28T13:14:25.371Z | git:02ef7f6 | development */
1
+ /*! Vanduo v1.4.4 | Built: 2026-06-07T19:14:20.877Z | git:781df0d | development */
2
2
  *, :before, :after {
3
3
  box-sizing: border-box;
4
4
  }
@@ -61284,6 +61284,122 @@ body > .vd-theme-customizer-panel.is-open {
61284
61284
  outline-offset: 1px;
61285
61285
  }
61286
61286
 
61287
+ :root {
61288
+ --vd-theme-switcher-menu-bg: var(--vd-color-white);
61289
+ --vd-theme-switcher-menu-border-color: var(--vd-border-color);
61290
+ --vd-theme-switcher-option-hover-bg: var(--vd-bg-secondary);
61291
+ --vd-theme-switcher-option-active-bg: var(--vd-color-primary-alpha-10);
61292
+ --vd-theme-switcher-option-active-color: var(--vd-color-primary);
61293
+ --vd-theme-switcher-z-index: 1000;
61294
+ }
61295
+
61296
+ [data-theme="dark"] {
61297
+ --vd-theme-switcher-menu-bg: var(--vd-bg-primary);
61298
+ --vd-theme-switcher-option-hover-bg: var(--vd-bg-secondary);
61299
+ }
61300
+
61301
+ @media (prefers-color-scheme: dark) {
61302
+ :root:not([data-theme]) {
61303
+ --vd-theme-switcher-menu-bg: var(--vd-bg-primary);
61304
+ --vd-theme-switcher-option-hover-bg: var(--vd-bg-secondary);
61305
+ }
61306
+ }
61307
+
61308
+ .vd-theme-switcher {
61309
+ display: inline-block;
61310
+ position: relative;
61311
+ }
61312
+
61313
+ .vd-theme-switcher-toggle {
61314
+ border: 1px solid var(--vd-border-color);
61315
+ border-radius: var(--vd-btn-border-radius, var(--vd-card-border-radius));
61316
+ width: 2.375rem;
61317
+ height: 2.375rem;
61318
+ color: var(--vd-text-secondary);
61319
+ cursor: pointer;
61320
+ background: none;
61321
+ justify-content: center;
61322
+ align-items: center;
61323
+ padding: 0;
61324
+ font-size: 1.15rem;
61325
+ line-height: 1;
61326
+ transition: color .2s, border-color .2s, background .2s;
61327
+ display: inline-flex;
61328
+ }
61329
+
61330
+ .vd-theme-switcher-toggle:hover, .vd-theme-switcher-toggle:focus-visible {
61331
+ color: var(--vd-color-primary);
61332
+ border-color: var(--vd-color-primary);
61333
+ background: var(--vd-color-primary-alpha-10);
61334
+ outline: none;
61335
+ }
61336
+
61337
+ .vd-theme-switcher-menu {
61338
+ z-index: var(--vd-theme-switcher-z-index);
61339
+ background: var(--vd-theme-switcher-menu-bg, #fff);
61340
+ border: 1px solid var(--vd-theme-switcher-menu-border-color);
61341
+ border-radius: var(--vd-btn-border-radius, var(--vd-card-border-radius));
61342
+ min-width: auto;
61343
+ box-shadow: var(--vd-shadow-lg);
61344
+ isolation: isolate;
61345
+ -webkit-backdrop-filter: none;
61346
+ visibility: hidden;
61347
+ pointer-events: none;
61348
+ transition: visibility var(--vd-transition-duration-base, .2s) var(--vd-transition-ease, ease),
61349
+ transform var(--vd-transition-duration-base, .2s) var(--vd-transition-ease, ease);
61350
+ flex-direction: column;
61351
+ gap: .25rem;
61352
+ margin: 0;
61353
+ padding: .375rem;
61354
+ list-style: none;
61355
+ display: none;
61356
+ position: absolute;
61357
+ top: calc(100% + .375rem);
61358
+ left: 0;
61359
+ transform: translateY(-6px);
61360
+ }
61361
+
61362
+ .vd-theme-switcher-menu-end .vd-theme-switcher-menu, .vd-theme-switcher.vd-theme-switcher-menu-end .vd-theme-switcher-menu {
61363
+ left: auto;
61364
+ right: 0;
61365
+ }
61366
+
61367
+ .vd-theme-switcher.is-open .vd-theme-switcher-menu, .vd-theme-switcher-menu.is-open {
61368
+ visibility: visible;
61369
+ pointer-events: auto;
61370
+ display: flex;
61371
+ transform: translateY(0);
61372
+ }
61373
+
61374
+ .vd-theme-switcher-option, .vd-theme-switcher-menu [data-theme-value] {
61375
+ border-radius: var(--vd-btn-border-radius-sm, var(--vd-radius-fib-3));
61376
+ width: 2.375rem;
61377
+ height: 2.375rem;
61378
+ color: var(--vd-text-secondary);
61379
+ cursor: pointer;
61380
+ background: none;
61381
+ border: 1px solid #0000;
61382
+ justify-content: center;
61383
+ align-items: center;
61384
+ padding: 0;
61385
+ font-size: 1.15rem;
61386
+ line-height: 1;
61387
+ transition: color .2s, background .2s, border-color .2s;
61388
+ display: inline-flex;
61389
+ }
61390
+
61391
+ .vd-theme-switcher-option:hover, .vd-theme-switcher-option:focus-visible, .vd-theme-switcher-menu [data-theme-value]:hover, .vd-theme-switcher-menu [data-theme-value]:focus-visible {
61392
+ color: var(--vd-text-primary);
61393
+ background: var(--vd-theme-switcher-option-hover-bg);
61394
+ outline: none;
61395
+ }
61396
+
61397
+ .vd-theme-switcher-option.is-active, .vd-theme-switcher-menu [data-theme-value].is-active {
61398
+ color: var(--vd-theme-switcher-option-active-color);
61399
+ background: var(--vd-theme-switcher-option-active-bg);
61400
+ border-color: var(--vd-color-primary-alpha-20, transparent);
61401
+ }
61402
+
61287
61403
  :root {
61288
61404
  --vd-image-box-backdrop-bg: #000000e6;
61289
61405
  --vd-image-box-backdrop-blur: 8px;