ui-arreya-components 0.0.1 → 0.0.2
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/styles.css +1 -1
- package/dist/ui.cjs.js +87 -14
- package/dist/ui.es.js +5048 -908
- package/dist/ui.umd.js +87 -14
- package/package.json +5 -2
- package/src/components/ui/chart.stories.tsx.disabled +44 -0
- package/src/components/ui/checkbox.stories.tsx +56 -0
- package/src/components/ui/collapsible.stories.tsx +58 -0
- package/src/components/ui/context-menu.stories.tsx +34 -0
- package/src/components/ui/dialog.stories.tsx +40 -0
- package/src/components/ui/drawer.stories.tsx +48 -0
- package/src/components/ui/hover-card.stories.tsx +31 -0
- package/src/components/ui/input.stories.tsx +63 -0
- package/src/index.css +71 -113
- package/src/index.ts +13 -0
- package/src/styles/tailwind.css +28 -14
- package/tailwind.config.js +7 -7
package/src/index.css
CHANGED
|
@@ -557,20 +557,22 @@ video {
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
:root {
|
|
560
|
-
--background:
|
|
561
|
-
--foreground:
|
|
560
|
+
--background: #f4f4f4;
|
|
561
|
+
--foreground: #333;
|
|
562
562
|
--card: 0 0% 100%;
|
|
563
563
|
--card-foreground: 0 0% 3.9%;
|
|
564
564
|
--popover: 0 0% 100%;
|
|
565
565
|
--popover-foreground: 0 0% 3.9%;
|
|
566
|
-
--primary:
|
|
566
|
+
--primary: #00a599;
|
|
567
567
|
--primary-foreground: 0 0% 98%;
|
|
568
|
-
--secondary:
|
|
569
|
-
--secondary-foreground:
|
|
568
|
+
--secondary: #ffaa00;
|
|
569
|
+
--secondary-foreground: #fff;
|
|
570
570
|
--muted: 0 0% 96.1%;
|
|
571
571
|
--muted-foreground: 0 0% 45.1%;
|
|
572
|
-
--accent:
|
|
573
|
-
--accent-foreground:
|
|
572
|
+
--accent: #5c166a;
|
|
573
|
+
--accent-foreground: #fff;
|
|
574
|
+
--dark-accent: #0073cf;
|
|
575
|
+
--dark-accent-foreground: 0 0% 9%;
|
|
574
576
|
--destructive: 0 84.2% 60.2%;
|
|
575
577
|
--destructive-foreground: 0 0% 98%;
|
|
576
578
|
--border: 0 0% 89.8%;
|
|
@@ -581,8 +583,9 @@ video {
|
|
|
581
583
|
--chart-3: 197 37% 24%;
|
|
582
584
|
--chart-4: 43 74% 66%;
|
|
583
585
|
--chart-5: 27 87% 67%;
|
|
584
|
-
--radius:
|
|
585
|
-
;
|
|
586
|
+
--radius: 1.5rem;
|
|
587
|
+
--font-primary: 'Montserrat', sans-serif;
|
|
588
|
+
--font-secondary: 'Aviano Sans', sans-serif;
|
|
586
589
|
--sidebar-background: 0 0% 98%;
|
|
587
590
|
--sidebar-foreground: 240 5.3% 26.1%;
|
|
588
591
|
--sidebar-primary: 240 5.9% 10%;
|
|
@@ -594,14 +597,14 @@ video {
|
|
|
594
597
|
}
|
|
595
598
|
|
|
596
599
|
.dark {
|
|
597
|
-
--background:
|
|
598
|
-
--foreground:
|
|
600
|
+
--background: #121212;
|
|
601
|
+
--foreground: #e0e0e0;
|
|
599
602
|
--card: 0 0% 3.9%;
|
|
600
603
|
--card-foreground: 0 0% 98%;
|
|
601
604
|
--popover: 0 0% 3.9%;
|
|
602
605
|
--popover-foreground: 0 0% 98%;
|
|
603
|
-
--primary:
|
|
604
|
-
--primary-foreground:
|
|
606
|
+
--primary: #00a599;
|
|
607
|
+
--primary-foreground: #00a599;
|
|
605
608
|
--secondary: 0 0% 14.9%;
|
|
606
609
|
--secondary-foreground: 0 0% 98%;
|
|
607
610
|
--muted: 0 0% 14.9%;
|
|
@@ -617,8 +620,9 @@ video {
|
|
|
617
620
|
--chart-2: 160 60% 45%;
|
|
618
621
|
--chart-3: 30 80% 55%;
|
|
619
622
|
--chart-4: 280 65% 60%;
|
|
620
|
-
--chart-5: 340 75% 55
|
|
621
|
-
;
|
|
623
|
+
--chart-5: 340 75% 55%;
|
|
624
|
+
--font-primary: 'Montserrat', sans-serif;
|
|
625
|
+
--font-secondary: 'Aviano Sans', sans-serif;
|
|
622
626
|
--sidebar-background: 240 5.9% 10%;
|
|
623
627
|
--sidebar-foreground: 240 4.8% 95.9%;
|
|
624
628
|
--sidebar-primary: 224.3 76.3% 48%;
|
|
@@ -634,8 +638,8 @@ video {
|
|
|
634
638
|
}
|
|
635
639
|
|
|
636
640
|
body{
|
|
637
|
-
background-color:
|
|
638
|
-
color:
|
|
641
|
+
background-color: var(--background);
|
|
642
|
+
color: var(--foreground);
|
|
639
643
|
}
|
|
640
644
|
|
|
641
645
|
.sr-only{
|
|
@@ -846,10 +850,6 @@ body{
|
|
|
846
850
|
margin-bottom: 0.25rem;
|
|
847
851
|
}
|
|
848
852
|
|
|
849
|
-
.mb-4{
|
|
850
|
-
margin-bottom: 1rem;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
853
|
.ml-1{
|
|
854
854
|
margin-left: 0.25rem;
|
|
855
855
|
}
|
|
@@ -1103,6 +1103,10 @@ body{
|
|
|
1103
1103
|
width: 1px;
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
|
+
.w-\[350px\]{
|
|
1107
|
+
width: 350px;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1106
1110
|
.w-\[380px\]{
|
|
1107
1111
|
width: 380px;
|
|
1108
1112
|
}
|
|
@@ -1254,11 +1258,6 @@ body{
|
|
|
1254
1258
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1255
1259
|
}
|
|
1256
1260
|
|
|
1257
|
-
.translate-y-1{
|
|
1258
|
-
--tw-translate-y: 0.25rem;
|
|
1259
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
1261
|
.translate-y-\[-50\%\]{
|
|
1263
1262
|
--tw-translate-y: -50%;
|
|
1264
1263
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1320,10 +1319,6 @@ body{
|
|
|
1320
1319
|
list-style-type: none;
|
|
1321
1320
|
}
|
|
1322
1321
|
|
|
1323
|
-
.grid-cols-\[25px_1fr\]{
|
|
1324
|
-
grid-template-columns: 25px 1fr;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
1322
|
.flex-row{
|
|
1328
1323
|
flex-direction: row;
|
|
1329
1324
|
}
|
|
@@ -1547,11 +1542,7 @@ body{
|
|
|
1547
1542
|
}
|
|
1548
1543
|
|
|
1549
1544
|
.border-primary{
|
|
1550
|
-
border-color:
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
.border-primary\/50{
|
|
1554
|
-
border-color: hsl(var(--primary) / 0.5);
|
|
1545
|
+
border-color: var(--primary);
|
|
1555
1546
|
}
|
|
1556
1547
|
|
|
1557
1548
|
.border-sidebar-border{
|
|
@@ -1575,7 +1566,7 @@ body{
|
|
|
1575
1566
|
}
|
|
1576
1567
|
|
|
1577
1568
|
.bg-background{
|
|
1578
|
-
background-color:
|
|
1569
|
+
background-color: var(--background);
|
|
1579
1570
|
}
|
|
1580
1571
|
|
|
1581
1572
|
.bg-black\/80{
|
|
@@ -1595,7 +1586,7 @@ body{
|
|
|
1595
1586
|
}
|
|
1596
1587
|
|
|
1597
1588
|
.bg-foreground{
|
|
1598
|
-
background-color:
|
|
1589
|
+
background-color: var(--foreground);
|
|
1599
1590
|
}
|
|
1600
1591
|
|
|
1601
1592
|
.bg-muted{
|
|
@@ -1611,19 +1602,11 @@ body{
|
|
|
1611
1602
|
}
|
|
1612
1603
|
|
|
1613
1604
|
.bg-primary{
|
|
1614
|
-
background-color:
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
.bg-primary\/10{
|
|
1618
|
-
background-color: hsl(var(--primary) / 0.1);
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
.bg-primary\/20{
|
|
1622
|
-
background-color: hsl(var(--primary) / 0.2);
|
|
1605
|
+
background-color: var(--primary);
|
|
1623
1606
|
}
|
|
1624
1607
|
|
|
1625
1608
|
.bg-secondary{
|
|
1626
|
-
background-color:
|
|
1609
|
+
background-color: var(--secondary);
|
|
1627
1610
|
}
|
|
1628
1611
|
|
|
1629
1612
|
.bg-sidebar{
|
|
@@ -1634,11 +1617,6 @@ body{
|
|
|
1634
1617
|
background-color: hsl(var(--sidebar-border));
|
|
1635
1618
|
}
|
|
1636
1619
|
|
|
1637
|
-
.bg-sky-500{
|
|
1638
|
-
--tw-bg-opacity: 1;
|
|
1639
|
-
background-color: rgb(14 165 233 / var(--tw-bg-opacity, 1));
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
1620
|
.bg-transparent{
|
|
1643
1621
|
background-color: transparent;
|
|
1644
1622
|
}
|
|
@@ -1648,7 +1626,7 @@ body{
|
|
|
1648
1626
|
}
|
|
1649
1627
|
|
|
1650
1628
|
.fill-primary{
|
|
1651
|
-
fill:
|
|
1629
|
+
fill: var(--primary);
|
|
1652
1630
|
}
|
|
1653
1631
|
|
|
1654
1632
|
.p-0{
|
|
@@ -1808,6 +1786,11 @@ body{
|
|
|
1808
1786
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
1809
1787
|
}
|
|
1810
1788
|
|
|
1789
|
+
.text-4xl{
|
|
1790
|
+
font-size: 2.25rem;
|
|
1791
|
+
line-height: 2.5rem;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1811
1794
|
.text-\[0\.8rem\]{
|
|
1812
1795
|
font-size: 0.8rem;
|
|
1813
1796
|
}
|
|
@@ -1837,11 +1820,6 @@ body{
|
|
|
1837
1820
|
line-height: 1rem;
|
|
1838
1821
|
}
|
|
1839
1822
|
|
|
1840
|
-
.text-4xl{
|
|
1841
|
-
font-size: 2.25rem;
|
|
1842
|
-
line-height: 2.5rem;
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
1823
|
.font-medium{
|
|
1846
1824
|
font-weight: 500;
|
|
1847
1825
|
}
|
|
@@ -1888,11 +1866,7 @@ body{
|
|
|
1888
1866
|
}
|
|
1889
1867
|
|
|
1890
1868
|
.text-foreground{
|
|
1891
|
-
color:
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
.text-foreground\/50{
|
|
1895
|
-
color: hsl(var(--foreground) / 0.5);
|
|
1869
|
+
color: var(--foreground);
|
|
1896
1870
|
}
|
|
1897
1871
|
|
|
1898
1872
|
.text-muted-foreground{
|
|
@@ -1904,7 +1878,7 @@ body{
|
|
|
1904
1878
|
}
|
|
1905
1879
|
|
|
1906
1880
|
.text-primary{
|
|
1907
|
-
color:
|
|
1881
|
+
color: var(--primary);
|
|
1908
1882
|
}
|
|
1909
1883
|
|
|
1910
1884
|
.text-primary-foreground{
|
|
@@ -1912,7 +1886,7 @@ body{
|
|
|
1912
1886
|
}
|
|
1913
1887
|
|
|
1914
1888
|
.text-secondary-foreground{
|
|
1915
|
-
color:
|
|
1889
|
+
color: var(--secondary-foreground);
|
|
1916
1890
|
}
|
|
1917
1891
|
|
|
1918
1892
|
.text-sidebar-foreground{
|
|
@@ -2023,7 +1997,7 @@ body{
|
|
|
2023
1997
|
}
|
|
2024
1998
|
|
|
2025
1999
|
.ring-offset-background{
|
|
2026
|
-
--tw-ring-offset-color:
|
|
2000
|
+
--tw-ring-offset-color: var(--background);
|
|
2027
2001
|
}
|
|
2028
2002
|
|
|
2029
2003
|
.filter{
|
|
@@ -2158,6 +2132,14 @@ body{
|
|
|
2158
2132
|
animation-timing-function: linear;
|
|
2159
2133
|
}
|
|
2160
2134
|
|
|
2135
|
+
body {
|
|
2136
|
+
font-family: var(--font-primary);
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
h1, h2, h3, h4 {
|
|
2140
|
+
font-family: var(--font-secondary);
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2161
2143
|
.file\:border-0::file-selector-button{
|
|
2162
2144
|
border-width: 0px;
|
|
2163
2145
|
}
|
|
@@ -2176,7 +2158,7 @@ body{
|
|
|
2176
2158
|
}
|
|
2177
2159
|
|
|
2178
2160
|
.file\:text-foreground::file-selector-button{
|
|
2179
|
-
color:
|
|
2161
|
+
color: var(--foreground);
|
|
2180
2162
|
}
|
|
2181
2163
|
|
|
2182
2164
|
.placeholder\:text-muted-foreground::-moz-placeholder{
|
|
@@ -2268,21 +2250,13 @@ body{
|
|
|
2268
2250
|
border-left-width: 1px;
|
|
2269
2251
|
}
|
|
2270
2252
|
|
|
2271
|
-
.last\:mb-0:last-child{
|
|
2272
|
-
margin-bottom: 0px;
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
2253
|
.last\:rounded-r-md:last-child{
|
|
2276
2254
|
border-top-right-radius: calc(var(--radius) - 2px);
|
|
2277
2255
|
border-bottom-right-radius: calc(var(--radius) - 2px);
|
|
2278
2256
|
}
|
|
2279
2257
|
|
|
2280
|
-
.last\:pb-0:last-child{
|
|
2281
|
-
padding-bottom: 0px;
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
2258
|
.hover\:bg-accent:hover{
|
|
2285
|
-
background-color:
|
|
2259
|
+
background-color: var(--accent);
|
|
2286
2260
|
}
|
|
2287
2261
|
|
|
2288
2262
|
.hover\:bg-destructive\/80:hover{
|
|
@@ -2301,20 +2275,8 @@ body{
|
|
|
2301
2275
|
background-color: hsl(var(--muted) / 0.5);
|
|
2302
2276
|
}
|
|
2303
2277
|
|
|
2304
|
-
.hover\:bg-primary\/80:hover{
|
|
2305
|
-
background-color: hsl(var(--primary) / 0.8);
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
.hover\:bg-primary\/90:hover{
|
|
2309
|
-
background-color: hsl(var(--primary) / 0.9);
|
|
2310
|
-
}
|
|
2311
|
-
|
|
2312
2278
|
.hover\:bg-secondary:hover{
|
|
2313
|
-
background-color:
|
|
2314
|
-
}
|
|
2315
|
-
|
|
2316
|
-
.hover\:bg-secondary\/80:hover{
|
|
2317
|
-
background-color: hsl(var(--secondary) / 0.8);
|
|
2279
|
+
background-color: var(--secondary);
|
|
2318
2280
|
}
|
|
2319
2281
|
|
|
2320
2282
|
.hover\:bg-sidebar-accent:hover{
|
|
@@ -2322,11 +2284,11 @@ body{
|
|
|
2322
2284
|
}
|
|
2323
2285
|
|
|
2324
2286
|
.hover\:text-accent-foreground:hover{
|
|
2325
|
-
color:
|
|
2287
|
+
color: var(--accent-foreground);
|
|
2326
2288
|
}
|
|
2327
2289
|
|
|
2328
2290
|
.hover\:text-foreground:hover{
|
|
2329
|
-
color:
|
|
2291
|
+
color: var(--foreground);
|
|
2330
2292
|
}
|
|
2331
2293
|
|
|
2332
2294
|
.hover\:text-muted-foreground:hover{
|
|
@@ -2357,11 +2319,11 @@ body{
|
|
|
2357
2319
|
}
|
|
2358
2320
|
|
|
2359
2321
|
.focus\:bg-accent:focus{
|
|
2360
|
-
background-color:
|
|
2322
|
+
background-color: var(--accent);
|
|
2361
2323
|
}
|
|
2362
2324
|
|
|
2363
2325
|
.focus\:text-accent-foreground:focus{
|
|
2364
|
-
color:
|
|
2326
|
+
color: var(--accent-foreground);
|
|
2365
2327
|
}
|
|
2366
2328
|
|
|
2367
2329
|
.focus\:opacity-100:focus{
|
|
@@ -2427,7 +2389,7 @@ body{
|
|
|
2427
2389
|
}
|
|
2428
2390
|
|
|
2429
2391
|
.focus-visible\:ring-offset-background:focus-visible{
|
|
2430
|
-
--tw-ring-offset-color:
|
|
2392
|
+
--tw-ring-offset-color: var(--background);
|
|
2431
2393
|
}
|
|
2432
2394
|
|
|
2433
2395
|
.active\:bg-sidebar-accent:active{
|
|
@@ -2475,11 +2437,11 @@ body{
|
|
|
2475
2437
|
}
|
|
2476
2438
|
|
|
2477
2439
|
.group.toast .group-\[\.toast\]\:bg-primary{
|
|
2478
|
-
background-color:
|
|
2440
|
+
background-color: var(--primary);
|
|
2479
2441
|
}
|
|
2480
2442
|
|
|
2481
2443
|
.group.toaster .group-\[\.toaster\]\:bg-background{
|
|
2482
|
-
background-color:
|
|
2444
|
+
background-color: var(--background);
|
|
2483
2445
|
}
|
|
2484
2446
|
|
|
2485
2447
|
.group.destructive .group-\[\.destructive\]\:text-red-300{
|
|
@@ -2496,7 +2458,7 @@ body{
|
|
|
2496
2458
|
}
|
|
2497
2459
|
|
|
2498
2460
|
.group.toaster .group-\[\.toaster\]\:text-foreground{
|
|
2499
|
-
color:
|
|
2461
|
+
color: var(--foreground);
|
|
2500
2462
|
}
|
|
2501
2463
|
|
|
2502
2464
|
.group.toaster .group-\[\.toaster\]\:shadow-lg{
|
|
@@ -2661,27 +2623,23 @@ body{
|
|
|
2661
2623
|
}
|
|
2662
2624
|
|
|
2663
2625
|
.data-\[state\=active\]\:bg-background[data-state="active"]{
|
|
2664
|
-
background-color:
|
|
2626
|
+
background-color: var(--background);
|
|
2665
2627
|
}
|
|
2666
2628
|
|
|
2667
2629
|
.data-\[state\=checked\]\:bg-primary[data-state="checked"]{
|
|
2668
|
-
background-color:
|
|
2630
|
+
background-color: var(--primary);
|
|
2669
2631
|
}
|
|
2670
2632
|
|
|
2671
2633
|
.data-\[state\=on\]\:bg-accent[data-state="on"]{
|
|
2672
|
-
background-color:
|
|
2634
|
+
background-color: var(--accent);
|
|
2673
2635
|
}
|
|
2674
2636
|
|
|
2675
2637
|
.data-\[state\=open\]\:bg-accent[data-state="open"]{
|
|
2676
|
-
background-color:
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
|
-
.data-\[state\=open\]\:bg-accent\/50[data-state="open"]{
|
|
2680
|
-
background-color: hsl(var(--accent) / 0.5);
|
|
2638
|
+
background-color: var(--accent);
|
|
2681
2639
|
}
|
|
2682
2640
|
|
|
2683
2641
|
.data-\[state\=open\]\:bg-secondary[data-state="open"]{
|
|
2684
|
-
background-color:
|
|
2642
|
+
background-color: var(--secondary);
|
|
2685
2643
|
}
|
|
2686
2644
|
|
|
2687
2645
|
.data-\[state\=selected\]\:bg-muted[data-state="selected"]{
|
|
@@ -2705,7 +2663,7 @@ body{
|
|
|
2705
2663
|
}
|
|
2706
2664
|
|
|
2707
2665
|
.data-\[state\=active\]\:text-foreground[data-state="active"]{
|
|
2708
|
-
color:
|
|
2666
|
+
color: var(--foreground);
|
|
2709
2667
|
}
|
|
2710
2668
|
|
|
2711
2669
|
.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"]{
|
|
@@ -2713,11 +2671,11 @@ body{
|
|
|
2713
2671
|
}
|
|
2714
2672
|
|
|
2715
2673
|
.data-\[state\=on\]\:text-accent-foreground[data-state="on"]{
|
|
2716
|
-
color:
|
|
2674
|
+
color: var(--accent-foreground);
|
|
2717
2675
|
}
|
|
2718
2676
|
|
|
2719
2677
|
.data-\[state\=open\]\:text-accent-foreground[data-state="open"]{
|
|
2720
|
-
color:
|
|
2678
|
+
color: var(--accent-foreground);
|
|
2721
2679
|
}
|
|
2722
2680
|
|
|
2723
2681
|
.data-\[state\=open\]\:text-muted-foreground[data-state="open"]{
|
|
@@ -2984,7 +2942,7 @@ body{
|
|
|
2984
2942
|
}
|
|
2985
2943
|
|
|
2986
2944
|
.data-\[state\=open\]\:hover\:bg-accent:hover[data-state="open"]{
|
|
2987
|
-
background-color:
|
|
2945
|
+
background-color: var(--accent);
|
|
2988
2946
|
}
|
|
2989
2947
|
|
|
2990
2948
|
.data-\[state\=open\]\:hover\:bg-sidebar-accent:hover[data-state="open"]{
|
|
@@ -2996,7 +2954,7 @@ body{
|
|
|
2996
2954
|
}
|
|
2997
2955
|
|
|
2998
2956
|
.data-\[state\=open\]\:focus\:bg-accent:focus[data-state="open"]{
|
|
2999
|
-
background-color:
|
|
2957
|
+
background-color: var(--accent);
|
|
3000
2958
|
}
|
|
3001
2959
|
|
|
3002
2960
|
.group[data-collapsible="offcanvas"] .group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]{
|
|
@@ -3342,7 +3300,7 @@ body{
|
|
|
3342
3300
|
}
|
|
3343
3301
|
|
|
3344
3302
|
.\[\&\>svg\]\:text-foreground>svg{
|
|
3345
|
-
color:
|
|
3303
|
+
color: var(--foreground);
|
|
3346
3304
|
}
|
|
3347
3305
|
|
|
3348
3306
|
.\[\&\>svg\]\:text-muted-foreground>svg{
|
|
@@ -3431,7 +3389,7 @@ body{
|
|
|
3431
3389
|
}
|
|
3432
3390
|
|
|
3433
3391
|
.\[\&_a\]\:hover\:text-primary:hover a{
|
|
3434
|
-
color:
|
|
3392
|
+
color: var(--primary);
|
|
3435
3393
|
}
|
|
3436
3394
|
|
|
3437
3395
|
.\[\&_p\]\:leading-relaxed p{
|
package/src/index.ts
CHANGED
|
@@ -1 +1,14 @@
|
|
|
1
1
|
export { Button } from './components/ui/button'
|
|
2
|
+
export { SidebarProvider, SidebarTrigger } from './components/ui/sidebar'
|
|
3
|
+
export {
|
|
4
|
+
Dialog,
|
|
5
|
+
DialogPortal,
|
|
6
|
+
DialogOverlay,
|
|
7
|
+
DialogTrigger,
|
|
8
|
+
DialogClose,
|
|
9
|
+
DialogContent,
|
|
10
|
+
DialogHeader,
|
|
11
|
+
DialogFooter,
|
|
12
|
+
DialogTitle,
|
|
13
|
+
DialogDescription,
|
|
14
|
+
} from './components/ui/dialog'
|
package/src/styles/tailwind.css
CHANGED
|
@@ -6,20 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
@layer base {
|
|
8
8
|
:root {
|
|
9
|
-
--background:
|
|
10
|
-
--foreground:
|
|
9
|
+
--background: #f4f4f4;
|
|
10
|
+
--foreground: #333;
|
|
11
11
|
--card: 0 0% 100%;
|
|
12
12
|
--card-foreground: 0 0% 3.9%;
|
|
13
13
|
--popover: 0 0% 100%;
|
|
14
14
|
--popover-foreground: 0 0% 3.9%;
|
|
15
|
-
--primary:
|
|
15
|
+
--primary: #00a599;
|
|
16
16
|
--primary-foreground: 0 0% 98%;
|
|
17
|
-
--secondary:
|
|
18
|
-
--secondary-foreground:
|
|
17
|
+
--secondary: #ffaa00;
|
|
18
|
+
--secondary-foreground: #fff;
|
|
19
19
|
--muted: 0 0% 96.1%;
|
|
20
20
|
--muted-foreground: 0 0% 45.1%;
|
|
21
|
-
--accent:
|
|
22
|
-
--accent-foreground:
|
|
21
|
+
--accent: #5c166a;
|
|
22
|
+
--accent-foreground: #fff;
|
|
23
|
+
--dark-accent: #0073cf;
|
|
24
|
+
--dark-accent-foreground: 0 0% 9%;
|
|
23
25
|
--destructive: 0 84.2% 60.2%;
|
|
24
26
|
--destructive-foreground: 0 0% 98%;
|
|
25
27
|
--border: 0 0% 89.8%;
|
|
@@ -30,7 +32,9 @@
|
|
|
30
32
|
--chart-3: 197 37% 24%;
|
|
31
33
|
--chart-4: 43 74% 66%;
|
|
32
34
|
--chart-5: 27 87% 67%;
|
|
33
|
-
--radius:
|
|
35
|
+
--radius: 1.5rem;
|
|
36
|
+
--font-primary: 'Montserrat', sans-serif;
|
|
37
|
+
--font-secondary: 'Aviano Sans', sans-serif;
|
|
34
38
|
;
|
|
35
39
|
--sidebar-background: 0 0% 98%;
|
|
36
40
|
--sidebar-foreground: 240 5.3% 26.1%;
|
|
@@ -41,14 +45,14 @@
|
|
|
41
45
|
--sidebar-border: 220 13% 91%;
|
|
42
46
|
--sidebar-ring: 217.2 91.2% 59.8%}
|
|
43
47
|
.dark {
|
|
44
|
-
--background:
|
|
45
|
-
--foreground:
|
|
48
|
+
--background: #121212;
|
|
49
|
+
--foreground: #e0e0e0;
|
|
46
50
|
--card: 0 0% 3.9%;
|
|
47
51
|
--card-foreground: 0 0% 98%;
|
|
48
52
|
--popover: 0 0% 3.9%;
|
|
49
53
|
--popover-foreground: 0 0% 98%;
|
|
50
|
-
--primary:
|
|
51
|
-
--primary-foreground:
|
|
54
|
+
--primary: #00a599;
|
|
55
|
+
--primary-foreground: #00a599;
|
|
52
56
|
--secondary: 0 0% 14.9%;
|
|
53
57
|
--secondary-foreground: 0 0% 98%;
|
|
54
58
|
--muted: 0 0% 14.9%;
|
|
@@ -64,8 +68,10 @@
|
|
|
64
68
|
--chart-2: 160 60% 45%;
|
|
65
69
|
--chart-3: 30 80% 55%;
|
|
66
70
|
--chart-4: 280 65% 60%;
|
|
67
|
-
--chart-5: 340 75% 55
|
|
68
|
-
|
|
71
|
+
--chart-5: 340 75% 55%;
|
|
72
|
+
--font-primary: 'Montserrat', sans-serif;
|
|
73
|
+
--font-secondary: 'Aviano Sans', sans-serif;
|
|
74
|
+
;
|
|
69
75
|
--sidebar-background: 240 5.9% 10%;
|
|
70
76
|
--sidebar-foreground: 240 4.8% 95.9%;
|
|
71
77
|
--sidebar-primary: 224.3 76.3% 48%;
|
|
@@ -84,3 +90,11 @@
|
|
|
84
90
|
@apply bg-background text-foreground;
|
|
85
91
|
}
|
|
86
92
|
}
|
|
93
|
+
|
|
94
|
+
body {
|
|
95
|
+
font-family: var(--font-primary);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
h1, h2, h3, h4 {
|
|
99
|
+
font-family: var(--font-secondary);
|
|
100
|
+
}
|
package/tailwind.config.js
CHANGED
|
@@ -11,8 +11,8 @@ const config: Config = {
|
|
|
11
11
|
sm: 'calc(var(--radius) - 4px)'
|
|
12
12
|
},
|
|
13
13
|
colors: {
|
|
14
|
-
background: '
|
|
15
|
-
foreground: '
|
|
14
|
+
background: 'var(--background)',
|
|
15
|
+
foreground: 'var(--foreground)',
|
|
16
16
|
card: {
|
|
17
17
|
DEFAULT: 'hsl(var(--card))',
|
|
18
18
|
foreground: 'hsl(var(--card-foreground))'
|
|
@@ -22,20 +22,20 @@ const config: Config = {
|
|
|
22
22
|
foreground: 'hsl(var(--popover-foreground))'
|
|
23
23
|
},
|
|
24
24
|
primary: {
|
|
25
|
-
DEFAULT: '
|
|
25
|
+
DEFAULT: 'var(--primary)',
|
|
26
26
|
foreground: 'hsl(var(--primary-foreground))'
|
|
27
27
|
},
|
|
28
28
|
secondary: {
|
|
29
|
-
DEFAULT: '
|
|
30
|
-
foreground: '
|
|
29
|
+
DEFAULT: 'var(--secondary)',
|
|
30
|
+
foreground: 'var(--secondary-foreground)'
|
|
31
31
|
},
|
|
32
32
|
muted: {
|
|
33
33
|
DEFAULT: 'hsl(var(--muted))',
|
|
34
34
|
foreground: 'hsl(var(--muted-foreground))'
|
|
35
35
|
},
|
|
36
36
|
accent: {
|
|
37
|
-
DEFAULT: '
|
|
38
|
-
foreground: '
|
|
37
|
+
DEFAULT: 'var(--accent)',
|
|
38
|
+
foreground: 'var(--accent-foreground)'
|
|
39
39
|
},
|
|
40
40
|
destructive: {
|
|
41
41
|
DEFAULT: 'hsl(var(--destructive))',
|