@vsn-ux/gaia-styles 0.4.8 → 0.4.10

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.
@@ -1,6 +1,6 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
- :root {
3
+ :root, :host {
4
4
  --ga-color-black: #000000;
5
5
  --ga-color-blue-10: #edf4fe;
6
6
  --ga-color-blue-40: #93bbf9;
@@ -776,7 +776,7 @@
776
776
  border-style: var(--tw-border-style);
777
777
  border-width: 1px;
778
778
  border-color: var(--ga-color-border-primary);
779
- background-color: var(--ga-color-bg-primary);
779
+ background-color: var(--ga-color-surface-primary);
780
780
  padding-inline: calc(0.4rem * 3);
781
781
  padding-block: calc(0.4rem * 2);
782
782
  font-size: calc(
@@ -1657,6 +1657,110 @@
1657
1657
  outline-color: var(--ga-color-border-error);
1658
1658
  }
1659
1659
  }
1660
+ .ga-tabs {
1661
+ display: flex;
1662
+ gap: calc(0.4rem * 2);
1663
+ &.ga-tabs--keyline {
1664
+ border-color: var(--ga-color-border-primary);
1665
+ }
1666
+ .ga-tabs__tab {
1667
+ position: relative;
1668
+ display: flex;
1669
+ height: calc(0.4rem * 8);
1670
+ cursor: pointer;
1671
+ align-items: center;
1672
+ gap: calc(0.4rem * 2);
1673
+ border-color: var(--ga-color-surface-primary);
1674
+ background-color: var(--ga-color-surface-primary);
1675
+ font-size: calc(
1676
+ var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
1677
+ );
1678
+ line-height: var(--tw-leading, calc(
1679
+ var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
1680
+ ));
1681
+ letter-spacing: var(--tw-tracking, calc(
1682
+ var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
1683
+ ));
1684
+ --tw-leading: calc(0.4rem * 4);
1685
+ line-height: calc(0.4rem * 4);
1686
+ --tw-font-weight: 500;
1687
+ font-weight: 500;
1688
+ color: var(--ga-color-text-action);
1689
+ &.ga-tabs__tab--selected {
1690
+ border-color: var(--ga-color-border-action);
1691
+ --tw-font-weight: 600;
1692
+ font-weight: 600;
1693
+ }
1694
+ &.ga-tabs__tab--disabled {
1695
+ cursor: not-allowed;
1696
+ color: var(--ga-color-text-disabled);
1697
+ &.ga-tabs__tab--selected {
1698
+ border-color: var(--ga-color-border-disabled);
1699
+ }
1700
+ .ga-tabs__tab-icon {
1701
+ color: var(--ga-color-icon-disabled);
1702
+ }
1703
+ }
1704
+ &:not(.ga-tabs__tab--disabled):hover {
1705
+ border-color: var(--ga-color-border-action-hover);
1706
+ color: var(--ga-color-text-action-hover);
1707
+ }
1708
+ &:not(.ga-tabs__tab--disabled):hover .ga-tabs__tab-icon {
1709
+ color: var(--ga-color-icon-primary);
1710
+ }
1711
+ &:focus-visible {
1712
+ --tw-outline-style: none;
1713
+ outline-style: none;
1714
+ }
1715
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1716
+ position: absolute;
1717
+ inset: calc(0.4rem * -1);
1718
+ border-radius: var(--ga-radius);
1719
+ border-style: var(--tw-border-style);
1720
+ border-width: 2px;
1721
+ border-color: var(--ga-color-border-focus);
1722
+ --tw-content: '';
1723
+ content: var(--tw-content);
1724
+ }
1725
+ .ga-tabs__tab-icon {
1726
+ color: var(--ga-color-icon-action);
1727
+ }
1728
+ }
1729
+ &.ga-tabs--horizontal {
1730
+ flex-direction: row;
1731
+ &.ga-tabs--keyline {
1732
+ border-bottom-style: var(--tw-border-style);
1733
+ border-bottom-width: 1px;
1734
+ }
1735
+ .ga-tabs__tab {
1736
+ border-bottom-style: var(--tw-border-style);
1737
+ border-bottom-width: 4px;
1738
+ padding-inline: calc(0.4rem * 4);
1739
+ padding-top: calc(0.4rem * 2);
1740
+ padding-bottom: calc(0.4rem * 1);
1741
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1742
+ bottom: calc(0.4rem * -2);
1743
+ }
1744
+ }
1745
+ }
1746
+ &.ga-tabs--vertical {
1747
+ flex-direction: column;
1748
+ &.ga-tabs--keyline {
1749
+ border-left-style: var(--tw-border-style);
1750
+ border-left-width: 1px;
1751
+ }
1752
+ .ga-tabs__tab {
1753
+ border-left-style: var(--tw-border-style);
1754
+ border-left-width: 4px;
1755
+ padding-block: calc(0.4rem * 2);
1756
+ padding-right: calc(0.4rem * 4);
1757
+ padding-left: calc(0.4rem * 3);
1758
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1759
+ left: calc(0.4rem * -2);
1760
+ }
1761
+ }
1762
+ }
1763
+ }
1660
1764
  .ga-tag {
1661
1765
  box-sizing: content-box;
1662
1766
  display: inline-flex;
@@ -1845,7 +1949,7 @@
1845
1949
  border-style: var(--tw-border-style);
1846
1950
  border-width: 1px;
1847
1951
  border-color: var(--ga-color-border-primary);
1848
- background-color: var(--ga-color-bg-primary);
1952
+ background-color: var(--ga-color-surface-primary);
1849
1953
  font-size: calc(
1850
1954
  var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
1851
1955
  );
@@ -2078,7 +2182,7 @@
2078
2182
  }
