@fab1o978/react-ui 0.1.8 → 0.2.0
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/components/Badge/index.d.cts +3 -3
- package/dist/components/Badge/index.d.ts +3 -3
- package/dist/components/Button/index.d.cts +3 -3
- package/dist/components/Button/index.d.ts +3 -3
- package/dist/components/ColorPicker/index.d.cts +2 -2
- package/dist/components/ColorPicker/index.d.ts +2 -2
- package/dist/components/ColorWheel/index.cjs +671 -0
- package/dist/components/ColorWheel/index.cjs.map +1 -0
- package/dist/components/ColorWheel/index.css +494 -0
- package/dist/components/ColorWheel/index.css.map +1 -0
- package/dist/components/ColorWheel/index.d.cts +49 -0
- package/dist/components/ColorWheel/index.d.ts +49 -0
- package/dist/components/ColorWheel/index.js +669 -0
- package/dist/components/ColorWheel/index.js.map +1 -0
- package/dist/components/Input/index.d.cts +5 -5
- package/dist/components/Input/index.d.ts +5 -5
- package/dist/components/RainCanvas/index.d.cts +4 -4
- package/dist/components/RainCanvas/index.d.ts +4 -4
- package/dist/components/RichTextEditor/index.d.cts +6 -6
- package/dist/components/RichTextEditor/index.d.ts +6 -6
- package/dist/components/SliderControl/index.d.cts +4 -4
- package/dist/components/SliderControl/index.d.ts +4 -4
- package/dist/components/SlidingCounter/index.d.cts +2 -2
- package/dist/components/SlidingCounter/index.d.ts +2 -2
- package/dist/components/Timeline/index.d.cts +3 -3
- package/dist/components/Timeline/index.d.ts +3 -3
- package/dist/index.cjs +588 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +494 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +589 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1669,4 +1669,498 @@
|
|
|
1669
1669
|
.RichTextEditor_module_editorContent .ProseMirror ::selection {
|
|
1670
1670
|
background: var(--rich-text-editor-accent-light, var(--accent-light));
|
|
1671
1671
|
}
|
|
1672
|
+
|
|
1673
|
+
/* src/components/ColorWheel/ColorWheel.module.scss */
|
|
1674
|
+
.ColorWheel_module_root {
|
|
1675
|
+
--bg: #ECEAE3;
|
|
1676
|
+
--surface: #FFFFFF;
|
|
1677
|
+
--surface-2: #E3E0D8;
|
|
1678
|
+
--border: #D2CDC0;
|
|
1679
|
+
--text: #1A1913;
|
|
1680
|
+
--text-dim: #726F64;
|
|
1681
|
+
--text-faint: #A8A398;
|
|
1682
|
+
--shadow-soft: 0 1px 2px rgba(30, 25, 15, 0.08);
|
|
1683
|
+
--check-a: #d8d4c8;
|
|
1684
|
+
--check-b: #f4f2ec;
|
|
1685
|
+
color-scheme: light;
|
|
1686
|
+
}
|
|
1687
|
+
@media (prefers-color-scheme: dark) {
|
|
1688
|
+
.ColorWheel_module_root:not([data-theme=light]):not([data-theme=dark]) {
|
|
1689
|
+
--bg: #131217;
|
|
1690
|
+
--surface: #1C1B22;
|
|
1691
|
+
--surface-2: #26252E;
|
|
1692
|
+
--border: #34333D;
|
|
1693
|
+
--text: #ECEAF0;
|
|
1694
|
+
--text-dim: #8E8C99;
|
|
1695
|
+
--text-faint: #605E6B;
|
|
1696
|
+
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
1697
|
+
--check-a: #37353f;
|
|
1698
|
+
--check-b: #201f26;
|
|
1699
|
+
color-scheme: dark;
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
[data-theme=light] .ColorWheel_module_root:not([data-theme=light]):not([data-theme=dark]) {
|
|
1703
|
+
--bg: #ECEAE3;
|
|
1704
|
+
--surface: #FFFFFF;
|
|
1705
|
+
--surface-2: #E3E0D8;
|
|
1706
|
+
--border: #D2CDC0;
|
|
1707
|
+
--text: #1A1913;
|
|
1708
|
+
--text-dim: #726F64;
|
|
1709
|
+
--text-faint: #A8A398;
|
|
1710
|
+
--shadow-soft: 0 1px 2px rgba(30, 25, 15, 0.08);
|
|
1711
|
+
--check-a: #d8d4c8;
|
|
1712
|
+
--check-b: #f4f2ec;
|
|
1713
|
+
color-scheme: light;
|
|
1714
|
+
}
|
|
1715
|
+
[data-theme=dark] .ColorWheel_module_root:not([data-theme=light]):not([data-theme=dark]) {
|
|
1716
|
+
--bg: #131217;
|
|
1717
|
+
--surface: #1C1B22;
|
|
1718
|
+
--surface-2: #26252E;
|
|
1719
|
+
--border: #34333D;
|
|
1720
|
+
--text: #ECEAF0;
|
|
1721
|
+
--text-dim: #8E8C99;
|
|
1722
|
+
--text-faint: #605E6B;
|
|
1723
|
+
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
1724
|
+
--check-a: #37353f;
|
|
1725
|
+
--check-b: #201f26;
|
|
1726
|
+
color-scheme: dark;
|
|
1727
|
+
}
|
|
1728
|
+
.ColorWheel_module_root[data-theme=dark] {
|
|
1729
|
+
--bg: #131217;
|
|
1730
|
+
--surface: #1C1B22;
|
|
1731
|
+
--surface-2: #26252E;
|
|
1732
|
+
--border: #34333D;
|
|
1733
|
+
--text: #ECEAF0;
|
|
1734
|
+
--text-dim: #8E8C99;
|
|
1735
|
+
--text-faint: #605E6B;
|
|
1736
|
+
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.35);
|
|
1737
|
+
--check-a: #37353f;
|
|
1738
|
+
--check-b: #201f26;
|
|
1739
|
+
color-scheme: dark;
|
|
1740
|
+
}
|
|
1741
|
+
.ColorWheel_module_root[data-theme=light] {
|
|
1742
|
+
--bg: #ECEAE3;
|
|
1743
|
+
--surface: #FFFFFF;
|
|
1744
|
+
--surface-2: #E3E0D8;
|
|
1745
|
+
--border: #D2CDC0;
|
|
1746
|
+
--text: #1A1913;
|
|
1747
|
+
--text-dim: #726F64;
|
|
1748
|
+
--text-faint: #A8A398;
|
|
1749
|
+
--shadow-soft: 0 1px 2px rgba(30, 25, 15, 0.08);
|
|
1750
|
+
--check-a: #d8d4c8;
|
|
1751
|
+
--check-b: #f4f2ec;
|
|
1752
|
+
color-scheme: light;
|
|
1753
|
+
}
|
|
1754
|
+
.ColorWheel_module_root {
|
|
1755
|
+
position: relative;
|
|
1756
|
+
display: flex;
|
|
1757
|
+
flex-direction: column;
|
|
1758
|
+
align-items: center;
|
|
1759
|
+
gap: 20px;
|
|
1760
|
+
font-family:
|
|
1761
|
+
-apple-system,
|
|
1762
|
+
"Segoe UI",
|
|
1763
|
+
Inter,
|
|
1764
|
+
"Helvetica Neue",
|
|
1765
|
+
Arial,
|
|
1766
|
+
sans-serif;
|
|
1767
|
+
color: var(--text);
|
|
1768
|
+
}
|
|
1769
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1770
|
+
.ColorWheel_module_root,
|
|
1771
|
+
.ColorWheel_module_root *,
|
|
1772
|
+
.ColorWheel_module_root *::before,
|
|
1773
|
+
.ColorWheel_module_root *::after {
|
|
1774
|
+
animation-duration: 0.01ms !important;
|
|
1775
|
+
transition-duration: 0.01ms !important;
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
.ColorWheel_module_recents {
|
|
1779
|
+
display: flex;
|
|
1780
|
+
align-items: center;
|
|
1781
|
+
gap: 7px;
|
|
1782
|
+
min-height: 30px;
|
|
1783
|
+
background: var(--surface-2);
|
|
1784
|
+
border-radius: 999px;
|
|
1785
|
+
padding: 5px 8px;
|
|
1786
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.14), var(--shadow-soft);
|
|
1787
|
+
}
|
|
1788
|
+
.ColorWheel_module_chipWrap {
|
|
1789
|
+
position: relative;
|
|
1790
|
+
flex: none;
|
|
1791
|
+
animation: ColorWheel_module_chipIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
|
|
1792
|
+
}
|
|
1793
|
+
.ColorWheel_module_chip {
|
|
1794
|
+
width: 26px;
|
|
1795
|
+
height: 26px;
|
|
1796
|
+
border-radius: 50%;
|
|
1797
|
+
border: none;
|
|
1798
|
+
padding: 0;
|
|
1799
|
+
cursor: pointer;
|
|
1800
|
+
display: block;
|
|
1801
|
+
box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.22), var(--shadow-soft);
|
|
1802
|
+
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
|
1803
|
+
}
|
|
1804
|
+
.ColorWheel_module_chip:hover {
|
|
1805
|
+
transform: scale(1.14) translateY(-1px);
|
|
1806
|
+
box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.3), 0 4px 10px -3px rgba(0, 0, 0, 0.3);
|
|
1807
|
+
}
|
|
1808
|
+
.ColorWheel_module_chip:active {
|
|
1809
|
+
transform: scale(1.02);
|
|
1810
|
+
}
|
|
1811
|
+
.ColorWheel_module_chipRemove {
|
|
1812
|
+
position: absolute;
|
|
1813
|
+
top: -3px;
|
|
1814
|
+
right: -3px;
|
|
1815
|
+
width: 14px;
|
|
1816
|
+
height: 14px;
|
|
1817
|
+
border-radius: 50%;
|
|
1818
|
+
border: none;
|
|
1819
|
+
padding: 0;
|
|
1820
|
+
display: grid;
|
|
1821
|
+
place-items: center;
|
|
1822
|
+
background: var(--surface);
|
|
1823
|
+
color: var(--text-dim);
|
|
1824
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(128, 128, 128, 0.25);
|
|
1825
|
+
cursor: pointer;
|
|
1826
|
+
z-index: 2;
|
|
1827
|
+
opacity: 0;
|
|
1828
|
+
pointer-events: none;
|
|
1829
|
+
transform: scale(0.6);
|
|
1830
|
+
transition:
|
|
1831
|
+
opacity 0.12s ease,
|
|
1832
|
+
transform 0.12s ease,
|
|
1833
|
+
color 0.12s ease;
|
|
1834
|
+
}
|
|
1835
|
+
.ColorWheel_module_chipRemove svg {
|
|
1836
|
+
width: 8px;
|
|
1837
|
+
height: 8px;
|
|
1838
|
+
}
|
|
1839
|
+
.ColorWheel_module_chipRemove:hover {
|
|
1840
|
+
color: var(--text);
|
|
1841
|
+
}
|
|
1842
|
+
.ColorWheel_module_chipWrap:hover .ColorWheel_module_chipRemove {
|
|
1843
|
+
opacity: 1;
|
|
1844
|
+
pointer-events: auto;
|
|
1845
|
+
transform: scale(1);
|
|
1846
|
+
}
|
|
1847
|
+
@keyframes ColorWheel_module_chipIn {
|
|
1848
|
+
0% {
|
|
1849
|
+
transform: scale(0) rotate(-25deg);
|
|
1850
|
+
opacity: 0;
|
|
1851
|
+
}
|
|
1852
|
+
100% {
|
|
1853
|
+
transform: scale(1) rotate(0);
|
|
1854
|
+
opacity: 1;
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
.ColorWheel_module_picker {
|
|
1858
|
+
position: relative;
|
|
1859
|
+
margin-top: 82px;
|
|
1860
|
+
height: 265px;
|
|
1861
|
+
width: 272px;
|
|
1862
|
+
}
|
|
1863
|
+
.ColorWheel_module_glow {
|
|
1864
|
+
position: absolute;
|
|
1865
|
+
width: 340px;
|
|
1866
|
+
height: 340px;
|
|
1867
|
+
left: 50%;
|
|
1868
|
+
top: 88px;
|
|
1869
|
+
transform: translate(-50%, -50%);
|
|
1870
|
+
border-radius: 50%;
|
|
1871
|
+
opacity: 0.55;
|
|
1872
|
+
pointer-events: none;
|
|
1873
|
+
z-index: 0;
|
|
1874
|
+
}
|
|
1875
|
+
.ColorWheel_module_modeToggle {
|
|
1876
|
+
position: absolute;
|
|
1877
|
+
top: 88px;
|
|
1878
|
+
left: 50%;
|
|
1879
|
+
transform: translate(-50%, calc(-50% - 156px));
|
|
1880
|
+
z-index: 3;
|
|
1881
|
+
display: grid;
|
|
1882
|
+
background: var(--surface-2);
|
|
1883
|
+
border-radius: 999px;
|
|
1884
|
+
padding: 3px;
|
|
1885
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.14), var(--shadow-soft);
|
|
1886
|
+
}
|
|
1887
|
+
.ColorWheel_module_modePill {
|
|
1888
|
+
position: absolute;
|
|
1889
|
+
top: 3px;
|
|
1890
|
+
bottom: 3px;
|
|
1891
|
+
left: 3px;
|
|
1892
|
+
border-radius: 999px;
|
|
1893
|
+
background: var(--surface);
|
|
1894
|
+
box-shadow: var(--shadow-soft);
|
|
1895
|
+
transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
1896
|
+
}
|
|
1897
|
+
.ColorWheel_module_modeButton {
|
|
1898
|
+
position: relative;
|
|
1899
|
+
z-index: 1;
|
|
1900
|
+
display: flex;
|
|
1901
|
+
align-items: center;
|
|
1902
|
+
justify-content: center;
|
|
1903
|
+
height: 22px;
|
|
1904
|
+
background: none;
|
|
1905
|
+
border: none;
|
|
1906
|
+
padding: 0;
|
|
1907
|
+
font-size: 10.5px;
|
|
1908
|
+
font-weight: 700;
|
|
1909
|
+
line-height: 22px;
|
|
1910
|
+
letter-spacing: 0.02em;
|
|
1911
|
+
color: var(--text-dim);
|
|
1912
|
+
cursor: pointer;
|
|
1913
|
+
transition: color 0.2s ease;
|
|
1914
|
+
}
|
|
1915
|
+
.ColorWheel_module_modeButton.ColorWheel_module_active {
|
|
1916
|
+
color: var(--text);
|
|
1917
|
+
}
|
|
1918
|
+
.ColorWheel_module_modeButton:hover:not(.ColorWheel_module_active) {
|
|
1919
|
+
color: var(--text);
|
|
1920
|
+
}
|
|
1921
|
+
.ColorWheel_module_stage {
|
|
1922
|
+
position: absolute;
|
|
1923
|
+
top: -48px;
|
|
1924
|
+
left: 50%;
|
|
1925
|
+
width: 272px;
|
|
1926
|
+
height: 272px;
|
|
1927
|
+
transform: translateX(-50%);
|
|
1928
|
+
touch-action: none;
|
|
1929
|
+
}
|
|
1930
|
+
.ColorWheel_module_stageShadow {
|
|
1931
|
+
position: absolute;
|
|
1932
|
+
inset: 0;
|
|
1933
|
+
border-radius: 50%;
|
|
1934
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22), 0 10px 18px rgba(0, 0, 0, 0.22);
|
|
1935
|
+
pointer-events: none;
|
|
1936
|
+
}
|
|
1937
|
+
.ColorWheel_module_ring {
|
|
1938
|
+
position: absolute;
|
|
1939
|
+
inset: 0;
|
|
1940
|
+
border-radius: 50%;
|
|
1941
|
+
pointer-events: none;
|
|
1942
|
+
z-index: 2;
|
|
1943
|
+
-webkit-mask:
|
|
1944
|
+
radial-gradient(
|
|
1945
|
+
circle closest-side,
|
|
1946
|
+
transparent 0 92px,
|
|
1947
|
+
black 93px 100%);
|
|
1948
|
+
mask:
|
|
1949
|
+
radial-gradient(
|
|
1950
|
+
circle closest-side,
|
|
1951
|
+
transparent 0 92px,
|
|
1952
|
+
black 93px 100%);
|
|
1953
|
+
}
|
|
1954
|
+
.ColorWheel_module_hueHandlePivot {
|
|
1955
|
+
position: absolute;
|
|
1956
|
+
top: 50%;
|
|
1957
|
+
left: 50%;
|
|
1958
|
+
width: 0;
|
|
1959
|
+
height: 0;
|
|
1960
|
+
z-index: 3;
|
|
1961
|
+
transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
|
|
1962
|
+
}
|
|
1963
|
+
.ColorWheel_module_root[data-dragging=true] .ColorWheel_module_hueHandlePivot {
|
|
1964
|
+
transition: none;
|
|
1965
|
+
}
|
|
1966
|
+
.ColorWheel_module_hueHandle {
|
|
1967
|
+
position: absolute;
|
|
1968
|
+
top: -114px;
|
|
1969
|
+
left: 0;
|
|
1970
|
+
width: 22px;
|
|
1971
|
+
height: 22px;
|
|
1972
|
+
border-radius: 50%;
|
|
1973
|
+
border: 3px solid #fff;
|
|
1974
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.15);
|
|
1975
|
+
transform: translate(-50%, -50%);
|
|
1976
|
+
cursor: grab;
|
|
1977
|
+
z-index: 3;
|
|
1978
|
+
}
|
|
1979
|
+
.ColorWheel_module_alphaArcShadowWrap {
|
|
1980
|
+
position: absolute;
|
|
1981
|
+
top: 88px;
|
|
1982
|
+
left: 50%;
|
|
1983
|
+
width: 380px;
|
|
1984
|
+
height: 380px;
|
|
1985
|
+
transform: translate(calc(-50% + 1px), calc(-50% + 5px));
|
|
1986
|
+
z-index: 1;
|
|
1987
|
+
pointer-events: none;
|
|
1988
|
+
filter: blur(7px);
|
|
1989
|
+
}
|
|
1990
|
+
.ColorWheel_module_alphaArcShadow {
|
|
1991
|
+
position: absolute;
|
|
1992
|
+
inset: 0;
|
|
1993
|
+
background: rgba(0, 0, 0, 0.22);
|
|
1994
|
+
clip-path: path("M 328.56,270 A 160 160 0 0 1 51.44,270 L 65.29,262 A 144 144 0 0 0 314.71,262 Z");
|
|
1995
|
+
}
|
|
1996
|
+
.ColorWheel_module_alphaArc {
|
|
1997
|
+
position: absolute;
|
|
1998
|
+
top: 88px;
|
|
1999
|
+
left: 50%;
|
|
2000
|
+
width: 380px;
|
|
2001
|
+
height: 380px;
|
|
2002
|
+
transform: translate(-50%, -50%);
|
|
2003
|
+
touch-action: none;
|
|
2004
|
+
cursor: grab;
|
|
2005
|
+
z-index: 2;
|
|
2006
|
+
background: var(--surface-2);
|
|
2007
|
+
clip-path: path("M 328.56,270 A 160 160 0 0 1 51.44,270 L 65.29,262 A 144 144 0 0 0 314.71,262 Z");
|
|
2008
|
+
}
|
|
2009
|
+
.ColorWheel_module_alphaArcFill {
|
|
2010
|
+
position: absolute;
|
|
2011
|
+
inset: 0;
|
|
2012
|
+
}
|
|
2013
|
+
.ColorWheel_module_alphaArcCap {
|
|
2014
|
+
position: absolute;
|
|
2015
|
+
top: 88px;
|
|
2016
|
+
left: 50%;
|
|
2017
|
+
width: 16px;
|
|
2018
|
+
height: 16px;
|
|
2019
|
+
border-radius: 50%;
|
|
2020
|
+
z-index: 2;
|
|
2021
|
+
pointer-events: none;
|
|
2022
|
+
background: var(--surface-2);
|
|
2023
|
+
}
|
|
2024
|
+
.ColorWheel_module_alphaArcCapStart {
|
|
2025
|
+
transform: translate(calc(-50% + 131.6px), calc(-50% + 76px));
|
|
2026
|
+
}
|
|
2027
|
+
.ColorWheel_module_alphaArcCapEnd {
|
|
2028
|
+
transform: translate(calc(-50% - 131.6px), calc(-50% + 76px));
|
|
2029
|
+
}
|
|
2030
|
+
.ColorWheel_module_alphaArcHandle {
|
|
2031
|
+
position: absolute;
|
|
2032
|
+
top: 88px;
|
|
2033
|
+
left: 50%;
|
|
2034
|
+
width: 18px;
|
|
2035
|
+
height: 18px;
|
|
2036
|
+
border-radius: 50%;
|
|
2037
|
+
border: 2px solid #fff;
|
|
2038
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.2);
|
|
2039
|
+
z-index: 3;
|
|
2040
|
+
pointer-events: none;
|
|
2041
|
+
transition: transform 0.12s ease;
|
|
2042
|
+
}
|
|
2043
|
+
.ColorWheel_module_root[data-dragging=true] .ColorWheel_module_alphaArcHandle {
|
|
2044
|
+
transition: none;
|
|
2045
|
+
}
|
|
2046
|
+
.ColorWheel_module_currentDisc {
|
|
2047
|
+
position: absolute;
|
|
2048
|
+
top: 50%;
|
|
2049
|
+
left: 50%;
|
|
2050
|
+
width: 156px;
|
|
2051
|
+
height: 156px;
|
|
2052
|
+
transform: translate(-50%, -50%);
|
|
2053
|
+
border-radius: 50%;
|
|
2054
|
+
overflow: hidden;
|
|
2055
|
+
cursor: pointer;
|
|
2056
|
+
z-index: 2;
|
|
2057
|
+
box-shadow: 0 10px 24px -8px rgba(20, 16, 10, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
2058
|
+
background-image:
|
|
2059
|
+
linear-gradient(
|
|
2060
|
+
45deg,
|
|
2061
|
+
var(--check-a) 25%,
|
|
2062
|
+
transparent 25%,
|
|
2063
|
+
transparent 75%,
|
|
2064
|
+
var(--check-a) 75%),
|
|
2065
|
+
linear-gradient(
|
|
2066
|
+
45deg,
|
|
2067
|
+
var(--check-a) 25%,
|
|
2068
|
+
transparent 25%,
|
|
2069
|
+
transparent 75%,
|
|
2070
|
+
var(--check-a) 75%);
|
|
2071
|
+
background-size: 12px 12px;
|
|
2072
|
+
background-position: 0 0, 6px 6px;
|
|
2073
|
+
background-color: var(--check-b);
|
|
2074
|
+
}
|
|
2075
|
+
.ColorWheel_module_discFill {
|
|
2076
|
+
position: absolute;
|
|
2077
|
+
inset: 0;
|
|
2078
|
+
}
|
|
2079
|
+
.ColorWheel_module_currentHex,
|
|
2080
|
+
.ColorWheel_module_currentHexInput {
|
|
2081
|
+
position: absolute;
|
|
2082
|
+
inset: 0;
|
|
2083
|
+
z-index: 1;
|
|
2084
|
+
font-family:
|
|
2085
|
+
"SF Mono",
|
|
2086
|
+
"IBM Plex Mono",
|
|
2087
|
+
"JetBrains Mono",
|
|
2088
|
+
Consolas,
|
|
2089
|
+
"Liberation Mono",
|
|
2090
|
+
monospace;
|
|
2091
|
+
font-size: 17px;
|
|
2092
|
+
font-weight: 700;
|
|
2093
|
+
letter-spacing: 0.01em;
|
|
2094
|
+
font-variant-numeric: tabular-nums;
|
|
2095
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
2096
|
+
}
|
|
2097
|
+
.ColorWheel_module_currentHex {
|
|
2098
|
+
display: grid;
|
|
2099
|
+
place-items: center;
|
|
2100
|
+
cursor: text;
|
|
2101
|
+
transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
2102
|
+
}
|
|
2103
|
+
.ColorWheel_module_currentHex.ColorWheel_module_copied {
|
|
2104
|
+
transform: scale(1.06);
|
|
2105
|
+
}
|
|
2106
|
+
.ColorWheel_module_currentHexInput {
|
|
2107
|
+
z-index: 2;
|
|
2108
|
+
width: 100%;
|
|
2109
|
+
height: 100%;
|
|
2110
|
+
text-align: center;
|
|
2111
|
+
background: transparent;
|
|
2112
|
+
border: none;
|
|
2113
|
+
outline: none;
|
|
2114
|
+
padding: 0;
|
|
2115
|
+
}
|
|
2116
|
+
.ColorWheel_module_currentHexInput::selection {
|
|
2117
|
+
background: rgba(255, 255, 255, 0.35);
|
|
2118
|
+
}
|
|
2119
|
+
.ColorWheel_module_discBadge {
|
|
2120
|
+
position: absolute;
|
|
2121
|
+
top: 50%;
|
|
2122
|
+
left: 50%;
|
|
2123
|
+
width: 34px;
|
|
2124
|
+
height: 34px;
|
|
2125
|
+
border-radius: 50%;
|
|
2126
|
+
border: none;
|
|
2127
|
+
display: grid;
|
|
2128
|
+
place-items: center;
|
|
2129
|
+
cursor: pointer;
|
|
2130
|
+
z-index: 3;
|
|
2131
|
+
transition: transform 0.15s ease, filter 0.15s ease;
|
|
2132
|
+
}
|
|
2133
|
+
.ColorWheel_module_discBadge:hover {
|
|
2134
|
+
filter: brightness(1.15);
|
|
2135
|
+
}
|
|
2136
|
+
.ColorWheel_module_discBadge svg {
|
|
2137
|
+
width: 15px;
|
|
2138
|
+
height: 15px;
|
|
2139
|
+
}
|
|
2140
|
+
.ColorWheel_module_discBadgeTop {
|
|
2141
|
+
transform: translate(-50%, calc(-50% - 46px));
|
|
2142
|
+
}
|
|
2143
|
+
.ColorWheel_module_discBadgeTop:active {
|
|
2144
|
+
transform: translate(-50%, calc(-50% - 46px)) scale(0.92);
|
|
2145
|
+
}
|
|
2146
|
+
.ColorWheel_module_discBadgeTop.ColorWheel_module_pulse {
|
|
2147
|
+
animation: ColorWheel_module_badgePulseTop 0.4s ease;
|
|
2148
|
+
}
|
|
2149
|
+
.ColorWheel_module_discBadgeBottom {
|
|
2150
|
+
transform: translate(-50%, calc(-50% + 46px));
|
|
2151
|
+
}
|
|
2152
|
+
.ColorWheel_module_discBadgeBottom:active {
|
|
2153
|
+
transform: translate(-50%, calc(-50% + 46px)) scale(0.92);
|
|
2154
|
+
}
|
|
2155
|
+
@keyframes ColorWheel_module_badgePulseTop {
|
|
2156
|
+
0% {
|
|
2157
|
+
transform: translate(-50%, calc(-50% - 46px)) scale(1);
|
|
2158
|
+
}
|
|
2159
|
+
40% {
|
|
2160
|
+
transform: translate(-50%, calc(-50% - 46px)) scale(1.28);
|
|
2161
|
+
}
|
|
2162
|
+
100% {
|
|
2163
|
+
transform: translate(-50%, calc(-50% - 46px)) scale(1);
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
1672
2166
|
/*# sourceMappingURL=index.css.map */
|