@kushagradhawan/kookie-ui 0.1.71 → 0.1.72
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 +4 -0
- package/components.css +63 -380
- package/dist/cjs/components/_internal/base-button.d.ts.map +1 -1
- package/dist/cjs/components/_internal/base-button.js +1 -1
- package/dist/cjs/components/_internal/base-button.js.map +3 -3
- package/dist/cjs/components/button.d.ts.map +1 -1
- package/dist/cjs/components/button.js +1 -1
- package/dist/cjs/components/button.js.map +3 -3
- package/dist/cjs/components/chatbar.d.ts.map +1 -1
- package/dist/cjs/components/chatbar.js.map +2 -2
- package/dist/cjs/components/icon-button.d.ts.map +1 -1
- package/dist/cjs/components/icon-button.js +2 -2
- package/dist/cjs/components/icon-button.js.map +3 -3
- package/dist/cjs/components/shell.d.ts.map +1 -1
- package/dist/cjs/components/shell.js +1 -1
- package/dist/cjs/components/shell.js.map +3 -3
- package/dist/cjs/components/toggle-button.d.ts.map +1 -1
- package/dist/cjs/components/toggle-button.js +1 -1
- package/dist/cjs/components/toggle-button.js.map +3 -3
- package/dist/cjs/components/toggle-icon-button.d.ts.map +1 -1
- package/dist/cjs/components/toggle-icon-button.js +1 -1
- package/dist/cjs/components/toggle-icon-button.js.map +3 -3
- package/dist/cjs/hooks/index.d.ts +2 -0
- package/dist/cjs/hooks/index.d.ts.map +1 -1
- package/dist/cjs/hooks/index.js +1 -1
- package/dist/cjs/hooks/index.js.map +3 -3
- package/dist/cjs/hooks/use-live-announcer.d.ts.map +1 -1
- package/dist/cjs/hooks/use-live-announcer.js +2 -2
- package/dist/cjs/hooks/use-live-announcer.js.map +3 -3
- package/dist/cjs/hooks/use-toggle-state.d.ts +37 -0
- package/dist/cjs/hooks/use-toggle-state.d.ts.map +1 -0
- package/dist/cjs/hooks/use-toggle-state.js +2 -0
- package/dist/cjs/hooks/use-toggle-state.js.map +7 -0
- package/dist/cjs/hooks/use-tooltip-wrapper.d.ts +29 -0
- package/dist/cjs/hooks/use-tooltip-wrapper.d.ts.map +1 -0
- package/dist/cjs/hooks/use-tooltip-wrapper.js +2 -0
- package/dist/cjs/hooks/use-tooltip-wrapper.js.map +7 -0
- package/dist/esm/components/_internal/base-button.d.ts.map +1 -1
- package/dist/esm/components/_internal/base-button.js +1 -1
- package/dist/esm/components/_internal/base-button.js.map +3 -3
- package/dist/esm/components/button.d.ts.map +1 -1
- package/dist/esm/components/button.js +1 -1
- package/dist/esm/components/button.js.map +3 -3
- package/dist/esm/components/chatbar.d.ts.map +1 -1
- package/dist/esm/components/chatbar.js.map +2 -2
- package/dist/esm/components/icon-button.d.ts.map +1 -1
- package/dist/esm/components/icon-button.js +2 -2
- package/dist/esm/components/icon-button.js.map +3 -3
- package/dist/esm/components/shell.d.ts.map +1 -1
- package/dist/esm/components/shell.js +1 -1
- package/dist/esm/components/shell.js.map +3 -3
- package/dist/esm/components/toggle-button.d.ts.map +1 -1
- package/dist/esm/components/toggle-button.js +1 -1
- package/dist/esm/components/toggle-button.js.map +3 -3
- package/dist/esm/components/toggle-icon-button.d.ts.map +1 -1
- package/dist/esm/components/toggle-icon-button.js +1 -1
- package/dist/esm/components/toggle-icon-button.js.map +3 -3
- package/dist/esm/hooks/index.d.ts +2 -0
- package/dist/esm/hooks/index.d.ts.map +1 -1
- package/dist/esm/hooks/index.js +1 -1
- package/dist/esm/hooks/index.js.map +3 -3
- package/dist/esm/hooks/use-live-announcer.d.ts.map +1 -1
- package/dist/esm/hooks/use-live-announcer.js +2 -2
- package/dist/esm/hooks/use-live-announcer.js.map +3 -3
- package/dist/esm/hooks/use-toggle-state.d.ts +37 -0
- package/dist/esm/hooks/use-toggle-state.d.ts.map +1 -0
- package/dist/esm/hooks/use-toggle-state.js +2 -0
- package/dist/esm/hooks/use-toggle-state.js.map +7 -0
- package/dist/esm/hooks/use-tooltip-wrapper.d.ts +29 -0
- package/dist/esm/hooks/use-tooltip-wrapper.d.ts.map +1 -0
- package/dist/esm/hooks/use-tooltip-wrapper.js +2 -0
- package/dist/esm/hooks/use-tooltip-wrapper.js.map +7 -0
- package/package.json +4 -4
- package/schemas/base-button.json +1 -1
- package/schemas/button.json +1 -1
- package/schemas/icon-button.json +1 -1
- package/schemas/index.json +6 -6
- package/schemas/toggle-button.json +1 -1
- package/schemas/toggle-icon-button.json +1 -1
- package/src/components/_internal/base-button.css +136 -614
- package/src/components/_internal/base-button.tsx +15 -13
- package/src/components/button.tsx +13 -42
- package/src/components/chatbar.tsx +1 -13
- package/src/components/icon-button.tsx +20 -44
- package/src/components/image.css +10 -8
- package/src/components/shell.tsx +13 -9
- package/src/components/toggle-button.tsx +30 -59
- package/src/components/toggle-icon-button.tsx +29 -51
- package/src/hooks/index.ts +2 -0
- package/src/hooks/use-live-announcer.ts +34 -7
- package/src/hooks/use-toggle-state.ts +72 -0
- package/src/hooks/use-tooltip-wrapper.ts +28 -0
- package/src/styles/tokens/color.css +11 -1
- package/styles.css +70 -381
- package/tokens/base.css +7 -1
- package/tokens.css +7 -1
package/styles.css
CHANGED
|
@@ -3641,6 +3641,8 @@
|
|
|
3641
3641
|
--color-surface-translucent: rgba(255, 255, 255, var(--surface-opacity));
|
|
3642
3642
|
--color-dialog-solid: white;
|
|
3643
3643
|
--color-dialog-translucent: rgba(255, 255, 255, var(--dialog-opacity));
|
|
3644
|
+
--material-blend: 100%;
|
|
3645
|
+
--material-alpha: 0;
|
|
3644
3646
|
--color-transparent: rgb(0 0 0 / 0);
|
|
3645
3647
|
--shadow-1: 0 0 0 0.25px var(--gray-a6), inset 0 1px 1px 0 var(--black-a2);
|
|
3646
3648
|
--shadow-2: 0 0 0 0.25px var(--gray-a6), 0 1px 3px 0 var(--black-a2), 0 1px 2px -1px var(--black-a2);
|
|
@@ -3787,13 +3789,15 @@
|
|
|
3787
3789
|
.radix-themes:where([data-has-background='true']){
|
|
3788
3790
|
background-color: var(--color-background);
|
|
3789
3791
|
}
|
|
3790
|
-
.radix-themes:where([data-panel-background='solid']){
|
|
3792
|
+
.radix-themes:where([data-panel-background='solid'], [data-material='solid']){
|
|
3791
3793
|
--color-panel: var(--color-panel-solid);
|
|
3792
3794
|
--color-surface: var(--color-surface-solid);
|
|
3793
3795
|
--color-dialog: var(--color-dialog-solid);
|
|
3794
3796
|
--backdrop-filter-panel: none;
|
|
3795
3797
|
--backdrop-filter-components: none;
|
|
3796
3798
|
--backdrop-filter-dialog: none;
|
|
3799
|
+
--material-blend: 100%;
|
|
3800
|
+
--material-alpha: 0;
|
|
3797
3801
|
}
|
|
3798
3802
|
.radix-themes:where([data-panel-background='translucent'], [data-material='translucent']){
|
|
3799
3803
|
--color-panel: var(--color-panel-translucent);
|
|
@@ -3802,6 +3806,8 @@
|
|
|
3802
3806
|
--backdrop-filter-panel: blur(var(--backdrop-blur-panel));
|
|
3803
3807
|
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
3804
3808
|
--backdrop-filter-dialog: blur(var(--backdrop-blur-dialog));
|
|
3809
|
+
--material-blend: 60%;
|
|
3810
|
+
--material-alpha: 1;
|
|
3805
3811
|
}
|
|
3806
3812
|
[data-accent-color='amber']{
|
|
3807
3813
|
--accent-1: var(--amber-1);
|
|
@@ -8265,6 +8271,14 @@
|
|
|
8265
8271
|
isolation: isolate;
|
|
8266
8272
|
height: var(--base-button-height);
|
|
8267
8273
|
}
|
|
8274
|
+
.rt-BaseButton:where([data-material='solid'], [data-panel-background='solid']){
|
|
8275
|
+
--material-blend: 100%;
|
|
8276
|
+
--material-alpha: 0;
|
|
8277
|
+
}
|
|
8278
|
+
.rt-BaseButton:where([data-material='translucent'], [data-panel-background='translucent']){
|
|
8279
|
+
--material-blend: 60%;
|
|
8280
|
+
--material-alpha: 1;
|
|
8281
|
+
}
|
|
8268
8282
|
:where([dir='rtl']) .rt-BaseButton{
|
|
8269
8283
|
flex-direction: row-reverse;
|
|
8270
8284
|
}
|
|
@@ -8427,31 +8441,12 @@
|
|
|
8427
8441
|
.rt-BaseButton:where(.rt-variant-classic){
|
|
8428
8442
|
position: relative;
|
|
8429
8443
|
color: var(--accent-a11);
|
|
8430
|
-
background-color: var(--color-surface
|
|
8444
|
+
background-color: var(--color-surface);
|
|
8431
8445
|
box-shadow: var(--shadow-2);
|
|
8432
8446
|
transition: var(--transition-text-field);
|
|
8433
8447
|
}
|
|
8434
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-classic){
|
|
8435
|
-
background-color: var(--color-surface-translucent);
|
|
8436
|
-
}
|
|
8437
|
-
.rt-BaseButton:where(.rt-variant-classic):where([data-panel-background='solid'], [data-material='solid']){
|
|
8438
|
-
background-color: var(--color-surface-solid);
|
|
8439
|
-
}
|
|
8440
|
-
.rt-BaseButton:where(.rt-variant-classic):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8441
|
-
background-color: var(--color-surface-translucent);
|
|
8442
|
-
}
|
|
8443
8448
|
.rt-BaseButton:where(.rt-variant-classic):where(.rt-high-contrast){
|
|
8444
8449
|
color: var(--gray-12);
|
|
8445
|
-
background-color: var(--color-surface-solid);
|
|
8446
|
-
}
|
|
8447
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-classic):where(.rt-high-contrast){
|
|
8448
|
-
background-color: var(--color-surface-translucent);
|
|
8449
|
-
}
|
|
8450
|
-
.rt-BaseButton:where(.rt-variant-classic):where(.rt-high-contrast):where([data-panel-background='solid'], [data-material='solid']){
|
|
8451
|
-
background-color: var(--color-surface-solid);
|
|
8452
|
-
}
|
|
8453
|
-
.rt-BaseButton:where(.rt-variant-classic):where(.rt-high-contrast):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8454
|
-
background-color: var(--color-surface-translucent);
|
|
8455
8450
|
}
|
|
8456
8451
|
.rt-BaseButton:where(.rt-variant-classic):where(:focus-visible){
|
|
8457
8452
|
outline: 2px solid var(--focus-8);
|
|
@@ -8459,57 +8454,18 @@
|
|
|
8459
8454
|
}
|
|
8460
8455
|
@media (hover: hover) {
|
|
8461
8456
|
.rt-BaseButton:where(.rt-variant-classic):where(:hover){
|
|
8462
|
-
background-color: var(--gray-2);
|
|
8457
|
+
background-color: color-mix(in srgb, var(--gray-a2) calc(var(--material-alpha) * 100%), var(--gray-2) var(--material-blend));
|
|
8463
8458
|
box-shadow: var(--shadow-2);
|
|
8464
8459
|
}
|
|
8465
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-classic):where(:hover){
|
|
8466
|
-
background-color: color-mix(in srgb, var(--gray-a2), var(--gray-2) 60%);
|
|
8467
|
-
}
|
|
8468
|
-
.rt-BaseButton:where(.rt-variant-classic):where(:hover):where([data-panel-background='solid'], [data-material='solid']){
|
|
8469
|
-
background-color: var(--gray-2);
|
|
8470
|
-
}
|
|
8471
|
-
.rt-BaseButton:where(.rt-variant-classic):where(:hover):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8472
|
-
background-color: color-mix(in srgb, var(--gray-a2), var(--gray-2) 60%);
|
|
8473
|
-
}
|
|
8474
8460
|
}
|
|
8475
8461
|
.rt-BaseButton:where(.rt-variant-classic):where([data-state='open']){
|
|
8476
|
-
background-color: var(--gray-3);
|
|
8462
|
+
background-color: color-mix(in srgb, var(--gray-a3) calc(var(--material-alpha) * 100%), var(--gray-3) var(--material-blend));
|
|
8477
8463
|
box-shadow: var(--shadow-1);
|
|
8478
8464
|
}
|
|
8479
|
-
|
|
8480
|
-
background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3)
|
|
8481
|
-
}
|
|
8482
|
-
.rt-BaseButton:where(.rt-variant-classic):where([data-state='open']):where([data-panel-background='solid'], [data-material='solid']){
|
|
8483
|
-
background-color: var(--gray-3);
|
|
8484
|
-
}
|
|
8485
|
-
.rt-BaseButton:where(.rt-variant-classic):where([data-state='open']):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8486
|
-
background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3) 60%);
|
|
8487
|
-
}
|
|
8488
|
-
.rt-BaseButton:where(.rt-variant-classic):where(
|
|
8489
|
-
:active:not([data-state='open'], [data-disabled]),
|
|
8490
|
-
[data-state='on']:not([data-disabled])
|
|
8491
|
-
){
|
|
8492
|
-
background-color: var(--gray-3);
|
|
8465
|
+
.rt-BaseButton:where(.rt-variant-classic):where(:active:not([data-state='open'], [data-disabled]), [data-state='on']:not([data-disabled])){
|
|
8466
|
+
background-color: color-mix(in srgb, var(--gray-a3) calc(var(--material-alpha) * 100%), var(--gray-3) var(--material-blend));
|
|
8493
8467
|
box-shadow: var(--shadow-1);
|
|
8494
8468
|
}
|
|
8495
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-classic):where(
|
|
8496
|
-
:active:not([data-state='open'], [data-disabled]),
|
|
8497
|
-
[data-state='on']:not([data-disabled])
|
|
8498
|
-
){
|
|
8499
|
-
background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3) 60%);
|
|
8500
|
-
}
|
|
8501
|
-
.rt-BaseButton:where(.rt-variant-classic):where(
|
|
8502
|
-
:active:not([data-state='open'], [data-disabled]),
|
|
8503
|
-
[data-state='on']:not([data-disabled])
|
|
8504
|
-
):where([data-panel-background='solid'], [data-material='solid']){
|
|
8505
|
-
background-color: var(--gray-3);
|
|
8506
|
-
}
|
|
8507
|
-
.rt-BaseButton:where(.rt-variant-classic):where(
|
|
8508
|
-
:active:not([data-state='open'], [data-disabled]),
|
|
8509
|
-
[data-state='on']:not([data-disabled])
|
|
8510
|
-
):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8511
|
-
background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3) 60%);
|
|
8512
|
-
}
|
|
8513
8469
|
@media (pointer: coarse) {
|
|
8514
8470
|
.rt-BaseButton:where(.rt-variant-classic):where(:active:not([data-state='open'])){
|
|
8515
8471
|
outline: var(--classic-shadow-blur-large) solid var(--gray-a4);
|
|
@@ -8582,47 +8538,21 @@
|
|
|
8582
8538
|
pointer-events: none;
|
|
8583
8539
|
}
|
|
8584
8540
|
.rt-BaseButton:where(.rt-variant-solid){
|
|
8585
|
-
|
|
8541
|
+
--solid-blend: calc(100% - (var(--material-alpha) * 90%));
|
|
8542
|
+
background-color: color-mix(in srgb, var(--accent-a9) calc(var(--material-alpha) * 100%), var(--accent-9) var(--solid-blend));
|
|
8586
8543
|
color: var(--accent-contrast);
|
|
8587
8544
|
}
|
|
8588
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-solid){
|
|
8589
|
-
background-color: color-mix(in srgb, var(--accent-a9), var(--accent-9) 10%);
|
|
8590
|
-
}
|
|
8591
|
-
.rt-BaseButton:where(.rt-variant-solid):where([data-panel-background='solid'], [data-material='solid']){
|
|
8592
|
-
background-color: var(--accent-9);
|
|
8593
|
-
}
|
|
8594
|
-
.rt-BaseButton:where(.rt-variant-solid):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8595
|
-
background-color: color-mix(in srgb, var(--accent-a9), var(--accent-9) 10%);
|
|
8596
|
-
}
|
|
8597
8545
|
@media (hover: hover) {
|
|
8598
8546
|
.rt-BaseButton:where(.rt-variant-solid):where(:hover){
|
|
8599
|
-
background-color: var(--accent-10);
|
|
8547
|
+
background-color: color-mix(in srgb, var(--accent-a10) calc(var(--material-alpha) * 100%), var(--accent-10) var(--solid-blend));
|
|
8600
8548
|
box-shadow: var(--shadow-2);
|
|
8601
8549
|
}
|
|
8602
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-solid):where(:hover){
|
|
8603
|
-
background-color: color-mix(in srgb, var(--accent-a10), var(--accent-10) 10%);
|
|
8604
|
-
}
|
|
8605
|
-
.rt-BaseButton:where(.rt-variant-solid):where(:hover):where([data-panel-background='solid'], [data-material='solid']){
|
|
8606
|
-
background-color: var(--accent-10);
|
|
8607
|
-
}
|
|
8608
|
-
.rt-BaseButton:where(.rt-variant-solid):where(:hover):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8609
|
-
background-color: color-mix(in srgb, var(--accent-a10), var(--accent-10) 10%);
|
|
8610
|
-
}
|
|
8611
8550
|
}
|
|
8612
8551
|
.rt-BaseButton:where(.rt-variant-solid):where([data-state='open']){
|
|
8613
|
-
background-color: var(--accent-10);
|
|
8552
|
+
background-color: color-mix(in srgb, var(--accent-a10) calc(var(--material-alpha) * 100%), var(--accent-10) var(--solid-blend));
|
|
8614
8553
|
filter: var(--base-button-solid-open-filter);
|
|
8615
8554
|
box-shadow: var(--shadow-1);
|
|
8616
8555
|
}
|
|
8617
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-solid):where([data-state='open']){
|
|
8618
|
-
background-color: color-mix(in srgb, var(--accent-a10), var(--accent-10) 10%);
|
|
8619
|
-
}
|
|
8620
|
-
.rt-BaseButton:where(.rt-variant-solid):where([data-state='open']):where([data-panel-background='solid'], [data-material='solid']){
|
|
8621
|
-
background-color: var(--accent-10);
|
|
8622
|
-
}
|
|
8623
|
-
.rt-BaseButton:where(.rt-variant-solid):where([data-state='open']):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8624
|
-
background-color: color-mix(in srgb, var(--accent-a10), var(--accent-10) 10%);
|
|
8625
|
-
}
|
|
8626
8556
|
.rt-BaseButton:where(.rt-variant-solid):where(:active:not([data-state='open'])){
|
|
8627
8557
|
filter: var(--base-button-solid-active-filter);
|
|
8628
8558
|
box-shadow: var(--shadow-1);
|
|
@@ -8638,48 +8568,21 @@
|
|
|
8638
8568
|
outline-offset: 2px;
|
|
8639
8569
|
}
|
|
8640
8570
|
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast){
|
|
8641
|
-
background-color: var(--accent-12);
|
|
8571
|
+
background-color: color-mix(in srgb, var(--accent-a12) calc(var(--material-alpha) * 100%), var(--accent-12) var(--solid-blend));
|
|
8642
8572
|
color: var(--gray-1);
|
|
8643
8573
|
}
|
|
8644
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast){
|
|
8645
|
-
background-color: color-mix(in srgb, var(--accent-a12), var(--accent-12) 10%);
|
|
8646
|
-
}
|
|
8647
|
-
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where([data-panel-background='solid'], [data-material='solid']){
|
|
8648
|
-
background-color: var(--accent-12);
|
|
8649
|
-
}
|
|
8650
|
-
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8651
|
-
background-color: color-mix(in srgb, var(--accent-a12), var(--accent-12) 10%);
|
|
8652
|
-
}
|
|
8653
8574
|
@media (hover: hover) {
|
|
8654
8575
|
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where(:hover){
|
|
8655
|
-
background-color: var(--accent-12);
|
|
8576
|
+
background-color: color-mix(in srgb, var(--accent-a12) calc(var(--material-alpha) * 100%), var(--accent-12) var(--solid-blend));
|
|
8656
8577
|
filter: var(--base-button-solid-high-contrast-hover-filter);
|
|
8657
8578
|
box-shadow: var(--shadow-2);
|
|
8658
8579
|
}
|
|
8659
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where(:hover){
|
|
8660
|
-
background-color: color-mix(in srgb, var(--accent-a12), var(--accent-12) 10%);
|
|
8661
|
-
}
|
|
8662
|
-
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where(:hover):where([data-panel-background='solid'], [data-material='solid']){
|
|
8663
|
-
background-color: var(--accent-12);
|
|
8664
|
-
}
|
|
8665
|
-
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where(:hover):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8666
|
-
background-color: color-mix(in srgb, var(--accent-a12), var(--accent-12) 10%);
|
|
8667
|
-
}
|
|
8668
8580
|
}
|
|
8669
8581
|
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where([data-state='open']){
|
|
8670
|
-
background-color: var(--accent-12);
|
|
8582
|
+
background-color: color-mix(in srgb, var(--accent-a12) calc(var(--material-alpha) * 100%), var(--accent-12) var(--solid-blend));
|
|
8671
8583
|
filter: var(--base-button-solid-high-contrast-open-filter);
|
|
8672
8584
|
box-shadow: var(--shadow-1);
|
|
8673
8585
|
}
|
|
8674
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where([data-state='open']){
|
|
8675
|
-
background-color: color-mix(in srgb, var(--accent-a12), var(--accent-12) 10%);
|
|
8676
|
-
}
|
|
8677
|
-
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where([data-state='open']):where([data-panel-background='solid'], [data-material='solid']){
|
|
8678
|
-
background-color: var(--accent-12);
|
|
8679
|
-
}
|
|
8680
|
-
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where([data-state='open']):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8681
|
-
background-color: color-mix(in srgb, var(--accent-a12), var(--accent-12) 10%);
|
|
8682
|
-
}
|
|
8683
8586
|
.rt-BaseButton:where(.rt-variant-solid):where(.rt-high-contrast):where(:active:not([data-state='open'])){
|
|
8684
8587
|
filter: var(--base-button-solid-high-contrast-active-filter);
|
|
8685
8588
|
box-shadow: var(--shadow-1);
|
|
@@ -8705,16 +8608,7 @@
|
|
|
8705
8608
|
pointer-events: none;
|
|
8706
8609
|
}
|
|
8707
8610
|
.rt-BaseButton:where(.rt-variant-soft){
|
|
8708
|
-
background-color: var(--accent-3);
|
|
8709
|
-
}
|
|
8710
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-soft){
|
|
8711
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8712
|
-
}
|
|
8713
|
-
.rt-BaseButton:where(.rt-variant-soft):where([data-panel-background='solid'], [data-material='solid']){
|
|
8714
|
-
background-color: var(--accent-3);
|
|
8715
|
-
}
|
|
8716
|
-
.rt-BaseButton:where(.rt-variant-soft):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8717
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8611
|
+
background-color: color-mix(in srgb, var(--accent-a3) calc(var(--material-alpha) * 100%), var(--accent-3) var(--material-blend));
|
|
8718
8612
|
}
|
|
8719
8613
|
.rt-BaseButton:where(.rt-variant-soft):where(:focus-visible){
|
|
8720
8614
|
outline: 2px solid var(--accent-8);
|
|
@@ -8722,45 +8616,18 @@
|
|
|
8722
8616
|
}
|
|
8723
8617
|
@media (hover: hover) {
|
|
8724
8618
|
.rt-BaseButton:where(.rt-variant-soft):where(:hover){
|
|
8725
|
-
background-color: var(--accent-4);
|
|
8619
|
+
background-color: color-mix(in srgb, var(--accent-a4) calc(var(--material-alpha) * 100%), var(--accent-4) var(--material-blend));
|
|
8726
8620
|
box-shadow: var(--shadow-2);
|
|
8727
8621
|
}
|
|
8728
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-soft):where(:hover){
|
|
8729
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8730
|
-
}
|
|
8731
|
-
.rt-BaseButton:where(.rt-variant-soft):where(:hover):where([data-panel-background='solid'], [data-material='solid']){
|
|
8732
|
-
background-color: var(--accent-4);
|
|
8733
|
-
}
|
|
8734
|
-
.rt-BaseButton:where(.rt-variant-soft):where(:hover):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8735
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8736
|
-
}
|
|
8737
8622
|
}
|
|
8738
8623
|
.rt-BaseButton:where(.rt-variant-soft):where([data-state='open']){
|
|
8739
|
-
background-color: var(--accent-4);
|
|
8624
|
+
background-color: color-mix(in srgb, var(--accent-a4) calc(var(--material-alpha) * 100%), var(--accent-4) var(--material-blend));
|
|
8740
8625
|
box-shadow: var(--shadow-1);
|
|
8741
8626
|
}
|
|
8742
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-soft):where([data-state='open']){
|
|
8743
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8744
|
-
}
|
|
8745
|
-
.rt-BaseButton:where(.rt-variant-soft):where([data-state='open']):where([data-panel-background='solid'], [data-material='solid']){
|
|
8746
|
-
background-color: var(--accent-4);
|
|
8747
|
-
}
|
|
8748
|
-
.rt-BaseButton:where(.rt-variant-soft):where([data-state='open']):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8749
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8750
|
-
}
|
|
8751
8627
|
.rt-BaseButton:where(.rt-variant-soft):where(:active:not([data-state='open'])){
|
|
8752
|
-
background-color: var(--accent-5);
|
|
8628
|
+
background-color: color-mix(in srgb, var(--accent-a5) calc(var(--material-alpha) * 100%), var(--accent-5) var(--material-blend));
|
|
8753
8629
|
box-shadow: var(--shadow-1);
|
|
8754
8630
|
}
|
|
8755
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-soft):where(:active:not([data-state='open'])){
|
|
8756
|
-
background-color: color-mix(in srgb, var(--accent-a5), var(--accent-5) 60%);
|
|
8757
|
-
}
|
|
8758
|
-
.rt-BaseButton:where(.rt-variant-soft):where(:active:not([data-state='open'])):where([data-panel-background='solid'], [data-material='solid']){
|
|
8759
|
-
background-color: var(--accent-5);
|
|
8760
|
-
}
|
|
8761
|
-
.rt-BaseButton:where(.rt-variant-soft):where(:active:not([data-state='open'])):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8762
|
-
background-color: color-mix(in srgb, var(--accent-a5), var(--accent-5) 60%);
|
|
8763
|
-
}
|
|
8764
8631
|
.rt-BaseButton:where(.rt-variant-soft):where([data-disabled]){
|
|
8765
8632
|
color: var(--gray-a8);
|
|
8766
8633
|
background-color: var(--gray-a3);
|
|
@@ -8791,16 +8658,7 @@
|
|
|
8791
8658
|
}
|
|
8792
8659
|
@media (hover: hover) {
|
|
8793
8660
|
.rt-BaseButton:where(.rt-variant-ghost):where(:hover){
|
|
8794
|
-
background-color: var(--accent-3);
|
|
8795
|
-
}
|
|
8796
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-ghost):where(:hover){
|
|
8797
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8798
|
-
}
|
|
8799
|
-
.rt-BaseButton:where(.rt-variant-ghost):where(:hover):where([data-panel-background='solid'], [data-material='solid']){
|
|
8800
|
-
background-color: var(--accent-3);
|
|
8801
|
-
}
|
|
8802
|
-
.rt-BaseButton:where(.rt-variant-ghost):where(:hover):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8803
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8661
|
+
background-color: color-mix(in srgb, var(--accent-a3) calc(var(--material-alpha) * 100%), var(--accent-3) var(--material-blend));
|
|
8804
8662
|
}
|
|
8805
8663
|
}
|
|
8806
8664
|
.rt-BaseButton:where(.rt-variant-ghost):where(:focus-visible){
|
|
@@ -8808,33 +8666,13 @@
|
|
|
8808
8666
|
outline-offset: -1px;
|
|
8809
8667
|
}
|
|
8810
8668
|
.rt-BaseButton:where(.rt-variant-ghost):where([data-state='open']){
|
|
8811
|
-
background-color: var(--accent-3);
|
|
8669
|
+
background-color: color-mix(in srgb, var(--accent-a3) calc(var(--material-alpha) * 100%), var(--accent-3) var(--material-blend));
|
|
8812
8670
|
box-shadow: var(--shadow-1);
|
|
8813
8671
|
}
|
|
8814
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-ghost):where([data-state='open']){
|
|
8815
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8816
|
-
-webkit-backdrop-filter: var(--backdrop-filter-components);
|
|
8817
|
-
backdrop-filter: var(--backdrop-filter-components);
|
|
8818
|
-
}
|
|
8819
|
-
.rt-BaseButton:where(.rt-variant-ghost):where([data-state='open']):where([data-panel-background='solid'], [data-material='solid']){
|
|
8820
|
-
background-color: var(--accent-3);
|
|
8821
|
-
}
|
|
8822
|
-
.rt-BaseButton:where(.rt-variant-ghost):where([data-state='open']):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8823
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8824
|
-
}
|
|
8825
8672
|
.rt-BaseButton:where(.rt-variant-ghost):where(:active:not([data-state='open'])){
|
|
8826
|
-
background-color: var(--accent-4);
|
|
8673
|
+
background-color: color-mix(in srgb, var(--accent-a4) calc(var(--material-alpha) * 100%), var(--accent-4) var(--material-blend));
|
|
8827
8674
|
box-shadow: var(--shadow-1);
|
|
8828
8675
|
}
|
|
8829
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-ghost):where(:active:not([data-state='open'])){
|
|
8830
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8831
|
-
}
|
|
8832
|
-
.rt-BaseButton:where(.rt-variant-ghost):where(:active:not([data-state='open'])):where([data-panel-background='solid'], [data-material='solid']){
|
|
8833
|
-
background-color: var(--accent-4);
|
|
8834
|
-
}
|
|
8835
|
-
.rt-BaseButton:where(.rt-variant-ghost):where(:active:not([data-state='open'])):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8836
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8837
|
-
}
|
|
8838
8676
|
.rt-BaseButton:where(.rt-variant-ghost):where([data-disabled]){
|
|
8839
8677
|
color: var(--gray-a8);
|
|
8840
8678
|
background-color: transparent;
|
|
@@ -8842,71 +8680,26 @@
|
|
|
8842
8680
|
pointer-events: none;
|
|
8843
8681
|
}
|
|
8844
8682
|
.rt-BaseButton:where(.rt-variant-outline){
|
|
8845
|
-
|
|
8683
|
+
--outline-border-6: color-mix(in srgb, var(--accent-a6) calc(var(--material-alpha) * 100%), var(--accent-6) var(--material-blend));
|
|
8684
|
+
--outline-border-7: color-mix(in srgb, var(--accent-a7) calc(var(--material-alpha) * 100%), var(--accent-7) var(--material-blend));
|
|
8685
|
+
--outline-border-8: color-mix(in srgb, var(--accent-a8) calc(var(--material-alpha) * 100%), var(--accent-8) var(--material-blend));
|
|
8686
|
+
box-shadow: inset 0 0 0 1px var(--outline-border-6);
|
|
8846
8687
|
color: var(--accent-11);
|
|
8847
8688
|
transition: var(--transition-background-blur);
|
|
8848
8689
|
}
|
|
8849
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-outline){
|
|
8850
|
-
box-shadow: inset 0 0 0 1px var(--accent-a6);
|
|
8851
|
-
color: var(--accent-a11);
|
|
8852
|
-
}
|
|
8853
|
-
.rt-BaseButton:where(.rt-variant-outline):where([data-panel-background='solid'], [data-material='solid']){
|
|
8854
|
-
box-shadow: inset 0 0 0 1px var(--accent-6);
|
|
8855
|
-
color: var(--accent-11);
|
|
8856
|
-
}
|
|
8857
|
-
.rt-BaseButton:where(.rt-variant-outline):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8858
|
-
box-shadow: inset 0 0 0 1px var(--accent-a6);
|
|
8859
|
-
color: var(--accent-a11);
|
|
8860
|
-
}
|
|
8861
8690
|
@media (hover: hover) {
|
|
8862
8691
|
.rt-BaseButton:where(.rt-variant-outline):where(:hover){
|
|
8863
|
-
background-color: var(--accent-2);
|
|
8864
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
8865
|
-
}
|
|
8866
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-outline):where(:hover){
|
|
8867
|
-
background-color: color-mix(in srgb, var(--accent-a2), var(--accent-2) 60%);
|
|
8868
|
-
box-shadow: inset 0 0 0 1px var(--accent-a7);
|
|
8869
|
-
}
|
|
8870
|
-
.rt-BaseButton:where(.rt-variant-outline):where(:hover):where([data-panel-background='solid'], [data-material='solid']){
|
|
8871
|
-
background-color: var(--accent-2);
|
|
8872
|
-
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
8873
|
-
}
|
|
8874
|
-
.rt-BaseButton:where(.rt-variant-outline):where(:hover):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8875
|
-
background-color: color-mix(in srgb, var(--accent-a2), var(--accent-2) 60%);
|
|
8876
|
-
box-shadow: inset 0 0 0 1px var(--accent-a7);
|
|
8692
|
+
background-color: color-mix(in srgb, var(--accent-a2) calc(var(--material-alpha) * 100%), var(--accent-2) var(--material-blend));
|
|
8693
|
+
box-shadow: inset 0 0 0 1px var(--outline-border-7);
|
|
8877
8694
|
}
|
|
8878
8695
|
}
|
|
8879
8696
|
.rt-BaseButton:where(.rt-variant-outline):where([data-state='open']){
|
|
8880
|
-
background-color: var(--accent-2);
|
|
8881
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
8882
|
-
}
|
|
8883
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-outline):where([data-state='open']){
|
|
8884
|
-
background-color: color-mix(in srgb, var(--accent-a2), var(--accent-2) 60%);
|
|
8885
|
-
box-shadow: inset 0 0 0 1px var(--accent-a7);
|
|
8886
|
-
}
|
|
8887
|
-
.rt-BaseButton:where(.rt-variant-outline):where([data-state='open']):where([data-panel-background='solid'], [data-material='solid']){
|
|
8888
|
-
background-color: var(--accent-2);
|
|
8889
|
-
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
8890
|
-
}
|
|
8891
|
-
.rt-BaseButton:where(.rt-variant-outline):where([data-state='open']):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8892
|
-
background-color: color-mix(in srgb, var(--accent-a2), var(--accent-2) 60%);
|
|
8893
|
-
box-shadow: inset 0 0 0 1px var(--accent-a7);
|
|
8697
|
+
background-color: color-mix(in srgb, var(--accent-a2) calc(var(--material-alpha) * 100%), var(--accent-2) var(--material-blend));
|
|
8698
|
+
box-shadow: inset 0 0 0 1px var(--outline-border-7), var(--shadow-1);
|
|
8894
8699
|
}
|
|
8895
8700
|
.rt-BaseButton:where(.rt-variant-outline):where(:active:not([data-state='open'])){
|
|
8896
|
-
background-color: var(--accent-3);
|
|
8897
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
8898
|
-
}
|
|
8899
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-outline):where(:active:not([data-state='open'])){
|
|
8900
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8901
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8902
|
-
}
|
|
8903
|
-
.rt-BaseButton:where(.rt-variant-outline):where(:active:not([data-state='open'])):where([data-panel-background='solid'], [data-material='solid']){
|
|
8904
|
-
background-color: var(--accent-3);
|
|
8905
|
-
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
8906
|
-
}
|
|
8907
|
-
.rt-BaseButton:where(.rt-variant-outline):where(:active:not([data-state='open'])):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8908
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8909
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8701
|
+
background-color: color-mix(in srgb, var(--accent-a3) calc(var(--material-alpha) * 100%), var(--accent-3) var(--material-blend));
|
|
8702
|
+
box-shadow: inset 0 0 0 1px var(--outline-border-8), var(--shadow-1);
|
|
8910
8703
|
}
|
|
8911
8704
|
.rt-BaseButton:where(.rt-variant-outline):where(:focus-visible){
|
|
8912
8705
|
outline: 2px solid var(--focus-8);
|
|
@@ -8923,73 +8716,26 @@
|
|
|
8923
8716
|
pointer-events: none;
|
|
8924
8717
|
}
|
|
8925
8718
|
.rt-BaseButton:where(.rt-variant-surface){
|
|
8926
|
-
|
|
8927
|
-
|
|
8719
|
+
--surface-border-6: color-mix(in srgb, var(--accent-a6) calc(var(--material-alpha) * 100%), var(--accent-6) var(--material-blend));
|
|
8720
|
+
--surface-border-7: color-mix(in srgb, var(--accent-a7) calc(var(--material-alpha) * 100%), var(--accent-7) var(--material-blend));
|
|
8721
|
+
--surface-border-8: color-mix(in srgb, var(--accent-a8) calc(var(--material-alpha) * 100%), var(--accent-8) var(--material-blend));
|
|
8722
|
+
background-color: color-mix(in srgb, var(--accent-a2) calc(var(--material-alpha) * 100%), var(--accent-2) var(--material-blend));
|
|
8723
|
+
box-shadow: inset 0 0 0 1px var(--surface-border-6);
|
|
8928
8724
|
color: var(--accent-a11);
|
|
8929
8725
|
}
|
|
8930
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-surface){
|
|
8931
|
-
background-color: color-mix(in srgb, var(--accent-a2), var(--accent-2) 60%);
|
|
8932
|
-
box-shadow: inset 0 0 0 1px var(--accent-a6);
|
|
8933
|
-
-webkit-backdrop-filter: var(--backdrop-filter-components);
|
|
8934
|
-
backdrop-filter: var(--backdrop-filter-components);
|
|
8935
|
-
}
|
|
8936
|
-
.rt-BaseButton:where(.rt-variant-surface):where([data-panel-background='solid'], [data-material='solid']){
|
|
8937
|
-
background-color: var(--accent-2);
|
|
8938
|
-
box-shadow: inset 0 0 0 1px var(--accent-6);
|
|
8939
|
-
}
|
|
8940
|
-
.rt-BaseButton:where(.rt-variant-surface):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8941
|
-
background-color: color-mix(in srgb, var(--accent-a2), var(--accent-2) 60%);
|
|
8942
|
-
box-shadow: inset 0 0 0 1px var(--accent-a6);
|
|
8943
|
-
}
|
|
8944
8726
|
@media (hover: hover) {
|
|
8945
8727
|
.rt-BaseButton:where(.rt-variant-surface):where(:hover){
|
|
8946
|
-
background-color: var(--accent-3);
|
|
8947
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
8948
|
-
}
|
|
8949
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-surface):where(:hover){
|
|
8950
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8951
|
-
box-shadow: inset 0 0 0 1px var(--accent-a7);
|
|
8952
|
-
}
|
|
8953
|
-
.rt-BaseButton:where(.rt-variant-surface):where(:hover):where([data-panel-background='solid'], [data-material='solid']){
|
|
8954
|
-
background-color: var(--accent-3);
|
|
8955
|
-
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
8956
|
-
}
|
|
8957
|
-
.rt-BaseButton:where(.rt-variant-surface):where(:hover):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8958
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8959
|
-
box-shadow: inset 0 0 0 1px var(--accent-a7);
|
|
8728
|
+
background-color: color-mix(in srgb, var(--accent-a3) calc(var(--material-alpha) * 100%), var(--accent-3) var(--material-blend));
|
|
8729
|
+
box-shadow: inset 0 0 0 1px var(--surface-border-7);
|
|
8960
8730
|
}
|
|
8961
8731
|
}
|
|
8962
8732
|
.rt-BaseButton:where(.rt-variant-surface):where([data-state='open']){
|
|
8963
|
-
background-color: var(--accent-3);
|
|
8964
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
8965
|
-
}
|
|
8966
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-surface):where([data-state='open']){
|
|
8967
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8968
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8969
|
-
}
|
|
8970
|
-
.rt-BaseButton:where(.rt-variant-surface):where([data-state='open']):where([data-panel-background='solid'], [data-material='solid']){
|
|
8971
|
-
background-color: var(--accent-3);
|
|
8972
|
-
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
8973
|
-
}
|
|
8974
|
-
.rt-BaseButton:where(.rt-variant-surface):where([data-state='open']):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8975
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
8976
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8733
|
+
background-color: color-mix(in srgb, var(--accent-a3) calc(var(--material-alpha) * 100%), var(--accent-3) var(--material-blend));
|
|
8734
|
+
box-shadow: inset 0 0 0 1px var(--surface-border-8), var(--shadow-1);
|
|
8977
8735
|
}
|
|
8978
8736
|
.rt-BaseButton:where(.rt-variant-surface):where(:active:not([data-state='open'])){
|
|
8979
|
-
background-color: var(--accent-4);
|
|
8980
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
8981
|
-
}
|
|
8982
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where(.rt-variant-surface):where(:active:not([data-state='open'])){
|
|
8983
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8984
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8985
|
-
}
|
|
8986
|
-
.rt-BaseButton:where(.rt-variant-surface):where(:active:not([data-state='open'])):where([data-panel-background='solid'], [data-material='solid']){
|
|
8987
|
-
background-color: var(--accent-4);
|
|
8988
|
-
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
8989
|
-
}
|
|
8990
|
-
.rt-BaseButton:where(.rt-variant-surface):where(:active:not([data-state='open'])):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
8991
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
8992
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8737
|
+
background-color: color-mix(in srgb, var(--accent-a4) calc(var(--material-alpha) * 100%), var(--accent-4) var(--material-blend));
|
|
8738
|
+
box-shadow: inset 0 0 0 1px var(--surface-border-8), var(--shadow-1);
|
|
8993
8739
|
}
|
|
8994
8740
|
.rt-BaseButton:where(.rt-variant-surface):where(:focus-visible){
|
|
8995
8741
|
outline: 2px solid var(--focus-8);
|
|
@@ -9006,93 +8752,36 @@
|
|
|
9006
8752
|
pointer-events: none;
|
|
9007
8753
|
}
|
|
9008
8754
|
.rt-BaseButton:where([data-state='on']):where(.rt-variant-classic){
|
|
9009
|
-
background-color: var(--gray-3);
|
|
8755
|
+
background-color: color-mix(in srgb, var(--gray-a3) calc(var(--material-alpha) * 100%), var(--gray-3) var(--material-blend));
|
|
9010
8756
|
box-shadow: var(--shadow-1);
|
|
9011
8757
|
}
|
|
9012
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where([data-state='on']):where(.rt-variant-classic){
|
|
9013
|
-
background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3) 60%);
|
|
9014
|
-
}
|
|
9015
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-classic):where([data-panel-background='solid'], [data-material='solid']){
|
|
9016
|
-
background-color: var(--gray-3);
|
|
9017
|
-
}
|
|
9018
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-classic):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
9019
|
-
background-color: color-mix(in srgb, var(--gray-a3), var(--gray-3) 60%);
|
|
9020
|
-
}
|
|
9021
8758
|
.rt-BaseButton:where([data-state='on']):where(.rt-variant-solid){
|
|
9022
|
-
|
|
8759
|
+
--solid-blend: calc(100% - (var(--material-alpha) * 90%));
|
|
8760
|
+
background-color: color-mix(in srgb, var(--accent-a10) calc(var(--material-alpha) * 100%), var(--accent-10) var(--solid-blend));
|
|
9023
8761
|
opacity: 0.9;
|
|
9024
8762
|
box-shadow: var(--shadow-1);
|
|
9025
8763
|
}
|
|
9026
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where([data-state='on']):where(.rt-variant-solid){
|
|
9027
|
-
background-color: color-mix(in srgb, var(--accent-a10), var(--accent-10) 10%);
|
|
9028
|
-
}
|
|
9029
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-solid):where([data-panel-background='solid'], [data-material='solid']){
|
|
9030
|
-
background-color: var(--accent-10);
|
|
9031
|
-
}
|
|
9032
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-solid):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
9033
|
-
background-color: color-mix(in srgb, var(--accent-a10), var(--accent-10) 10%);
|
|
9034
|
-
}
|
|
9035
8764
|
.rt-BaseButton:where([data-state='on']):where(.rt-variant-solid):where(.rt-high-contrast){
|
|
9036
8765
|
background-color: var(--accent-12);
|
|
9037
8766
|
opacity: 0.85;
|
|
9038
8767
|
}
|
|
9039
8768
|
.rt-BaseButton:where([data-state='on']):where(.rt-variant-soft){
|
|
9040
|
-
background-color: var(--accent-5);
|
|
8769
|
+
background-color: color-mix(in srgb, var(--accent-a5) calc(var(--material-alpha) * 100%), var(--accent-5) var(--material-blend));
|
|
9041
8770
|
box-shadow: var(--shadow-1);
|
|
9042
8771
|
}
|
|
9043
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where([data-state='on']):where(.rt-variant-soft){
|
|
9044
|
-
background-color: color-mix(in srgb, var(--accent-a5), var(--accent-5) 60%);
|
|
9045
|
-
}
|
|
9046
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-soft):where([data-panel-background='solid'], [data-material='solid']){
|
|
9047
|
-
background-color: var(--accent-5);
|
|
9048
|
-
}
|
|
9049
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-soft):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
9050
|
-
background-color: color-mix(in srgb, var(--accent-a5), var(--accent-5) 60%);
|
|
9051
|
-
}
|
|
9052
8772
|
.rt-BaseButton:where([data-state='on']):where(.rt-variant-ghost){
|
|
9053
|
-
background-color: var(--accent-4);
|
|
8773
|
+
background-color: color-mix(in srgb, var(--accent-a4) calc(var(--material-alpha) * 100%), var(--accent-4) var(--material-blend));
|
|
9054
8774
|
box-shadow: var(--shadow-1);
|
|
9055
8775
|
}
|
|
9056
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where([data-state='on']):where(.rt-variant-ghost){
|
|
9057
|
-
background-color: var(--accent-a4);
|
|
9058
|
-
}
|
|
9059
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-ghost):where([data-panel-background='solid'], [data-material='solid']){
|
|
9060
|
-
background-color: var(--accent-4);
|
|
9061
|
-
}
|
|
9062
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-ghost):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
9063
|
-
background-color: var(--accent-a4);
|
|
9064
|
-
}
|
|
9065
8776
|
.rt-BaseButton:where([data-state='on']):where(.rt-variant-outline){
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where([data-state='on']):where(.rt-variant-outline){
|
|
9070
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
9071
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
9072
|
-
}
|
|
9073
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-outline):where([data-panel-background='solid'], [data-material='solid']){
|
|
9074
|
-
background-color: var(--accent-3);
|
|
9075
|
-
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
9076
|
-
}
|
|
9077
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-outline):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
9078
|
-
background-color: color-mix(in srgb, var(--accent-a3), var(--accent-3) 60%);
|
|
9079
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8777
|
+
--outline-border-8: color-mix(in srgb, var(--accent-a8) calc(var(--material-alpha) * 100%), var(--accent-8) var(--material-blend));
|
|
8778
|
+
background-color: color-mix(in srgb, var(--accent-a3) calc(var(--material-alpha) * 100%), var(--accent-3) var(--material-blend));
|
|
8779
|
+
box-shadow: inset 0 0 0 1px var(--outline-border-8), var(--shadow-1);
|
|
9080
8780
|
}
|
|
9081
8781
|
.rt-BaseButton:where([data-state='on']):where(.rt-variant-surface){
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
:where([data-panel-background='translucent'], [data-material='translucent']) .rt-BaseButton:where([data-state='on']):where(.rt-variant-surface){
|
|
9086
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
9087
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
9088
|
-
}
|
|
9089
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-surface):where([data-panel-background='solid'], [data-material='solid']){
|
|
9090
|
-
background-color: var(--accent-4);
|
|
9091
|
-
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
9092
|
-
}
|
|
9093
|
-
.rt-BaseButton:where([data-state='on']):where(.rt-variant-surface):where([data-panel-background='translucent'], [data-material='translucent']){
|
|
9094
|
-
background-color: color-mix(in srgb, var(--accent-a4), var(--accent-4) 60%);
|
|
9095
|
-
box-shadow: inset 0 0 0 1px var(--accent-a8);
|
|
8782
|
+
--surface-border-8: color-mix(in srgb, var(--accent-a8) calc(var(--material-alpha) * 100%), var(--accent-8) var(--material-blend));
|
|
8783
|
+
background-color: color-mix(in srgb, var(--accent-a4) calc(var(--material-alpha) * 100%), var(--accent-4) var(--material-blend));
|
|
8784
|
+
box-shadow: inset 0 0 0 1px var(--surface-border-8), var(--shadow-1);
|
|
9096
8785
|
}
|
|
9097
8786
|
.rt-BaseButton:where([disabled][aria-pressed]){
|
|
9098
8787
|
transform: none;
|
|
@@ -16081,11 +15770,11 @@
|
|
|
16081
15770
|
@media (hover: hover) {
|
|
16082
15771
|
.rt-Image:where(:-moz-any-link, button, label):where(:hover){
|
|
16083
15772
|
box-shadow: var(--shadow-3);
|
|
16084
|
-
filter: brightness(1.
|
|
15773
|
+
filter: brightness(1.08) contrast(1.02);
|
|
16085
15774
|
}
|
|
16086
15775
|
.rt-Image:where(:any-link, button, label):where(:hover){
|
|
16087
15776
|
box-shadow: var(--shadow-3);
|
|
16088
|
-
filter: brightness(1.
|
|
15777
|
+
filter: brightness(1.08) contrast(1.02);
|
|
16089
15778
|
}
|
|
16090
15779
|
}
|
|
16091
15780
|
.rt-Image:where(:-moz-any-link, button, label):where(:active){
|
|
@@ -16113,10 +15802,10 @@
|
|
|
16113
15802
|
}
|
|
16114
15803
|
@media (hover: hover) {
|
|
16115
15804
|
:where(:-moz-any-link, button, label):where(:hover){
|
|
16116
|
-
filter: brightness(1.
|
|
15805
|
+
filter: brightness(1.08) contrast(1.02);
|
|
16117
15806
|
}
|
|
16118
15807
|
:where(:any-link, button, label):where(:hover){
|
|
16119
|
-
filter: brightness(1.
|
|
15808
|
+
filter: brightness(1.08) contrast(1.02);
|
|
16120
15809
|
}
|
|
16121
15810
|
}
|
|
16122
15811
|
:where(:-moz-any-link, button, label):where(:active){
|