@purpurds/theme 8.18.0 → 8.20.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/theme.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
2
  import { useEffect as p, createContext as k, useState as d, useMemo as m, useContext as N } from "react";
3
- const y = "#f4e0ff", $ = "#c461f7", P = "#29003e", b = "#ede1d8", E = "#4f4741", O = "#3b332d", A = "#ffffff", H = "#202022", M = "rgba(255, 255, 255, 0.95)", h = "rgba(255, 255, 255, 0.66)", W = "rgba(255, 255, 255, 0.37)", D = "rgba(0, 0, 0, 0.8)", L = "rgba(0, 0, 0, 0.54)", F = "rgba(0, 0, 0, 0.44)", R = "#f4e0ff", _ = "#e4b6fb", w = "#d58df9", U = "#4e0174", Q = "#ffffff", j = "#6d02a3", X = "#4e0174", q = "#29003e", G = "#ffffff", z = "#ffffff", J = "#29003e", K = "#ffffff", V = "#29003e", Y = "#ffffff", Z = "#ffffff", rr = "#d58df9", er = "#d58df9", or = "#ffafc9", tr = "#980233", cr = "#fb4885", ar = "#e4175c", nr = "#79d9a7", ur = "#02562b", ir = "#1fa15e", sr = "#f9bb5b", lr = "#f39200", pr = "#a86602", vr = "#91cdf4", gr = "#3694d3", dr = "#ffffff", Br = "#ffffff", fr = "#4e0174", Sr = "#202022", Cr = "#29003e", Ir = "#f4e0ff", Tr = "#ffffff", xr = "#121212", kr = "#ffffff", mr = "#202022", Nr = "#f5f5fa", yr = "rgba(0, 0, 0, 0.71)", $r = "rgba(255, 255, 255, 0.84)", Pr = "#03385b", br = "#f4e0ff", Er = "#e4b6fb", Or = "#d58df9", Ar = "#4e0174", Hr = "#6d02a3", Mr = "#8c07d0", hr = "#990ae3", Wr = "#c461f7", Dr = "#d58df9", Lr = "#990ae3", Fr = "#6d02a3", Rr = "#4e0174", _r = "rgba(255, 255, 255, 0.11)", wr = "rgba(0, 0, 0, 0.1)", Ur = "#4e0174", Qr = "#e4b6fb", jr = "#6d02a3", Xr = "#d58df9", qr = "rgba(255, 255, 255, 0.16)", Gr = "rgba(0, 0, 0, 0.05)", zr = "rgba(255, 255, 255, 0.07)", Jr = "rgba(0, 0, 0, 0.05)", Kr = "#e4175c", Vr = "#c00543", Yr = "#980233", Zr = "#03385b", re = "#62b2e7", ee = "#003e1e", oe = "#3dbf7c", te = "#1fa15e", ce = "#700025", ae = "#ff80ab", ne = "#fb4885", ue = "#4c2f03", ie = "#f39200", se = "#f39200", le = "#353537", pe = "#6d02a3", ve = "#f4e0ff", ge = "#ffffff", de = "#f4e0ff", Be = "#29003e", fe = "#4f4741", Se = "#2d2824", Ce = "rgba(255, 255, 255, 0.29)", Ie = "rgba(0, 0, 0, 0.33)", Te = "rgba(255, 255, 255, 0.46)", xe = "rgba(0, 0, 0, 0.54)", ke = "rgba(255, 255, 255, 0.16)", me = "rgba(0, 0, 0, 0.16)", Ne = "#c461f7", ye = "#f4e0ff", $e = "#6d02a3", Pe = "#e4b6fb", be = "#e4b6fb", Ee = "#4e0174", Oe = "#29003e", Ae = "#990ae3", He = "#d58df9", Me = "rgba(255, 255, 255, 0.37)", he = "rgba(0, 0, 0, 0.44)", We = "#e4b6fb", De = "#6d02a3", Le = "#fb4885", Fe = "#e4175c", Re = "#f39200", _e = "#3694d3", we = "#1fa15e", Ue = "#018842", Qe = {
3
+ const y = "#f4e0ff", $ = "#c461f7", P = "#29003e", b = "#ede1d8", E = "#4f4741", O = "#3b332d", A = "#ffffff", H = "#202022", M = "rgba(255, 255, 255, 0.95)", h = "rgba(255, 255, 255, 0.66)", W = "rgba(255, 255, 255, 0.37)", D = "rgba(0, 0, 0, 0.8)", L = "rgba(0, 0, 0, 0.54)", F = "rgba(0, 0, 0, 0.44)", R = "#e4b6fb", _ = "#f4e0ff", w = "#faf0ff", U = "#4e0174", Q = "#ffffff", j = "#8c07d0", X = "#6d02a3", q = "#4e0174", G = "#ffffff", z = "#ffffff", J = "#29003e", K = "#ffffff", V = "#29003e", Y = "#ffffff", Z = "#ffffff", rr = "#d58df9", or = "#d58df9", er = "#ffafc9", tr = "#980233", cr = "#fb4885", ar = "#e4175c", nr = "#79d9a7", ur = "#02562b", ir = "#1fa15e", sr = "#f9bb5b", lr = "#f39200", pr = "#a86602", vr = "#91cdf4", gr = "#3694d3", dr = "#ffffff", Br = "#ffffff", fr = "#4e0174", Sr = "#202022", Cr = "#29003e", Ir = "#f4e0ff", Tr = "#ffffff", xr = "#121212", kr = "#ffffff", mr = "#202022", Nr = "#f5f5fa", yr = "rgba(0, 0, 0, 0.71)", $r = "rgba(255, 255, 255, 0.84)", Pr = "#03385b", br = "#f4e0ff", Er = "#e4b6fb", Or = "#d58df9", Ar = "#4e0174", Hr = "#6d02a3", Mr = "#8c07d0", hr = "#990ae3", Wr = "#c461f7", Dr = "#d58df9", Lr = "#990ae3", Fr = "#6d02a3", Rr = "#4e0174", _r = "rgba(255, 255, 255, 0.11)", wr = "rgba(0, 0, 0, 0.1)", Ur = "#4e0174", Qr = "#e4b6fb", jr = "#6d02a3", Xr = "#d58df9", qr = "rgba(255, 255, 255, 0.16)", Gr = "rgba(0, 0, 0, 0.05)", zr = "rgba(255, 255, 255, 0.07)", Jr = "rgba(0, 0, 0, 0.05)", Kr = "#e4175c", Vr = "#c00543", Yr = "#980233", Zr = "#03385b", ro = "#62b2e7", oo = "#003e1e", eo = "#3dbf7c", to = "#1fa15e", co = "#700025", ao = "#ff80ab", no = "#fb4885", uo = "#4c2f03", io = "#f39200", so = "#f39200", lo = "#353537", po = "#6d02a3", vo = "#f4e0ff", go = "#ffffff", Bo = "#f4e0ff", fo = "#29003e", So = "#4f4741", Co = "#2d2824", Io = "rgba(255, 255, 255, 0.29)", To = "rgba(0, 0, 0, 0.33)", xo = "rgba(255, 255, 255, 0.46)", ko = "rgba(0, 0, 0, 0.54)", mo = "rgba(255, 255, 255, 0.16)", No = "rgba(0, 0, 0, 0.16)", yo = "#c461f7", $o = "#e4b6fb", Po = "#8c07d0", bo = "#f4e0ff", Eo = "#faf0ff", Oo = "#6d02a3", Ao = "#4e0174", Ho = "#990ae3", Mo = "#d58df9", ho = "rgba(255, 255, 255, 0.37)", Wo = "rgba(0, 0, 0, 0.44)", Do = "#e4b6fb", Lo = "#6d02a3", Fo = "#fb4885", Ro = "#e4175c", _o = "#f39200", wo = "#3694d3", Uo = "#1fa15e", Qo = "#018842", jo = {
4
4
  colorBrandDeepPurple: y,
5
5
  colorBrandCorePurple: $,
6
6
  colorBrandLightPurple: P,
@@ -38,11 +38,11 @@ const y = "#f4e0ff", $ = "#c461f7", P = "#29003e", b = "#ede1d8", E = "#4f4741",
38
38
  colorTextStatusWarningMedium: lr,
39
39
  colorTextStatusWarningStrong: sr,
40
40
  colorTextStatusErrorMedium: cr,
41
- colorTextStatusErrorStrong: or,
41
+ colorTextStatusErrorStrong: er,
42
42
  colorTextStatusNeutral: dr,
43
43
  colorTextStatusSpecial: Br,
44
44
  colorTextStatusAttention: fr,
45
- colorTextStatusDiscount: er,
45
+ colorTextStatusDiscount: or,
46
46
  colorTextStatusBlackFriday: Sr,
47
47
  colorTextStatusSuccessStrongNegative: ur,
48
48
  colorTextStatusErrorMediumNegative: ar,
@@ -84,112 +84,112 @@ const y = "#f4e0ff", $ = "#c461f7", P = "#29003e", b = "#ede1d8", E = "#4f4741",
84
84
  colorBackgroundInteractiveInactiveNegative: Gr,
85
85
  colorBackgroundInteractiveReadOnlyNegative: Jr,
86
86
  colorBackgroundStatusInfoMedium: Zr,
87
- colorBackgroundStatusInfoStrong: re,
88
- colorBackgroundStatusSuccessMedium: ee,
89
- colorBackgroundStatusSuccessStrong: oe,
90
- colorBackgroundStatusWarningMedium: ue,
91
- colorBackgroundStatusWarningStrong: ie,
92
- colorBackgroundStatusErrorMedium: ce,
93
- colorBackgroundStatusErrorStrong: ae,
94
- colorBackgroundStatusNeutral: le,
95
- colorBackgroundStatusSpecial: pe,
96
- colorBackgroundStatusAttention: ve,
97
- colorBackgroundStatusBlackFriday: ge,
98
- colorBackgroundStatusSuccessStrongNegative: te,
99
- colorBackgroundStatusWarningStrongNegative: se,
100
- colorBackgroundStatusErrorStrongNegative: ne,
101
- colorBackgroundToneOnTonePrimary: de,
102
- colorBackgroundToneOnToneSecondary: Be,
103
- colorBackgroundToneOnToneTertiary: fe,
104
- colorBackgroundToneOnToneQuaternary: Se,
105
- colorBorderWeak: ke,
106
- colorBorderMedium: Ce,
107
- colorBorderStrong: Te,
108
- colorBorderWeakNegative: me,
109
- colorBorderMediumNegative: Ie,
110
- colorBorderStrongNegative: xe,
111
- colorBorderInteractivePrimary: ye,
112
- colorBorderInteractivePrimaryHover: Pe,
113
- colorBorderInteractivePrimaryActive: be,
114
- colorBorderInteractiveFocus: Ne,
115
- colorBorderInteractiveExpressive: Ae,
116
- colorBorderInteractiveSubtle: Me,
117
- colorBorderInteractiveSubtleHover: We,
118
- colorBorderInteractiveSelected: He,
119
- colorBorderInteractivePrimaryNegative: $e,
120
- colorBorderInteractivePrimaryHoverNegative: Ee,
121
- colorBorderInteractivePrimaryActiveNegative: Oe,
122
- colorBorderInteractiveSubtleNegative: he,
123
- colorBorderInteractiveSubtleHoverNegative: De,
124
- colorBorderStatusError: Le,
125
- colorBorderStatusWarning: Re,
126
- colorBorderStatusInfo: _e,
127
- colorBorderStatusSuccess: we,
128
- colorBorderStatusErrorNegative: Fe,
129
- colorBorderStatusSuccessNegative: Ue
130
- }, je = "#29003e", Xe = "#990ae3", qe = "#f4e0ff", Ge = "#4f4741", ze = "#ede1d8", Je = "#f9f1ec", Ke = "#202022", Ve = "#ffffff", Ye = "rgba(0, 0, 0, 0.84)", Ze = "rgba(0, 0, 0, 0.62)", ro = "rgba(0, 0, 0, 0.44)", eo = "rgba(255, 255, 255, 0.95)", oo = "rgba(255, 255, 255, 0.66)", to = "rgba(255, 255, 255, 0.37)", co = "#6d02a3", ao = "#4e0174", no = "#29003e", uo = "#ffffff", io = "#4e0174", so = "#f4e0ff", lo = "#e4b6fb", po = "#e4b6fb", vo = "#ffffff", go = "#ffffff", Bo = "#ffffff", fo = "#29003e", So = "#ffffff", Co = "#29003e", Io = "#ffffff", To = "#990ae3", xo = "#990ae3", ko = "#980233", mo = "#ff80ab", No = "#e4175c", yo = "#fb4885", $o = "#02562b", Po = "#3dbf7c", bo = "#018842", Eo = "#6a4102", Oo = "#a86602", Ao = "#f39200", Ho = "#014d80", Mo = "#0078cb", ho = "rgba(0, 0, 0, 0.71)", Wo = "#4e0174", Do = "#ffffff", Lo = "#ffffff", Fo = "#f4e0ff", Ro = "#29003e", _o = "#4f4741", wo = "#ffffff", Uo = "#1f002e", Qo = "#f5f5fa", jo = "#29003e", Xo = "rgba(255, 255, 255, 0.84)", qo = "rgba(0, 0, 0, 0.71)", Go = "#e8f6ff", zo = "#4e0174", Jo = "#6d02a3", Ko = "#8c07d0", Vo = "#f4e0ff", Yo = "#e4b6fb", Zo = "#d58df9", rt = "#990ae3", et = "#6d02a3", ot = "#4e0174", tt = "#990ae3", ct = "#c461f7", at = "#d58df9", nt = "rgba(0, 0, 0, 0.1)", ut = "rgba(255, 255, 255, 0.11)", it = "#f4e0ff", st = "#4e0174", lt = "#e4b6fb", pt = "#6d02a3", vt = "rgba(0, 0, 0, 0.05)", gt = "rgba(255, 255, 255, 0.16)", dt = "rgba(0, 0, 0, 0.05)", Bt = "rgba(255, 255, 255, 0.11)", ft = "#e4175c", St = "#c00543", Ct = "#980233", It = "#caeaff", Tt = "#3694d3", xt = "#c5efd9", kt = "#1fa15e", mt = "#3dbf7c", Nt = "#ffdde8", yt = "#fb4885", $t = "#ff80ab", Pt = "#ffe1b3", bt = "#cc7a00", Et = "#f39200", Ot = "#d6d6dd", At = "#f4e0ff", Ht = "#6d02a3", Mt = "#202022", ht = "#29003e", Wt = "#f4e0ff", Dt = "#ede1d8", Lt = "#f9f1ec", Ft = "rgba(0, 0, 0, 0.33)", Rt = "rgba(255, 255, 255, 0.29)", _t = "rgba(0, 0, 0, 0.54)", wt = "rgba(255, 255, 255, 0.46)", Ut = "rgba(0, 0, 0, 0.16)", Qt = "rgba(255, 255, 255, 0.16)", jt = "#b12df4", Xt = "#6d02a3", qt = "#f4e0ff", Gt = "#4e0174", zt = "#29003e", Jt = "#e4b6fb", Kt = "#e4b6fb", Vt = "#990ae3", Yt = "#990ae3", Zt = "rgba(0, 0, 0, 0.44)", rc = "rgba(255, 255, 255, 0.46)", ec = "#6d02a3", oc = "#c461f7", tc = "#e4175c", cc = "#fb4885", ac = "#cc7a00", nc = "#0078cb", uc = "#018842", ic = "#1fa15e", sc = {
131
- colorBrandDeepPurple: je,
132
- colorBrandCorePurple: Xe,
133
- colorBrandLightPurple: qe,
134
- colorBrandDeepBeige: Ge,
135
- colorBrandBeige: ze,
136
- colorBrandLightBeige: Je,
137
- colorBrandOffBlack: Ke,
138
- colorBrandWhite: Ve,
139
- colorTextDefault: Ye,
140
- colorTextMedium: Ze,
141
- colorTextWeak: ro,
142
- colorTextDefaultNegative: eo,
143
- colorTextMediumNegative: oo,
144
- colorTextWeakNegative: to,
145
- colorTextInteractivePrimary: co,
146
- colorTextInteractivePrimaryHover: ao,
147
- colorTextInteractivePrimaryActive: no,
148
- colorTextInteractiveOnPrimary: uo,
149
- colorTextInteractiveOnExpressive: vo,
150
- colorTextInteractiveOnExpressiveHover: Bo,
151
- colorTextInteractiveOnExpressiveActive: So,
152
- colorTextInteractiveOnDestructive: Io,
153
- colorTextInteractiveSelected: To,
154
- colorTextInteractivePrimaryNegative: so,
155
- colorTextInteractivePrimaryHoverNegative: lo,
156
- colorTextInteractivePrimaryActiveNegative: po,
157
- colorTextInteractiveOnPrimaryNegative: io,
158
- colorTextInteractiveOnExpressiveNegative: go,
159
- colorTextInteractiveOnExpressiveHoverNegative: fo,
160
- colorTextInteractiveOnExpressiveActiveNegative: Co,
161
- colorTextStatusInfoMedium: Mo,
162
- colorTextStatusInfoStrong: Ho,
163
- colorTextStatusSuccessMedium: bo,
164
- colorTextStatusSuccessStrong: $o,
165
- colorTextStatusWarningMedium: Oo,
166
- colorTextStatusWarningStrong: Eo,
167
- colorTextStatusErrorMedium: No,
168
- colorTextStatusErrorStrong: ko,
169
- colorTextStatusNeutral: ho,
170
- colorTextStatusSpecial: Wo,
171
- colorTextStatusAttention: Do,
172
- colorTextStatusDiscount: xo,
173
- colorTextStatusBlackFriday: Lo,
174
- colorTextStatusSuccessStrongNegative: Po,
175
- colorTextStatusErrorMediumNegative: yo,
176
- colorTextStatusErrorStrongNegative: mo,
177
- colorTextStatusWarningMediumNegative: Ao,
178
- colorTextToneOnTonePrimary: Fo,
179
- colorTextToneOnToneSecondary: Ro,
180
- colorTextToneOnToneTertiary: _o,
181
- colorBackgroundPrimary: wo,
182
- colorBackgroundSecondary: Qo,
183
- colorBackgroundOnImage: Xo,
184
- colorBackgroundPrimaryNegative: Uo,
185
- colorBackgroundSecondaryNegative: jo,
186
- colorBackgroundOnImageNegative: qo,
187
- colorBackgroundInteractivePrimary: zo,
188
- colorBackgroundInteractivePrimaryHover: Jo,
189
- colorBackgroundInteractivePrimaryActive: Ko,
87
+ colorBackgroundStatusInfoStrong: ro,
88
+ colorBackgroundStatusSuccessMedium: oo,
89
+ colorBackgroundStatusSuccessStrong: eo,
90
+ colorBackgroundStatusWarningMedium: uo,
91
+ colorBackgroundStatusWarningStrong: io,
92
+ colorBackgroundStatusErrorMedium: co,
93
+ colorBackgroundStatusErrorStrong: ao,
94
+ colorBackgroundStatusNeutral: lo,
95
+ colorBackgroundStatusSpecial: po,
96
+ colorBackgroundStatusAttention: vo,
97
+ colorBackgroundStatusBlackFriday: go,
98
+ colorBackgroundStatusSuccessStrongNegative: to,
99
+ colorBackgroundStatusWarningStrongNegative: so,
100
+ colorBackgroundStatusErrorStrongNegative: no,
101
+ colorBackgroundToneOnTonePrimary: Bo,
102
+ colorBackgroundToneOnToneSecondary: fo,
103
+ colorBackgroundToneOnToneTertiary: So,
104
+ colorBackgroundToneOnToneQuaternary: Co,
105
+ colorBorderWeak: mo,
106
+ colorBorderMedium: Io,
107
+ colorBorderStrong: xo,
108
+ colorBorderWeakNegative: No,
109
+ colorBorderMediumNegative: To,
110
+ colorBorderStrongNegative: ko,
111
+ colorBorderInteractivePrimary: $o,
112
+ colorBorderInteractivePrimaryHover: bo,
113
+ colorBorderInteractivePrimaryActive: Eo,
114
+ colorBorderInteractiveFocus: yo,
115
+ colorBorderInteractiveExpressive: Ho,
116
+ colorBorderInteractiveSubtle: ho,
117
+ colorBorderInteractiveSubtleHover: Do,
118
+ colorBorderInteractiveSelected: Mo,
119
+ colorBorderInteractivePrimaryNegative: Po,
120
+ colorBorderInteractivePrimaryHoverNegative: Oo,
121
+ colorBorderInteractivePrimaryActiveNegative: Ao,
122
+ colorBorderInteractiveSubtleNegative: Wo,
123
+ colorBorderInteractiveSubtleHoverNegative: Lo,
124
+ colorBorderStatusError: Fo,
125
+ colorBorderStatusWarning: _o,
126
+ colorBorderStatusInfo: wo,
127
+ colorBorderStatusSuccess: Uo,
128
+ colorBorderStatusErrorNegative: Ro,
129
+ colorBorderStatusSuccessNegative: Qo
130
+ }, Xo = "#29003e", qo = "#990ae3", Go = "#f4e0ff", zo = "#4f4741", Jo = "#ede1d8", Ko = "#f9f1ec", Vo = "#202022", Yo = "#ffffff", Zo = "rgba(0, 0, 0, 0.84)", re = "rgba(0, 0, 0, 0.62)", oe = "rgba(0, 0, 0, 0.44)", ee = "rgba(255, 255, 255, 0.95)", te = "rgba(255, 255, 255, 0.66)", ce = "rgba(255, 255, 255, 0.37)", ae = "#8c07d0", ne = "#6d02a3", ue = "#4e0174", ie = "#ffffff", se = "#4e0174", le = "#e4b6fb", pe = "#f4e0ff", ve = "#faf0ff", ge = "#ffffff", de = "#ffffff", Be = "#ffffff", fe = "#29003e", Se = "#ffffff", Ce = "#29003e", Ie = "#ffffff", Te = "#990ae3", xe = "#990ae3", ke = "#980233", me = "#ff80ab", Ne = "#e4175c", ye = "#fb4885", $e = "#02562b", Pe = "#3dbf7c", be = "#018842", Ee = "#6a4102", Oe = "#a86602", Ae = "#f39200", He = "#014d80", Me = "#0078cb", he = "rgba(0, 0, 0, 0.71)", We = "#4e0174", De = "#ffffff", Le = "#ffffff", Fe = "#f4e0ff", Re = "#29003e", _e = "#4f4741", we = "#ffffff", Ue = "#1f002e", Qe = "#f5f5fa", je = "#29003e", Xe = "rgba(255, 255, 255, 0.84)", qe = "rgba(0, 0, 0, 0.71)", Ge = "#e8f6ff", ze = "#4e0174", Je = "#6d02a3", Ke = "#8c07d0", Ve = "#f4e0ff", Ye = "#e4b6fb", Ze = "#d58df9", rt = "#990ae3", ot = "#6d02a3", et = "#4e0174", tt = "#990ae3", ct = "#c461f7", at = "#d58df9", nt = "rgba(0, 0, 0, 0.1)", ut = "rgba(255, 255, 255, 0.11)", it = "#f4e0ff", st = "#4e0174", lt = "#e4b6fb", pt = "#6d02a3", vt = "rgba(0, 0, 0, 0.05)", gt = "rgba(255, 255, 255, 0.16)", dt = "rgba(0, 0, 0, 0.05)", Bt = "rgba(255, 255, 255, 0.11)", ft = "#e4175c", St = "#c00543", Ct = "#980233", It = "#caeaff", Tt = "#3694d3", xt = "#c5efd9", kt = "#1fa15e", mt = "#3dbf7c", Nt = "#ffdde8", yt = "#fb4885", $t = "#ff80ab", Pt = "#ffe1b3", bt = "#cc7a00", Et = "#f39200", Ot = "#d6d6dd", At = "#f4e0ff", Ht = "#6d02a3", Mt = "#202022", ht = "#29003e", Wt = "#f4e0ff", Dt = "#ede1d8", Lt = "#f9f1ec", Ft = "rgba(0, 0, 0, 0.33)", Rt = "rgba(255, 255, 255, 0.29)", _t = "rgba(0, 0, 0, 0.54)", wt = "rgba(255, 255, 255, 0.46)", Ut = "rgba(0, 0, 0, 0.16)", Qt = "rgba(255, 255, 255, 0.16)", jt = "#b12df4", Xt = "#8c07d0", qt = "#e4b6fb", Gt = "#6d02a3", zt = "#4e0174", Jt = "#f4e0ff", Kt = "#faf0ff", Vt = "#990ae3", Yt = "#990ae3", Zt = "rgba(0, 0, 0, 0.44)", rc = "rgba(255, 255, 255, 0.46)", oc = "#6d02a3", ec = "#c461f7", tc = "#e4175c", cc = "#fb4885", ac = "#cc7a00", nc = "#0078cb", uc = "#018842", ic = "#1fa15e", sc = {
131
+ colorBrandDeepPurple: Xo,
132
+ colorBrandCorePurple: qo,
133
+ colorBrandLightPurple: Go,
134
+ colorBrandDeepBeige: zo,
135
+ colorBrandBeige: Jo,
136
+ colorBrandLightBeige: Ko,
137
+ colorBrandOffBlack: Vo,
138
+ colorBrandWhite: Yo,
139
+ colorTextDefault: Zo,
140
+ colorTextMedium: re,
141
+ colorTextWeak: oe,
142
+ colorTextDefaultNegative: ee,
143
+ colorTextMediumNegative: te,
144
+ colorTextWeakNegative: ce,
145
+ colorTextInteractivePrimary: ae,
146
+ colorTextInteractivePrimaryHover: ne,
147
+ colorTextInteractivePrimaryActive: ue,
148
+ colorTextInteractiveOnPrimary: ie,
149
+ colorTextInteractiveOnExpressive: ge,
150
+ colorTextInteractiveOnExpressiveHover: Be,
151
+ colorTextInteractiveOnExpressiveActive: Se,
152
+ colorTextInteractiveOnDestructive: Ie,
153
+ colorTextInteractiveSelected: Te,
154
+ colorTextInteractivePrimaryNegative: le,
155
+ colorTextInteractivePrimaryHoverNegative: pe,
156
+ colorTextInteractivePrimaryActiveNegative: ve,
157
+ colorTextInteractiveOnPrimaryNegative: se,
158
+ colorTextInteractiveOnExpressiveNegative: de,
159
+ colorTextInteractiveOnExpressiveHoverNegative: fe,
160
+ colorTextInteractiveOnExpressiveActiveNegative: Ce,
161
+ colorTextStatusInfoMedium: Me,
162
+ colorTextStatusInfoStrong: He,
163
+ colorTextStatusSuccessMedium: be,
164
+ colorTextStatusSuccessStrong: $e,
165
+ colorTextStatusWarningMedium: Oe,
166
+ colorTextStatusWarningStrong: Ee,
167
+ colorTextStatusErrorMedium: Ne,
168
+ colorTextStatusErrorStrong: ke,
169
+ colorTextStatusNeutral: he,
170
+ colorTextStatusSpecial: We,
171
+ colorTextStatusAttention: De,
172
+ colorTextStatusDiscount: xe,
173
+ colorTextStatusBlackFriday: Le,
174
+ colorTextStatusSuccessStrongNegative: Pe,
175
+ colorTextStatusErrorMediumNegative: ye,
176
+ colorTextStatusErrorStrongNegative: me,
177
+ colorTextStatusWarningMediumNegative: Ae,
178
+ colorTextToneOnTonePrimary: Fe,
179
+ colorTextToneOnToneSecondary: Re,
180
+ colorTextToneOnToneTertiary: _e,
181
+ colorBackgroundPrimary: we,
182
+ colorBackgroundSecondary: Qe,
183
+ colorBackgroundOnImage: Xe,
184
+ colorBackgroundPrimaryNegative: Ue,
185
+ colorBackgroundSecondaryNegative: je,
186
+ colorBackgroundOnImageNegative: qe,
187
+ colorBackgroundInteractivePrimary: ze,
188
+ colorBackgroundInteractivePrimaryHover: Je,
189
+ colorBackgroundInteractivePrimaryActive: Ke,
190
190
  colorBackgroundInteractiveExpressive: rt,
191
- colorBackgroundInteractiveExpressiveHover: et,
192
- colorBackgroundInteractiveExpressiveActive: ot,
191
+ colorBackgroundInteractiveExpressiveHover: ot,
192
+ colorBackgroundInteractiveExpressiveActive: et,
193
193
  colorBackgroundInteractiveTransparentHover: it,
194
194
  colorBackgroundInteractiveTransparentActive: lt,
195
195
  colorBackgroundInteractiveDisabled: nt,
@@ -198,10 +198,10 @@ const y = "#f4e0ff", $ = "#c461f7", P = "#29003e", b = "#ede1d8", E = "#4f4741",
198
198
  colorBackgroundInteractiveDestructive: ft,
199
199
  colorBackgroundInteractiveDestructiveHover: St,
200
200
  colorBackgroundInteractiveDestructiveActive: Ct,
201
- colorBackgroundInteractiveAutoFill: Go,
202
- colorBackgroundInteractivePrimaryNegative: Vo,
203
- colorBackgroundInteractivePrimaryHoverNegative: Yo,
204
- colorBackgroundInteractivePrimaryActiveNegative: Zo,
201
+ colorBackgroundInteractiveAutoFill: Ge,
202
+ colorBackgroundInteractivePrimaryNegative: Ve,
203
+ colorBackgroundInteractivePrimaryHoverNegative: Ye,
204
+ colorBackgroundInteractivePrimaryActiveNegative: Ze,
205
205
  colorBackgroundInteractiveExpressiveNegative: tt,
206
206
  colorBackgroundInteractiveExpressiveHoverNegative: ct,
207
207
  colorBackgroundInteractiveExpressiveActiveNegative: at,
@@ -241,13 +241,13 @@ const y = "#f4e0ff", $ = "#c461f7", P = "#29003e", b = "#ede1d8", E = "#4f4741",
241
241
  colorBorderInteractiveFocus: jt,
242
242
  colorBorderInteractiveExpressive: Vt,
243
243
  colorBorderInteractiveSubtle: Zt,
244
- colorBorderInteractiveSubtleHover: ec,
244
+ colorBorderInteractiveSubtleHover: oc,
245
245
  colorBorderInteractiveSelected: Yt,
246
246
  colorBorderInteractivePrimaryNegative: qt,
247
247
  colorBorderInteractivePrimaryHoverNegative: Jt,
248
248
  colorBorderInteractivePrimaryActiveNegative: Kt,
249
249
  colorBorderInteractiveSubtleNegative: rc,
250
- colorBorderInteractiveSubtleHoverNegative: oc,
250
+ colorBorderInteractiveSubtleHoverNegative: ec,
251
251
  colorBorderStatusError: tc,
252
252
  colorBorderStatusWarning: ac,
253
253
  colorBorderStatusInfo: nc,
@@ -256,69 +256,69 @@ const y = "#f4e0ff", $ = "#c461f7", P = "#29003e", b = "#ede1d8", E = "#4f4741",
256
256
  colorBorderStatusSuccessNegative: ic
257
257
  }, B = {
258
258
  light: sc,
259
- dark: Qe
259
+ dark: jo
260
260
  }, lc = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), pc = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), vc = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), gc = /[^\p{L}\d]+/giu, f = "$1\0$2", S = "";
