Skip to content

Commit 624f513

Browse files
committed
Updating styles
1 parent 8a6146f commit 624f513

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

packages/connect/src/styles.ts

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ export const styles = String.raw`
460460
.max-h-\[200px\] {
461461
max-height: 200px;
462462
}
463+
.max-h-\[360px\] {
464+
max-height: 360px;
465+
}
463466
.max-h-\[calc\(100dvh-80px\)\] {
464467
max-height: calc(100dvh - 80px);
465468
}
@@ -565,6 +568,9 @@ export const styles = String.raw`
565568
.min-w-6 {
566569
min-width: calc(var(--spacing) * 6);
567570
}
571+
.min-w-\[var\(--radix-select-trigger-width\)\] {
572+
min-width: var(--radix-select-trigger-width);
573+
}
568574
.min-w-full {
569575
min-width: 100%;
570576
}
@@ -584,6 +590,9 @@ export const styles = String.raw`
584590
.transform {
585591
transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z) var(--tw-skew-x) var(--tw-skew-y);
586592
}
593+
.animate-skeleton {
594+
animation: skeleton 1s ease infinite;
595+
}
587596
.animate-spin {
588597
animation: var(--animate-spin);
589598
}
@@ -783,6 +792,9 @@ export const styles = String.raw`
783792
--tw-border-style: solid;
784793
border-style: solid;
785794
}
795+
.border-border-error {
796+
border-color: var(--seq-color-border-error);
797+
}
786798
.border-border-focus {
787799
border-color: var(--seq-color-border-focus);
788800
}
@@ -1225,6 +1237,9 @@ export const styles = String.raw`
12251237
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentColor);
12261238
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
12271239
}
1240+
.ring-border-error {
1241+
--tw-ring-color: var(--seq-color-border-error);
1242+
}
12281243
.ring-border-focus {
12291244
--tw-ring-color: var(--seq-color-border-focus);
12301245
}
@@ -1601,6 +1616,11 @@ export const styles = String.raw`
16011616
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
16021617
}
16031618
}
1619+
.focus-within\:ring-border-error {
1620+
&:focus-within {
1621+
--tw-ring-color: var(--seq-color-border-error);
1622+
}
1623+
}
16041624
.focus-within\:ring-border-focus {
16051625
&:focus-within {
16061626
--tw-ring-color: var(--seq-color-border-focus);
@@ -1656,6 +1676,11 @@ export const styles = String.raw`
16561676
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
16571677
}
16581678
}
1679+
.focus\:ring-border-error {
1680+
&:focus {
1681+
--tw-ring-color: var(--seq-color-border-error);
1682+
}
1683+
}
16591684
.focus\:ring-border-focus {
16601685
&:focus {
16611686
--tw-ring-color: var(--seq-color-border-focus);
@@ -1783,6 +1808,11 @@ export const styles = String.raw`
17831808
transition-timing-function: var(--ease-out);
17841809
}
17851810
}
1811+
.data-\[swipe\=end\]\:animate-swipe-out {
1812+
&[data-swipe="end"] {
1813+
animation: swipe-out 200ms ease-out;
1814+
}
1815+
}
17861816
.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\] {
17871817
&[data-swipe="move"] {
17881818
--tw-translate-x: var(--radix-toast-swipe-move-x);
@@ -1889,6 +1919,7 @@ export const styles = String.raw`
18891919
--seq-color-background-raised: rgba(54, 54, 54, 0.7);
18901920
--seq-color-border-normal: rgba(255, 255, 255, 0.25);
18911921
--seq-color-border-focus: rgba(255, 255, 255, 0.5);
1922+
--seq-color-border-error: rgba(255, 69, 0, 1);
18921923
--seq-color-button-glass: rgba(255, 255, 255, 0.15);
18931924
--seq-color-button-emphasis: rgba(0, 0, 0, 0.5);
18941925
--seq-color-button-inverse: rgba(255, 255, 255, 0.8);
@@ -1936,6 +1967,7 @@ export const styles = String.raw`
19361967
--seq-color-background-raised: rgba(192, 192, 192, 0.7);
19371968
--seq-color-border-normal: rgba(0, 0, 0, 0.25);
19381969
--seq-color-border-focus: rgba(0, 0, 0, 0.5);
1970+
--seq-color-border-error: rgba(255, 69, 0, 1);
19391971
--seq-color-button-glass: rgba(0, 0, 0, 0.15);
19401972
--seq-color-button-emphasis: rgba(255, 255, 255, 0.5);
19411973
--seq-color-button-inverse: rgba(0, 0, 0, 0.8);
@@ -2215,4 +2247,23 @@ export const styles = String.raw`
22152247
to {
22162248
transform: rotate(360deg);
22172249
}
2250+
}
2251+
@keyframes skeleton {
2252+
0% {
2253+
background-position: 0% 50%;
2254+
}
2255+
50% {
2256+
background-position: 100% 50%;
2257+
}
2258+
100% {
2259+
background-position: 0% 50%;
2260+
}
2261+
}
2262+
@keyframes swipe-out {
2263+
from {
2264+
transform: translateX(var(--radix-toast-swipe-end-x));
2265+
}
2266+
to {
2267+
transform: translateX(100%);
2268+
}
22182269
}`

0 commit comments

Comments
 (0)