lookbook 0.2.4 → 0.3.0.beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +81 -0
  3. data/app/assets/lookbook/css/app.css +28 -0
  4. data/app/assets/lookbook/js/app.js +49 -24
  5. data/app/assets/lookbook/js/nav/leaf.js +20 -0
  6. data/app/assets/lookbook/js/nav/node.js +31 -0
  7. data/app/assets/lookbook/js/nav.js +36 -0
  8. data/app/assets/lookbook/js/page.js +33 -0
  9. data/app/assets/lookbook/js/utils/clipboard.js +13 -0
  10. data/app/assets/lookbook/js/utils/morph.js +16 -0
  11. data/app/assets/lookbook/js/{reloader.js → utils/reloader.js} +0 -0
  12. data/app/assets/lookbook/js/utils/screen.js +44 -0
  13. data/app/assets/lookbook/js/{size_observer.js → utils/size_observer.js} +1 -1
  14. data/app/assets/lookbook/js/{split.js → utils/split.js} +4 -4
  15. data/app/assets/lookbook/js/workbench/inspector.js +11 -0
  16. data/app/assets/lookbook/js/workbench/preview.js +39 -0
  17. data/app/assets/lookbook/js/workbench.js +14 -0
  18. data/app/controllers/lookbook/{browser_controller.rb → app_controller.rb} +58 -31
  19. data/app/helpers/lookbook/application_helper.rb +1 -1
  20. data/app/views/lookbook/_sidebar.html.erb +45 -0
  21. data/app/views/lookbook/_workbench.html.erb +12 -0
  22. data/app/views/lookbook/{browser → app}/error.html.erb +0 -0
  23. data/app/views/lookbook/app/index.html.erb +11 -0
  24. data/app/views/lookbook/{browser → app}/not_found.html.erb +1 -1
  25. data/app/views/lookbook/app/show.html.erb +1 -0
  26. data/app/views/lookbook/layouts/app.html.erb +17 -27
  27. data/app/views/lookbook/layouts/group.html.erb +6 -0
  28. data/app/views/lookbook/nav/_collection.html.erb +5 -0
  29. data/app/views/lookbook/nav/_node.html.erb +19 -0
  30. data/app/views/lookbook/nav/_preview.html.erb +29 -0
  31. data/app/views/lookbook/shared/_clipboard.html.erb +11 -0
  32. data/app/views/lookbook/shared/_header.html.erb +8 -0
  33. data/app/views/lookbook/workbench/_header.html.erb +37 -0
  34. data/app/views/lookbook/workbench/_inspector.html.erb +32 -0
  35. data/app/views/lookbook/workbench/_preview.html.erb +24 -0
  36. data/app/views/lookbook/workbench/inspector/_code.html.erb +3 -0
  37. data/app/views/lookbook/workbench/inspector/_notes.html.erb +24 -0
  38. data/app/views/lookbook/{partials → workbench}/inspector/_plain.html.erb +0 -0
  39. data/config/routes.rb +3 -3
  40. data/lib/lookbook/preview.rb +25 -3
  41. data/lib/lookbook/preview_controller.rb +6 -1
  42. data/lib/lookbook/preview_example.rb +3 -2
  43. data/lib/lookbook/preview_group.rb +37 -0
  44. data/lib/lookbook/taggable.rb +5 -1
  45. data/lib/lookbook/version.rb +1 -1
  46. data/lib/lookbook.rb +1 -0
  47. data/lib/tasks/lookbook_tasks.rake +1 -1
  48. data/public/lookbook-assets/app.css +258 -102
  49. data/public/lookbook-assets/app.js +964 -95
  50. data/{app/views/lookbook/partials/_icon_sprite.html.erb → public/lookbook-assets/feather-sprite.svg} +1 -1
  51. metadata +52 -24
  52. data/app/assets/lookbook/js/preview.js +0 -76
  53. data/app/views/lookbook/browser/index.html.erb +0 -8
  54. data/app/views/lookbook/browser/show.html.erb +0 -33
  55. data/app/views/lookbook/partials/_preview.html.erb +0 -18
  56. data/app/views/lookbook/partials/_sidebar.html.erb +0 -21
  57. data/app/views/lookbook/partials/inspector/_code.html.erb +0 -1
  58. data/app/views/lookbook/partials/inspector/_inspector.html.erb +0 -43
  59. data/app/views/lookbook/partials/inspector/_prose.html.erb +0 -3
  60. data/app/views/lookbook/partials/nav/_collection.html.erb +0 -17
  61. data/app/views/lookbook/partials/nav/_label.html.erb +0 -13
  62. data/app/views/lookbook/partials/nav/_nav.html.erb +0 -27
  63. data/app/views/lookbook/partials/nav/_preview.html.erb +0 -48