261
- function C(e) {
262
- let r = e.trim();
261
+ function C(o) {
262
+ let r = o.trim();
263
263
  r = r.replace(lc, f).replace(pc, f), r = r.replace(gc, "\0");
264
- let o = 0, t = r.length;
265
- for (; r.charAt(o) === "\0"; )
266
- o++;
267
- if (o === t)
264
+ let e = 0, t = r.length;
265
+ for (; r.charAt(e) === "\0"; )
266
+ e++;
267
+ if (e === t)
268
268
  return [];
269
269
  for (; r.charAt(t - 1) === "\0"; )
270
270
  t--;
271
- return r.slice(o, t).split(/\0/g);
271
+ return r.slice(e, t).split(/\0/g);
272
272
  }
273
- function dc(e) {
274
- const r = C(e);
275
- for (let o = 0; o < r.length; o++) {
276
- const t = r[o], c = vc.exec(t);
273
+ function dc(o) {
274
+ const r = C(o);
275
+ for (let e = 0; e < r.length; e++) {
276
+ const t = r[e], c = vc.exec(t);
277
277
  if (c) {
278
278
  const a = c.index + (c[1] ?? c[2]).length;
279
- r.splice(o, 1, t.slice(0, a), t.slice(a));
279
+ r.splice(e, 1, t.slice(0, a), t.slice(a));
280
280
  }
281
281
  }
282
282
  return r;
283
283
  }
284
- function Bc(e, r) {
285
- const [o, t, c] = Cc(e, r);
286
- return o + t.map(Sc(r?.locale)).join(r?.delimiter ?? " ") + c;
284
+ function Bc(o, r) {
285
+ const [e, t, c] = Cc(o, r);
286
+ return e + t.map(Sc(r?.locale)).join(r?.delimiter ?? " ") + c;
287
287
  }
288
- function fc(e, r) {
289
- return Bc(e, { delimiter: "-", ...r });
288
+ function fc(o, r) {
289
+ return Bc(o, { delimiter: "-", ...r });
290
290
  }
291
- function Sc(e) {
292
- return e === !1 ? (r) => r.toLowerCase() : (r) => r.toLocaleLowerCase(e);
291
+ function Sc(o) {
292
+ return o === !1 ? (r) => r.toLowerCase() : (r) => r.toLocaleLowerCase(o);
293
293
  }
294
- function Cc(e, r = {}) {
295
- const o = r.split ?? (r.separateNumbers ? dc : C), t = r.prefixCharacters ?? S, c = r.suffixCharacters ?? S;
296
- let a = 0, n = e.length;
297
- for (; a < e.length; ) {
298
- const i = e.charAt(a);
294
+ function Cc(o, r = {}) {
295
+ const e = r.split ?? (r.separateNumbers ? dc : C), t = r.prefixCharacters ?? S, c = r.suffixCharacters ?? S;
296
+ let a = 0, n = o.length;
297
+ for (; a < o.length; ) {
298
+ const i = o.charAt(a);
299
299
  if (!t.includes(i))
300
300
  break;
301
301
  a++;
302
302
  }
303
303
  for (; n > a; ) {
304
- const i = n - 1, s = e.charAt(i);
304
+ const i = n - 1, s = o.charAt(i);
305
305
  if (!c.includes(s))
306
306
  break;
307
307
  n = i;
308
308
  }
309
309
  return [
310
- e.slice(0, a),
311
- o(e.slice(a, n)),
312
- e.slice(n)
310
+ o.slice(0, a),
311
+ e(o.slice(a, n)),
312
+ o.slice(n)
313
313
  ];
314
314
  }
315
315
  const Ic = ({
316
- theme: e = B,
316
+ theme: o = B,
317
317
  cssVariablesSelector: r,
318
- currentColorScheme: o
318
+ currentColorScheme: e
319
319
  }) => {
320
320
  p(() => {
321
- o && Object.entries(e?.[o] ?? B[o]).forEach(
321
+ e && Object.entries(o?.[e] ?? B[e]).forEach(
322
322
  ([t, c]) => {
323
323
  ((r ? document.querySelector(r) : null) ?? document.documentElement).style.setProperty(
324
324
  `--purpur-${fc(t)}`,
@@ -326,7 +326,7 @@ const Ic = ({
326
326
  );
327
327
  }
328
328
  );
329
- }, [e, r, o]);
329
+ }, [o, r, e]);
330
330
  }, I = k({
331
331
  colorScheme: "light",
332
332
  currentColorScheme: "light",
@@ -334,9 +334,9 @@ const Ic = ({
334
334
  },
335
335
  options: {}
336
336
  }), mc = ({
337
- cssVariablesSelector: e,
337
+ cssVariablesSelector: o,
338
338
  forceColorScheme: r,
339
- theme: o,
339
+ theme: e,
340
340
  children: t,
341
341
  options: c = {},
342
342
  ...a
@@ -360,7 +360,7 @@ const Ic = ({
360
360
  return u.addEventListener("change", v), () => {
361
361
  u.removeEventListener("change", v);
362
362
  };
363
- }, [n, r]), Ic({ theme: o, cssVariablesSelector: e, currentColorScheme: s });
363
+ }, [n, r]), Ic({ theme: e, cssVariablesSelector: o, currentColorScheme: s });
364
364
  const T = m(
365
365
  () => ({
366
366
  colorScheme: n,
@@ -373,13 +373,13 @@ const Ic = ({
373
373
  );
374
374
  return /* @__PURE__ */ g(I.Provider, { value: { ...T, options: c }, children: /* @__PURE__ */ g("div", { className: s, ...a, children: t }) });
375
375
  }, Tc = () => {
376
- const e = N(I);
377
- if (!e)
376
+ const o = N(I);
377
+ if (!o)
378
378
  throw new Error("useTheme must be used within a ThemeProvider");
379
- return e;
379
+ return o;
380
380
  }, Nc = () => {
381
- const { colorScheme: e, setColorScheme: r } = Tc();
382
- return [e, r];
381
+ const { colorScheme: o, setColorScheme: r } = Tc();
382
+ return [o, r];
383
383
  };
384
384
  export {
385
385
  mc as ThemeProvider,