2079
2183
  }
2080
2184
  }
2081
- :root {
2185
+ :root, :host {
2082
2186
  --ga-base-scaling-factor: 1.6;
2083
2187
  }
2084
2188
  @property --tw-border-style {
@@ -1,6 +1,6 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
- :root {
3
+ :root, :host {
4
4
  --ga-color-black: #000000;
5
5
  --ga-color-blue-10: #edf4fe;
6
6
  --ga-color-blue-40: #93bbf9;
@@ -776,7 +776,7 @@
776
776
  border-style: var(--tw-border-style);
777
777
  border-width: 1px;
778
778
  border-color: var(--ga-color-border-primary);
779
- background-color: var(--ga-color-bg-primary);
779
+ background-color: var(--ga-color-surface-primary);
780
780
  padding-inline: calc(0.25rem * 3);
781
781
  padding-block: calc(0.25rem * 2);
782
782
  font-size: calc(
@@ -1657,6 +1657,110 @@
1657
1657
  outline-color: var(--ga-color-border-error);
1658
1658
  }
1659
1659
  }
1660
+ .ga-tabs {
1661
+ display: flex;
1662
+ gap: calc(0.25rem * 2);
1663
+ &.ga-tabs--keyline {
1664
+ border-color: var(--ga-color-border-primary);
1665
+ }
1666
+ .ga-tabs__tab {
1667
+ position: relative;
1668
+ display: flex;
1669
+ height: calc(0.25rem * 8);
1670
+ cursor: pointer;
1671
+ align-items: center;
1672
+ gap: calc(0.25rem * 2);
1673
+ border-color: var(--ga-color-surface-primary);
1674
+ background-color: var(--ga-color-surface-primary);
1675
+ font-size: calc(
1676
+ var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
1677
+ );
1678
+ line-height: var(--tw-leading, calc(
1679
+ var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
1680
+ ));
1681
+ letter-spacing: var(--tw-tracking, calc(
1682
+ var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
1683
+ ));
1684
+ --tw-leading: calc(0.25rem * 4);
1685
+ line-height: calc(0.25rem * 4);
1686
+ --tw-font-weight: 500;
1687
+ font-weight: 500;
1688
+ color: var(--ga-color-text-action);
1689
+ &.ga-tabs__tab--selected {
1690
+ border-color: var(--ga-color-border-action);
1691
+ --tw-font-weight: 600;
1692
+ font-weight: 600;
1693
+ }
1694
+ &.ga-tabs__tab--disabled {
1695
+ cursor: not-allowed;
1696
+ color: var(--ga-color-text-disabled);
1697
+ &.ga-tabs__tab--selected {
1698
+ border-color: var(--ga-color-border-disabled);
1699
+ }
1700
+ .ga-tabs__tab-icon {
1701
+ color: var(--ga-color-icon-disabled);
1702
+ }
1703
+ }
1704
+ &:not(.ga-tabs__tab--disabled):hover {
1705
+ border-color: var(--ga-color-border-action-hover);
1706
+ color: var(--ga-color-text-action-hover);
1707
+ }
1708
+ &:not(.ga-tabs__tab--disabled):hover .ga-tabs__tab-icon {
1709
+ color: var(--ga-color-icon-primary);
1710
+ }
1711
+ &:focus-visible {
1712
+ --tw-outline-style: none;
1713
+ outline-style: none;
1714
+ }
1715
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1716
+ position: absolute;
1717
+ inset: calc(0.25rem * -1);
1718
+ border-radius: var(--ga-radius);
1719
+ border-style: var(--tw-border-style);
1720
+ border-width: 2px;
1721
+ border-color: var(--ga-color-border-focus);
1722
+ --tw-content: '';
1723
+ content: var(--tw-content);
1724
+ }
1725
+ .ga-tabs__tab-icon {
1726
+ color: var(--ga-color-icon-action);
1727
+ }
1728
+ }
1729
+ &.ga-tabs--horizontal {
1730
+ flex-direction: row;
1731
+ &.ga-tabs--keyline {
1732
+ border-bottom-style: var(--tw-border-style);
1733
+ border-bottom-width: 1px;
1734
+ }
1735
+ .ga-tabs__tab {
1736
+ border-bottom-style: var(--tw-border-style);
1737
+ border-bottom-width: 4px;
1738
+ padding-inline: calc(0.25rem * 4);
1739
+ padding-top: calc(0.25rem * 2);
1740
+ padding-bottom: calc(0.25rem * 1);
1741
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1742
+ bottom: calc(0.25rem * -2);
1743
+ }
1744
+ }
1745
+ }
1746
+ &.ga-tabs--vertical {
1747
+ flex-direction: column;
1748
+ &.ga-tabs--keyline {
1749
+ border-left-style: var(--tw-border-style);
1750
+ border-left-width: 1px;
1751
+ }
1752
+ .ga-tabs__tab {
1753
+ border-left-style: var(--tw-border-style);
1754
+ border-left-width: 4px;
1755
+ padding-block: calc(0.25rem * 2);
1756
+ padding-right: calc(0.25rem * 4);
1757
+ padding-left: calc(0.25rem * 3);
1758
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1759
+ left: calc(0.25rem * -2);
1760
+ }
1761
+ }
1762
+ }
1763
+ }
1660
1764
  .ga-tag {
1661
1765
  box-sizing: content-box;
1662
1766
  display: inline-flex;
@@ -1845,7 +1949,7 @@
1845
1949
  border-style: var(--tw-border-style);
1846
1950
  border-width: 1px;
1847
1951
  border-color: var(--ga-color-border-primary);
1848
- background-color: var(--ga-color-bg-primary);
1952
+ background-color: var(--ga-color-surface-primary);
1849
1953
  font-size: calc(
1850
1954
  var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
1851
1955
  );
package/dist/all.css CHANGED
@@ -1,6 +1,6 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
- :root {
3
+ :root, :host {
4
4
  --ga-color-black: #000000;
5
5
  --ga-color-blue-10: #edf4fe;
6
6
  --ga-color-blue-40: #93bbf9;
@@ -922,7 +922,7 @@
922
922
  border-style: var(--tw-border-style);
923
923
  border-width: 1px;
924
924
  border-color: var(--ga-color-border-primary);
925
- background-color: var(--ga-color-bg-primary);
925
+ background-color: var(--ga-color-surface-primary);
926
926
  padding-inline: calc(0.25rem * 3);
927
927
  padding-block: calc(0.25rem * 2);
928
928
  font-size: calc(
@@ -1803,6 +1803,110 @@
1803
1803
  outline-color: var(--ga-color-border-error);
1804
1804
  }
1805
1805
  }
1806
+ .ga-tabs {
1807
+ display: flex;
1808
+ gap: calc(0.25rem * 2);
1809
+ &.ga-tabs--keyline {
1810
+ border-color: var(--ga-color-border-primary);
1811
+ }
1812
+ .ga-tabs__tab {
1813
+ position: relative;
1814
+ display: flex;
1815
+ height: calc(0.25rem * 8);
1816
+ cursor: pointer;
1817
+ align-items: center;
1818
+ gap: calc(0.25rem * 2);
1819
+ border-color: var(--ga-color-surface-primary);
1820
+ background-color: var(--ga-color-surface-primary);
1821
+ font-size: calc(
1822
+ var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
1823
+ );
1824
+ line-height: var(--tw-leading, calc(
1825
+ var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
1826
+ ));
1827
+ letter-spacing: var(--tw-tracking, calc(
1828
+ var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
1829
+ ));
1830
+ --tw-leading: calc(0.25rem * 4);
1831
+ line-height: calc(0.25rem * 4);
1832
+ --tw-font-weight: 500;
1833
+ font-weight: 500;
1834
+ color: var(--ga-color-text-action);
1835
+ &.ga-tabs__tab--selected {
1836
+ border-color: var(--ga-color-border-action);
1837
+ --tw-font-weight: 600;
1838
+ font-weight: 600;
1839
+ }
1840
+ &.ga-tabs__tab--disabled {
1841
+ cursor: not-allowed;
1842
+ color: var(--ga-color-text-disabled);
1843
+ &.ga-tabs__tab--selected {
1844
+ border-color: var(--ga-color-border-disabled);
1845
+ }
1846
+ .ga-tabs__tab-icon {
1847
+ color: var(--ga-color-icon-disabled);
1848
+ }
1849
+ }
1850
+ &:not(.ga-tabs__tab--disabled):hover {
1851
+ border-color: var(--ga-color-border-action-hover);
1852
+ color: var(--ga-color-text-action-hover);
1853
+ }
1854
+ &:not(.ga-tabs__tab--disabled):hover .ga-tabs__tab-icon {
1855
+ color: var(--ga-color-icon-primary);
1856
+ }
1857
+ &:focus-visible {
1858
+ --tw-outline-style: none;
1859
+ outline-style: none;
1860
+ }
1861
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1862
+ position: absolute;
1863
+ inset: calc(0.25rem * -1);
1864
+ border-radius: var(--ga-radius);
1865
+ border-style: var(--tw-border-style);
1866
+ border-width: 2px;
1867
+ border-color: var(--ga-color-border-focus);
1868
+ --tw-content: '';
1869
+ content: var(--tw-content);
1870
+ }
1871
+ .ga-tabs__tab-icon {
1872
+ color: var(--ga-color-icon-action);
1873
+ }
1874
+ }
1875
+ &.ga-tabs--horizontal {
1876
+ flex-direction: row;
1877
+ &.ga-tabs--keyline {
1878
+ border-bottom-style: var(--tw-border-style);
1879
+ border-bottom-width: 1px;
1880
+ }
1881
+ .ga-tabs__tab {
1882
+ border-bottom-style: var(--tw-border-style);
1883
+ border-bottom-width: 4px;
1884
+ padding-inline: calc(0.25rem * 4);
1885
+ padding-top: calc(0.25rem * 2);
1886
+ padding-bottom: calc(0.25rem * 1);
1887
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1888
+ bottom: calc(0.25rem * -2);
1889
+ }
1890
+ }
1891
+ }
1892
+ &.ga-tabs--vertical {
1893
+ flex-direction: column;
1894
+ &.ga-tabs--keyline {
1895
+ border-left-style: var(--tw-border-style);
1896
+ border-left-width: 1px;
1897
+ }
1898
+ .ga-tabs__tab {
1899
+ border-left-style: var(--tw-border-style);
1900
+ border-left-width: 4px;
1901
+ padding-block: calc(0.25rem * 2);
1902
+ padding-right: calc(0.25rem * 4);
1903
+ padding-left: calc(0.25rem * 3);
1904
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
1905
+ left: calc(0.25rem * -2);
1906
+ }
1907
+ }
1908
+ }
1909
+ }
1806
1910
  .ga-tag {
1807
1911
  box-sizing: content-box;
1808
1912
  display: inline-flex;
@@ -1991,7 +2095,7 @@
1991
2095
  border-style: var(--tw-border-style);
1992
2096
  border-width: 1px;
1993
2097
  border-color: var(--ga-color-border-primary);
1994
- background-color: var(--ga-color-bg-primary);
2098
+ background-color: var(--ga-color-surface-primary);
1995
2099
  font-size: calc(
1996
2100
  var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
1997
2101
  );
package/dist/base.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  body {
3
3
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
4
4
  font-feature-settings: 'liga' 1, 'calt' 1;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-avatar {
4
4
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-badge {
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-button {
4
4
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-card {
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-checkbox {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-dropdown {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-form-field {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-input {
4
4
  display: flex;
@@ -11,7 +11,7 @@
11
11
  border-style: var(--tw-border-style);
12
12
  border-width: 1px;
13
13
  border-color: var(--ga-color-border-primary);
14
- background-color: var(--ga-color-bg-primary);
14
+ background-color: var(--ga-color-surface-primary);
15
15
  padding-inline: calc(0.25rem * 3);
16
16
  padding-block: calc(0.25rem * 2);
17
17
  font-size: calc(
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-link {
4
4
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-menu {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-modal__backdrop {
4
4
  position: fixed;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-notification {
4
4
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-radio-group {
4
4
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-segmented-control {
4
4
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-native-select {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  .ga-switch {
4
4
  position: relative;
@@ -0,0 +1,134 @@
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ .ga-tabs {
4
+ display: flex;
5
+ gap: calc(0.25rem * 2);
6
+ &.ga-tabs--keyline {
7
+ border-color: var(--ga-color-border-primary);
8
+ }
9
+ .ga-tabs__tab {
10
+ position: relative;
11
+ display: flex;
12
+ height: calc(0.25rem * 8);
13
+ cursor: pointer;
14
+ align-items: center;
15
+ gap: calc(0.25rem * 2);
16
+ border-color: var(--ga-color-surface-primary);
17
+ background-color: var(--ga-color-surface-primary);
18
+ font-size: calc(
19
+ var(--ga-text-md-font-size) * var(--ga-base-scaling-factor, 1)
20
+ );
21
+ line-height: var(--tw-leading, calc(
22
+ var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
23
+ ));
24
+ letter-spacing: var(--tw-tracking, calc(
25
+ var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
26
+ ));
27
+ --tw-leading: calc(0.25rem * 4);
28
+ line-height: calc(0.25rem * 4);
29
+ --tw-font-weight: 500;
30
+ font-weight: 500;
31
+ color: var(--ga-color-text-action);
32
+ &.ga-tabs__tab--selected {
33
+ border-color: var(--ga-color-border-action);
34
+ --tw-font-weight: 600;
35
+ font-weight: 600;
36
+ }
37
+ &.ga-tabs__tab--disabled {
38
+ cursor: not-allowed;
39
+ color: var(--ga-color-text-disabled);
40
+ &.ga-tabs__tab--selected {
41
+ border-color: var(--ga-color-border-disabled);
42
+ }
43
+ .ga-tabs__tab-icon {
44
+ color: var(--ga-color-icon-disabled);
45
+ }
46
+ }
47
+ &:not(.ga-tabs__tab--disabled):hover {
48
+ border-color: var(--ga-color-border-action-hover);
49
+ color: var(--ga-color-text-action-hover);
50
+ }
51
+ &:not(.ga-tabs__tab--disabled):hover .ga-tabs__tab-icon {
52
+ color: var(--ga-color-icon-primary);
53
+ }
54
+ &:focus-visible {
55
+ --tw-outline-style: none;
56
+ outline-style: none;
57
+ }
58
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
59
+ position: absolute;
60
+ inset: calc(0.25rem * -1);
61
+ border-radius: var(--ga-radius);
62
+ border-style: var(--tw-border-style);
63
+ border-width: 2px;
64
+ border-color: var(--ga-color-border-focus);
65
+ --tw-content: '';
66
+ content: var(--tw-content);
67
+ }
68
+ .ga-tabs__tab-icon {
69
+ color: var(--ga-color-icon-action);
70
+ }
71
+ }
72
+ &.ga-tabs--horizontal {
73
+ flex-direction: row;
74
+ &.ga-tabs--keyline {
75
+ border-bottom-style: var(--tw-border-style);
76
+ border-bottom-width: 1px;
77
+ }
78
+ .ga-tabs__tab {
79
+ border-bottom-style: var(--tw-border-style);
80
+ border-bottom-width: 4px;
81
+ padding-inline: calc(0.25rem * 4);
82
+ padding-top: calc(0.25rem * 2);
83
+ padding-bottom: calc(0.25rem * 1);
84
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
85
+ bottom: calc(0.25rem * -2);
86
+ }
87
+ }
88
+ }
89
+ &.ga-tabs--vertical {
90
+ flex-direction: column;
91
+ &.ga-tabs--keyline {
92
+ border-left-style: var(--tw-border-style);
93
+ border-left-width: 1px;
94
+ }
95
+ .ga-tabs__tab {
96
+ border-left-style: var(--tw-border-style);
97
+ border-left-width: 4px;
98
+ padding-block: calc(0.25rem * 2);
99
+ padding-right: calc(0.25rem * 4);
100
+ padding-left: calc(0.25rem * 3);
101
+ &:focus-visible::after, &.ga-tabs__tab--focused::after {
102
+ left: calc(0.25rem * -2);
103
+ }
104
+ }
105
+ }
106
+ }
107
+ @property --tw-leading {
108
+ syntax: "*";
109
+ inherits: false;
110
+ }
111
+ @property --tw-font-weight {
112
+ syntax: "*";
113
+ inherits: false;
114
+ }
115
+ @property --tw-border-style {
116
+ syntax: "*";
117
+ inherits: false;
118
+ initial-value: solid;
119
+ }
120
+ @property --tw-content {
121
+ syntax: "*";
122
+ inherits: false;
123
+ initial-value: "";
124
+ }
125
+ @layer properties {
126
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
127
+ *, ::before, ::after, ::backdrop {
128
+ --tw-leading: initial;
129
+ --tw-font-weight: initial;
130
+ --tw-border-style: solid;
131
+ --tw-content: "";
132
+ }
133
+ }
134
+ }