@@ -0,0 +1,37 @@
1
+ module Lookbook
2
+ class PreviewGroup
3
+ include Taggable
4
+
5
+ attr_reader :name, :examples
6
+
7
+ def initialize(name, preview, examples)
8
+ @name = name
9
+ @preview = preview
10
+ @examples = examples
11
+ end
12
+
13
+ def id
14
+ path.underscore.tr("_", "-")
15
+ end
16
+
17
+ def path
18
+ "#{@preview.lookbook_path}/#{name}"
19
+ end
20
+
21
+ def label
22
+ name.titleize
23
+ end
24
+
25
+ def type
26
+ :group
27
+ end
28
+
29
+ def matchers
30
+ [@preview.label, label].map { |m| m.gsub(/\s/, "").downcase }
31
+ end
32
+
33
+ def hierarchy_depth
34
+ @preview.lookbook_hierarchy_depth + 1
35
+ end
36
+ end
37
+ end
@@ -14,7 +14,11 @@ module Lookbook
14
14
  code_object.docstring.to_s.strip
15
15
  end
16
16
 
17
- private
17
+ def lookbook_group
18
+ code_object&.group
19
+ end
20
+
21
+ # private
18
22
 
19
23
  def code_object
20
24
  @code_object ||= Lookbook::Engine.parser.get_code_object(taggable_object_path)
@@ -1,3 +1,3 @@
1
1
  module Lookbook
2
- VERSION = "0.2.4"
2
+ VERSION = "0.3.0.beta.0"
3
3
  end
data/lib/lookbook.rb CHANGED
@@ -10,5 +10,6 @@ module Lookbook
10
10
  autoload :Preview, "lookbook/preview"
11
11
  autoload :PreviewController, "lookbook/preview_controller"
12
12
  autoload :PreviewExample, "lookbook/preview_example"
13
+ autoload :PreviewGroup, "lookbook/preview_group"
13
14
  autoload :Taggable, "lookbook/taggable"
14
15
  end
@@ -6,7 +6,7 @@ namespace :lookbook do
6
6
  task :bump_version, [:version] do |t, args|
7
7
  filename = Lookbook::Engine.root.join("lib/lookbook/version.rb")
8
8
  current_version = Lookbook::VERSION.to_s
9
- new_version = args[:version].sub("v", "")
9
+ new_version = args[:version].sub("v", "").gsub("-",".")
10
10
  file = File.open(filename)
11
11
  contents = file.read
12
12
  File.write(filename, contents.gsub(current_version, new_version))
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v2.2.7 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v2.2.15 | MIT License | https://tailwindcss.com */
2
2
 
3
3
  /*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
4
4
 
@@ -475,6 +475,18 @@ button,
475
475
  cursor: pointer;
476
476
  }
477
477
 
478
+ /**
479
+ * Override legacy focus reset from Normalize with modern Firefox focus styles.
480
+ *
481
+ * This is actually an improvement over the new defaults in Firefox in our testing,
482
+ * as it triggers the better focus styles even for links, which still use a dotted
483
+ * outline in Firefox by default.
484
+ */
485
+
486
+ :-moz-focusring {
487
+ outline: auto;
488
+ }
489
+
478
490
  table {
479
491
  border-collapse: collapse;
480
492
  }
@@ -806,6 +818,40 @@ pre[class*="language-"] {
806
818
  fill: none;
807
819
  }
808
820
 
821
+ .h-fill {
822
+ height: -webkit-fill-available;
823
+ }
824
+
825
+ .min-h-fill {
826
+ min-height: -webkit-fill-available;
827
+ }
828
+
829
+ ::-webkit-scrollbar {
830
+ width: 8px;
831
+ height: 8px;
832
+ }
833
+
834
+ ::-webkit-scrollbar-track {
835
+ background: transparent;
836
+ }
837
+
838
+ ::-webkit-scrollbar-thumb {
839
+ --tw-bg-opacity: 1;
840
+ background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
841
+ -webkit-transition-property: background-color, border-color, color, fill, stroke;
842
+ transition-property: background-color, border-color, color, fill, stroke;
843
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
844
+ transition-duration: 150ms;
845
+ border-radius: 6px;
846
+ border: 2px solid transparent;
847
+ background-clip: content-box;
848
+ }
849
+
850
+ ::-webkit-scrollbar-thumb:hover {
851
+ --tw-bg-opacity: 1;
852
+ background-color: rgba(156, 163, 175, var(--tw-bg-opacity));
853
+ }
854
+
809
855
  .prose {
810
856
  color: #374151;
811
857
  max-width: 65ch;
@@ -1424,6 +1470,14 @@ pre[class*="language-"] {
1424
1470
  bottom: 0px;
1425
1471
  }
1426
1472
 
1473
+ .top-1\/2 {
1474
+ top: 50%;
1475
+ }
1476
+
1477
+ .right-2 {
1478
+ right: 0.5rem;
1479
+ }
1480
+
1427
1481
  .left-0 {
1428
1482
  left: 0px;
1429
1483
  }
@@ -1440,12 +1494,24 @@ pre[class*="language-"] {
1440
1494
  bottom: 0px;
1441
1495
  }
1442
1496
 
1443
- .top-1\/2 {
1444
- top: 50%;
1497
+ .top-\[-2px\] {
1498
+ top: -2px;
1445
1499
  }
1446
1500
 
1447
- .right-2 {
1448
- right: 0.5rem;
1501
+ .left-\[-2px\] {
1502
+ left: -2px;
1503
+ }
1504
+
1505
+ .top-\[4px\] {
1506
+ top: 4px;
1507
+ }
1508
+
1509
+ .left-\[4px\] {
1510
+ left: 4px;
1511
+ }
1512
+
1513
+ .left-4 {
1514
+ left: 1rem;
1449
1515
  }
1450
1516
 
1451
1517
  .z-10 {
@@ -1457,9 +1523,12 @@ pre[class*="language-"] {
1457
1523
  margin-right: auto;
1458
1524
  }
1459
1525
 
1460
- .-mx-px {
1461
- margin-left: -1px;
1462
- margin-right: -1px;
1526
+ .ml-4 {
1527
+ margin-left: 1rem;
1528
+ }
1529
+
1530
+ .mb-1 {
1531
+ margin-bottom: 0.25rem;
1463
1532
  }
1464
1533
 
1465
1534
  .mt-4 {
@@ -1474,18 +1543,6 @@ pre[class*="language-"] {
1474
1543
  margin-top: 0.5rem;
1475
1544
  }
1476
1545
 
1477
- .ml-2 {
1478
- margin-left: 0.5rem;
1479
- }
1480
-
1481
- .ml-auto {
1482
- margin-left: auto;
1483
- }
1484
-
1485
- .-mb-px {
1486
- margin-bottom: -1px;
1487
- }
1488
-
1489
1546
  .mr-1 {
1490
1547
  margin-right: 0.25rem;
1491
1548
  }
@@ -1494,36 +1551,44 @@ pre[class*="language-"] {
1494
1551
  margin-right: 0.375rem;
1495
1552
  }
1496
1553
 
1497
- .mb-1 {
1498
- margin-bottom: 0.25rem;
1554
+ .mr-3 {
1555
+ margin-right: 0.75rem;
1556
+ }
1557
+
1558
+ .ml-auto {
1559
+ margin-left: auto;
1560
+ }
1561
+
1562
+ .-mb-px {
1563
+ margin-bottom: -1px;
1499
1564
  }
1500
1565
 
1501
1566
  .block {
1502
1567
  display: block;
1503
1568
  }
1504
1569
 
1505
- .flex {
1506
- display: flex;
1570
+ .inline-block {
1571
+ display: inline-block;
1507
1572
  }
1508
1573
 
1509
- .grid {
1510
- display: grid;
1574
+ .flex {
1575
+ display: flex;
1511
1576
  }
1512
1577
 
1513
1578
  .hidden {
1514
1579
  display: none;
1515
1580
  }
1516
1581
 
1517
- .h-screen {
1518
- height: 100vh;
1582
+ .h-full {
1583
+ height: 100%;
1519
1584
  }
1520
1585
 
1521
1586
  .h-10 {
1522
1587
  height: 2.5rem;
1523
1588
  }
1524
1589
 
1525
- .h-full {
1526
- height: 100%;
1590
+ .h-5 {
1591
+ height: 1.25rem;
1527
1592
  }
1528
1593
 
1529
1594
  .h-3 {
@@ -1534,26 +1599,34 @@ pre[class*="language-"] {
1534
1599
  height: 11px;
1535
1600
  }
1536
1601
 
1537
- .h-4 {
1538
- height: 1rem;
1602
+ .h-screen {
1603
+ height: 100vh;
1539
1604
  }
1540
1605
 
1541
1606
  .h-3\.5 {
1542
1607
  height: 0.875rem;
1543
1608
  }
1544
1609
 
1545
- .w-full {
1546
- width: 100%;
1610
+ .h-4 {
1611
+ height: 1rem;
1547
1612
  }
1548
1613
 
1549
- .w-10 {
1550
- width: 2.5rem;
1614
+ .w-5 {
1615
+ width: 1.25rem;
1616
+ }
1617
+
1618
+ .w-full {
1619
+ width: 100%;
1551
1620
  }
1552
1621
 
1553
1622
  .w-3 {
1554
1623
  width: 0.75rem;
1555
1624
  }
1556
1625
 
1626
+ .w-10 {
1627
+ width: 2.5rem;
1628
+ }
1629
+
1557
1630
  .w-screen {
1558
1631
  width: 100vw;
1559
1632
  }
@@ -1562,20 +1635,16 @@ pre[class*="language-"] {
1562
1635
  width: 9px;
1563
1636
  }
1564
1637
 
1565
- .w-4 {
1566
- width: 1rem;
1567
- }
1568
-
1569
1638
  .w-3\.5 {
1570
1639
  width: 0.875rem;
1571
1640
  }
1572
1641
 
1573
- .max-w-xs {
1574
- max-width: 20rem;
1642
+ .w-4 {
1643
+ width: 1rem;
1575
1644
  }
1576
1645
 
1577
- .max-w-full {
1578
- max-width: 100%;
1646
+ .max-w-xs {
1647
+ max-width: 20rem;
1579
1648
  }
1580
1649
 
1581
1650
  .flex-none {
@@ -1586,6 +1655,10 @@ pre[class*="language-"] {
1586
1655
  flex: 1 1 auto;
1587
1656
  }
1588
1657
 
1658
+ .flex-grow {
1659
+ flex-grow: 1;
1660
+ }
1661
+
1589
1662
  .-translate-y-1\/2 {
1590
1663
  --tw-translate-y: -50%;
1591
1664
  transform: var(--tw-transform);
@@ -1608,18 +1681,14 @@ pre[class*="language-"] {
1608
1681
  cursor: col-resize;
1609
1682
  }
1610
1683
 
1611
- .cursor-\[ns-resize\] {
1612
- cursor: ns-resize;
1684
+ .cursor-pointer {
1685
+ cursor: pointer;
1613
1686
  }
1614
1687
 
1615
1688
  .cursor-auto {
1616
1689
  cursor: auto;
1617
1690
  }
1618
1691
 
1619
- .cursor-pointer {
1620
- cursor: pointer;
1621
- }
1622
-
1623
1692
  .select-none {
1624
1693
  -webkit-user-select: none;
1625
1694
  -moz-user-select: none;
@@ -1627,6 +1696,10 @@ pre[class*="language-"] {
1627
1696
  user-select: none;
1628
1697
  }
1629
1698
 
1699
+ .resize {
1700
+ resize: both;
1701
+ }
1702
+
1630
1703
  .flex-col {
1631
1704
  flex-direction: column;
1632
1705
  }
@@ -1645,12 +1718,29 @@ pre[class*="language-"] {
1645
1718
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
1646
1719
  }
1647
1720
 
1721
+ .space-x-3 > :not([hidden]) ~ :not([hidden]) {
1722
+ --tw-space-x-reverse: 0;
1723
+ margin-right: calc(0.75rem * var(--tw-space-x-reverse));
1724
+ margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
1725
+ }
1726
+
1648
1727
  .space-x-8 > :not([hidden]) ~ :not([hidden]) {
1649
1728
  --tw-space-x-reverse: 0;
1650
1729
  margin-right: calc(2rem * var(--tw-space-x-reverse));
1651
1730
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
1652
1731
  }
1653
1732
 
1733
+ .divide-y > :not([hidden]) ~ :not([hidden]) {
1734
+ --tw-divide-y-reverse: 0;
1735
+ border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
1736
+ border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
1737
+ }
1738
+
1739
+ .divide-gray-300 > :not([hidden]) ~ :not([hidden]) {
1740
+ --tw-divide-opacity: 1;
1741
+ border-color: rgba(209, 213, 219, var(--tw-divide-opacity));
1742
+ }
1743
+
1654
1744
  .overflow-auto {
1655
1745
  overflow: auto;
1656
1746
  }
@@ -1659,6 +1749,10 @@ pre[class*="language-"] {
1659
1749
  overflow: hidden;
1660
1750
  }
1661
1751
 
1752
+ .overflow-y-auto {
1753
+ overflow-y: auto;
1754
+ }
1755
+
1662
1756
  .truncate {
1663
1757
  overflow: hidden;
1664
1758
  text-overflow: ellipsis;
@@ -1669,6 +1763,11 @@ pre[class*="language-"] {
1669
1763
  white-space: nowrap;
1670
1764
  }
1671
1765
 
1766
+ .rounded-b {
1767
+ border-bottom-right-radius: 0.25rem;
1768
+ border-bottom-left-radius: 0.25rem;
1769
+ }
1770
+
1672
1771
  .rounded-bl-md {
1673
1772
  border-bottom-left-radius: 0.375rem;
1674
1773
  }
@@ -1677,6 +1776,10 @@ pre[class*="language-"] {
1677
1776
  border-width: 0px;
1678
1777
  }
1679
1778
 
1779
+ .border {
1780
+ border-width: 1px;
1781
+ }
1782
+
1680
1783
  .border-b {
1681
1784
  border-bottom-width: 1px;
1682
1785
  }
@@ -1697,6 +1800,10 @@ pre[class*="language-"] {
1697
1800
  border-bottom-width: 2px;
1698
1801
  }
1699
1802
 
1803
+ .border-t-0 {
1804
+ border-top-width: 0px;
1805
+ }
1806
+
1700
1807
  .border-gray-300 {
1701
1808
  --tw-border-opacity: 1;
1702
1809
  border-color: rgba(209, 213, 219, var(--tw-border-opacity));
@@ -1721,15 +1828,15 @@ pre[class*="language-"] {
1721
1828
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
1722
1829
  }
1723
1830
 
1831
+ .bg-transparent {
1832
+ background-color: transparent;
1833
+ }
1834
+
1724
1835
  .bg-gray-50 {
1725
1836
  --tw-bg-opacity: 1;
1726
1837
  background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
1727
1838
  }
1728
1839
 
1729
- .bg-transparent {
1730
- background-color: transparent;
1731
- }
1732
-
1733
1840
  .bg-gray-100 {
1734
1841
  --tw-bg-opacity: 1;
1735
1842
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
@@ -1752,44 +1859,53 @@ pre[class*="language-"] {
1752
1859
  padding: 0.25rem;
1753
1860
  }
1754
1861
 
1755
- .py-2 {
1756
- padding-top: 0.5rem;
1757
- padding-bottom: 0.5rem;
1758
- }
1759
-
1760
1862
  .px-4 {
1761
1863
  padding-left: 1rem;
1762
1864
  padding-right: 1rem;
1763
1865
  }
1764
1866
 
1765
- .px-1 {
1766
- padding-left: 0.25rem;
1767
- padding-right: 0.25rem;
1768
- }
1769
-
1770
1867
  .py-1 {
1771
1868
  padding-top: 0.25rem;
1772
1869
  padding-bottom: 0.25rem;
1773
1870
  }
1774
1871
 
1775
- .py-\[4px\] {
1776
- padding-top: 4px;
1777
- padding-bottom: 4px;
1872
+ .py-\[5px\] {
1873
+ padding-top: 5px;
1874
+ padding-bottom: 5px;
1875
+ }
1876
+
1877
+ .py-2 {
1878
+ padding-top: 0.5rem;
1879
+ padding-bottom: 0.5rem;
1778
1880
  }
1779
1881
 
1780
- .py-\[3px\] {
1781
- padding-top: 3px;
1782
- padding-bottom: 3px;
1882
+ .px-1 {
1883
+ padding-left: 0.25rem;
1884
+ padding-right: 0.25rem;
1783
1885
  }
1784
1886
 
1785
- .pr-4 {
1786
- padding-right: 1rem;
1887
+ .px-2 {
1888
+ padding-left: 0.5rem;
1889
+ padding-right: 0.5rem;
1890
+ }
1891
+
1892
+ .py-0 {
1893
+ padding-top: 0px;
1894
+ padding-bottom: 0px;
1787
1895
  }
1788
1896
 
1789
1897
  .pr-3 {
1790
1898
  padding-right: 0.75rem;
1791
1899
  }
1792
1900
 
1901
+ .pt-10 {
1902
+ padding-top: 2.5rem;
1903
+ }
1904
+
1905
+ .pb-8 {
1906
+ padding-bottom: 2rem;
1907
+ }
1908
+
1793
1909
  .text-left {
1794
1910
  text-align: left;
1795
1911
  }
@@ -1798,17 +1914,12 @@ pre[class*="language-"] {
1798
1914
  text-align: center;
1799
1915
  }
1800
1916
 
1801
- .font-monospace {
1802
- font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
1803
- }
1804
-
1805
1917
  .font-sans {
1806
1918
  font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
1807
1919
  }
1808
1920
 
1809
- .text-base {
1810
- font-size: 1rem;
1811
- line-height: 1.5rem;
1921
+ .font-monospace {
1922
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
1812
1923
  }
1813
1924
 
1814
1925
  .text-sm {
@@ -1821,22 +1932,32 @@ pre[class*="language-"] {
1821
1932
  line-height: 1rem;
1822
1933
  }
1823
1934
 
1935
+ .text-base {
1936
+ font-size: 1rem;
1937
+ line-height: 1.5rem;
1938
+ }
1939
+
1940
+ .text-\[11px\] {
1941
+ font-size: 11px;
1942
+ }
1943
+
1824
1944
  .font-bold {
1825
1945
  font-weight: 700;
1826
1946
  }
1827
1947
 
1828
- .italic {
1829
- font-style: italic;
1948
+ .text-gray-400 {
1949
+ --tw-text-opacity: 1;
1950
+ color: rgba(156, 163, 175, var(--tw-text-opacity));
1830
1951
  }
1831
1952
 
1832
- .text-gray-300 {
1953
+ .text-gray-500 {
1833
1954
  --tw-text-opacity: 1;
1834
- color: rgba(209, 213, 219, var(--tw-text-opacity));
1955
+ color: rgba(107, 114, 128, var(--tw-text-opacity));
1835
1956
  }
1836
1957
 
1837
- .text-gray-400 {
1958
+ .text-gray-300 {
1838
1959
  --tw-text-opacity: 1;
1839
- color: rgba(156, 163, 175, var(--tw-text-opacity));
1960
+ color: rgba(209, 213, 219, var(--tw-text-opacity));
1840
1961
  }
1841
1962
 
1842
1963
  .text-red-300 {
@@ -1849,19 +1970,19 @@ pre[class*="language-"] {
1849
1970
  color: rgba(55, 65, 81, var(--tw-text-opacity));
1850
1971
  }
1851
1972
 
1852
- .text-gray-500 {
1973
+ .text-gray-800 {
1853
1974
  --tw-text-opacity: 1;
1854
- color: rgba(107, 114, 128, var(--tw-text-opacity));
1975
+ color: rgba(31, 41, 55, var(--tw-text-opacity));
1855
1976
  }
1856
1977
 
1857
- .text-gray-800 {
1978
+ .text-indigo-500 {
1858
1979
  --tw-text-opacity: 1;
1859
- color: rgba(31, 41, 55, var(--tw-text-opacity));
1980
+ color: rgba(99, 102, 241, var(--tw-text-opacity));
1860
1981
  }
1861
1982
 
1862
- .text-gray-600 {
1983
+ .text-gray-900 {
1863
1984
  --tw-text-opacity: 1;
1864
- color: rgba(75, 85, 99, var(--tw-text-opacity));
1985
+ color: rgba(17, 24, 39, var(--tw-text-opacity));
1865
1986
  }
1866
1987
 
1867
1988
  .\!text-gray-300 {
@@ -1869,14 +1990,9 @@ pre[class*="language-"] {
1869
1990
  color: rgba(209, 213, 219, var(--tw-text-opacity)) !important;
1870
1991
  }
1871
1992
 
1872
- .text-indigo-500 {
1873
- --tw-text-opacity: 1;
1874
- color: rgba(99, 102, 241, var(--tw-text-opacity));
1875
- }
1876
-
1877
- .text-gray-900 {
1993
+ .text-gray-600 {
1878
1994
  --tw-text-opacity: 1;
1879
- color: rgba(17, 24, 39, var(--tw-text-opacity));
1995
+ color: rgba(75, 85, 99, var(--tw-text-opacity));
1880
1996
  }
1881
1997
 
1882
1998
  .underline {
@@ -1901,6 +2017,11 @@ pre[class*="language-"] {
1901
2017
  outline-offset: 2px;
1902
2018
  }
1903
2019
 
2020
+ .blur {
2021
+ --tw-blur: blur(8px);
2022
+ filter: var(--tw-filter);
2023
+ }
2024
+
1904
2025
  .filter {
1905
2026
  filter: var(--tw-filter);
1906
2027
  }
@@ -2327,14 +2448,14 @@ pre[class*="language-"] {
2327
2448
  --tw-bg-opacity: 0.5;
2328
2449
  }
2329
2450
 
2330
- .hover\:text-indigo-800:hover {
2451
+ .hover\:text-indigo-500:hover {
2331
2452
  --tw-text-opacity: 1;
2332
- color: rgba(55, 48, 163, var(--tw-text-opacity));
2453
+ color: rgba(99, 102, 241, var(--tw-text-opacity));
2333
2454
  }
2334
2455
 
2335
- .hover\:text-indigo-500:hover {
2456
+ .hover\:text-indigo-800:hover {
2336
2457
  --tw-text-opacity: 1;
2337
- color: rgba(99, 102, 241, var(--tw-text-opacity));
2458
+ color: rgba(55, 48, 163, var(--tw-text-opacity));
2338
2459
  }
2339
2460
 
2340
2461
  .hover\:text-gray-700:hover {
@@ -2357,3 +2478,38 @@ pre[class*="language-"] {
2357
2478
  --tw-text-opacity: 1;
2358
2479
  color: rgba(55, 48, 163, var(--tw-text-opacity));
2359
2480
  }
2481
+
2482
+ @media (min-width: 768px) {
2483
+ .md\:-mx-px {
2484
+ margin-left: -1px;
2485
+ margin-right: -1px;
2486
+ }
2487
+
2488
+ .md\:ml-3 {
2489
+ margin-left: 0.75rem;
2490
+ }
2491
+
2492
+ .md\:grid {
2493
+ display: grid;
2494
+ }
2495
+
2496
+ .md\:h-auto {
2497
+ height: auto;
2498
+ }
2499
+
2500
+ .md\:min-h-0 {
2501
+ min-height: 0px;
2502
+ }
2503
+
2504
+ .md\:border-l {
2505
+ border-left-width: 1px;
2506
+ }
2507
+
2508
+ .md\:pl-3 {
2509
+ padding-left: 0.75rem;
2510
+ }
2511
+
2512
+ .md\:pr-4 {
2513
+ padding-right: 1rem;
2514
+ }
2515
+ }