@purpurds/theme 8.14.0 → 8.16.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.
@@ -1,5 +1,5 @@
1
- Start time: Wed Jan 14 2026 10:05:44 GMT+0000 (Coordinated Universal Time)
2
- Invoking "/usr/bin/tar -x -m -f /opt/actions-runner/_work/teliasaurus/teliasaurus/purpur/common/temp/build-cache/ci_build/@purpurds/theme/c0c53d611bb5864bd3af4d06e538322290b48cbb"
1
+ Start time: Tue Jan 20 2026 09:02:41 GMT+0000 (Coordinated Universal Time)
2
+ Invoking "/usr/bin/tar -x -m -f /opt/actions-runner/_work/teliasaurus/teliasaurus/purpur/common/temp/build-cache/ci_build/@purpurds/theme/8879e968e192be6f6363d989899275606f0e94bd"
3
3
 
4
4
  ======= BEGIN PROCESS INPUT ======
5
5
 
@@ -12,13 +12,13 @@ Rush Multi-Project Build Tool 5.150.0 - Node.js 22.17.1 (LTS)
12
12
  Generated types written to theme-props.ts
13
13
  vite v7.2.4 building client environment for production...
14
14
  transforming...
15
- 17 modules transformed.
15
+ 26 modules transformed.
16
16
  rendering chunks...
17
17
 
18
18
  [vite:dts] Start generate declaration files...
19
19
  computing gzip size...
20
- dist/theme.cjs.js 17.65 kB │ gzip: 3.72 kB │ map: 67.52 kB
21
- [vite:dts] Declaration files built in 2010ms.
20
+ dist/theme.cjs.js 15.59 kB │ gzip: 4.09 kB │ map: 90.33 kB
21
+ [vite:dts] Declaration files built in 2285ms.
22
22
 
23
- dist/theme.es.js 19.88 kB │ gzip: 3.96 kB │ map: 68.95 kB
24
- ✓ built in 2.39s
23
+ dist/theme.es.js 18.20 kB │ gzip: 4.37 kB │ map: 92.02 kB
24
+ ✓ built in 2.65s
@@ -12,13 +12,13 @@
12
12
  {"kind":"O","text":"Generated types written to theme-props.ts\n"}
13
13
  {"kind":"O","text":"\u001b[36mvite v7.2.4 \u001b[32mbuilding client environment for production...\u001b[36m\u001b[39m\n"}
14
14
  {"kind":"O","text":"transforming...\n"}
15
- {"kind":"O","text":"\u001b[32m✓\u001b[39m 17 modules transformed.\n"}
15
+ {"kind":"O","text":"\u001b[32m✓\u001b[39m 26 modules transformed.\n"}
16
16
  {"kind":"O","text":"rendering chunks...\n"}
17
17
  {"kind":"O","text":"\u001b[32m\n"}
18
18
  {"kind":"O","text":"\u001b[36m[vite:dts]\u001b[32m Start generate declaration files...\u001b[39m\n"}
19
19
  {"kind":"O","text":"computing gzip size...\n"}
20
- {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.cjs.js \u001b[39m\u001b[1m\u001b[2m17.65 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 3.72 kB\u001b[22m\u001b[2m │ map: 67.52 kB\u001b[22m\n"}
21
- {"kind":"O","text":"\u001b[32m\u001b[36m[vite:dts]\u001b[32m Declaration files built in 2010ms.\n"}
20
+ {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.cjs.js \u001b[39m\u001b[1m\u001b[2m15.59 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.09 kB\u001b[22m\u001b[2m │ map: 90.33 kB\u001b[22m\n"}
21
+ {"kind":"O","text":"\u001b[32m\u001b[36m[vite:dts]\u001b[32m Declaration files built in 2285ms.\n"}
22
22
  {"kind":"O","text":"\u001b[39m\n"}
23
- {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.es.js \u001b[39m\u001b[1m\u001b[2m19.88 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 3.96 kB\u001b[22m\u001b[2m │ map: 68.95 kB\u001b[22m\n"}
24
- {"kind":"O","text":"\u001b[32m✓ built in 2.39s\u001b[39m\n"}
23
+ {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.es.js \u001b[39m\u001b[1m\u001b[2m18.20 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.37 kB\u001b[22m\u001b[2m │ map: 92.02 kB\u001b[22m\n"}
24
+ {"kind":"O","text":"\u001b[32m✓ built in 2.65s\u001b[39m\n"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "nonCachedDurationMs": 6821.007277000001
2
+ "nonCachedDurationMs": 6127.279367000001
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "nonCachedDurationMs": 1155.4986950000002
2
+ "nonCachedDurationMs": 1121.9535849999993
3
3
  }
package/dist/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  Name: @purpurds/tokens
2
- Version: 8.13.0
2
+ Version: 8.15.0
3
3
  License: AGPL-3.0-only
4
4
  Private: false
5
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"telia-dark.d.ts","sourceRoot":"","sources":["../src/telia-dark.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0IK,CAAC"}
1
+ {"version":3,"file":"telia-dark.d.ts","sourceRoot":"","sources":["../src/telia-dark.ts"],"names":[],"mappings":"AAmIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJK,CAAC"}
package/dist/theme.cjs.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),p=require("react"),C={colorBrandDeepPurple:"var(--purpur-color-purple-100)",colorBrandCorePurple:"var(--purpur-color-purple-400)",colorBrandLightPurple:"var(--purpur-color-purple-900)",colorBrandDeepBeige:"var(--purpur-color-beige-100)",colorBrandBeige:"var(--purpur-color-beige-700)",colorBrandLightBeige:"var(--purpur-color-beige-800)",colorBrandOffBlack:"var(--purpur-color-functional-white)",colorBrandWhite:"var(--purpur-color-gray-900)",colorTextDefault:"var(--purpur-color-transparent-white-950)",colorTextMedium:"var(--purpur-color-transparent-white-700)",colorTextWeak:"var(--purpur-color-transparent-white-400)",colorTextDefaultNegative:"var(--purpur-color-transparent-black-800)",colorTextMediumNegative:"var(--purpur-color-transparent-black-500)",colorTextWeakNegative:"var(--purpur-color-transparent-black-400)",colorTextInteractivePrimary:"var(--purpur-color-purple-100)",colorTextInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorTextInteractivePrimaryActive:"var(--purpur-color-purple-300)",colorTextInteractiveOnPrimary:"var(--purpur-color-purple-800)",colorTextInteractiveOnExpressive:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveHover:"var(--purpur-color-purple-900)",colorTextInteractiveOnExpressiveActive:"var(--purpur-color-purple-900)",colorTextInteractiveOnDestructive:"var(--purpur-color-functional-white)",colorTextInteractiveSelected:"var(--purpur-color-purple-300)",colorTextInteractivePrimaryNegative:"var(--purpur-color-purple-700)",colorTextInteractivePrimaryHoverNegative:"var(--purpur-color-purple-800)",colorTextInteractivePrimaryActiveNegative:"var(--purpur-color-purple-900)",colorTextInteractiveOnPrimaryNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveHoverNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveActiveNegative:"var(--purpur-color-functional-white)",colorTextStatusInfoMedium:"var(--purpur-color-blue-400)",colorTextStatusInfoStrong:"var(--purpur-color-blue-200)",colorTextStatusSuccessMedium:"var(--purpur-color-green-400)",colorTextStatusSuccessStrong:"var(--purpur-color-green-200)",colorTextStatusWarningMedium:"var(--purpur-color-orange-300)",colorTextStatusWarningStrong:"var(--purpur-color-orange-200)",colorTextStatusErrorMedium:"var(--purpur-color-red-400)",colorTextStatusErrorStrong:"var(--purpur-color-red-200)",colorTextStatusNeutral:"var(--purpur-color-functional-white)",colorTextStatusSpecial:"var(--purpur-color-functional-white)",colorTextStatusAttention:"var(--purpur-color-purple-800)",colorTextStatusDiscount:"var(--purpur-color-purple-300)",colorTextStatusBlackFriday:"var(--purpur-color-gray-900)",colorTextStatusSuccessStrongNegative:"var(--purpur-color-green-700)",colorTextStatusErrorMediumNegative:"var(--purpur-color-red-500)",colorTextStatusErrorStrongNegative:"var(--purpur-color-red-700)",colorTextStatusWarningMediumNegative:"var(--purpur-color-orange-500)",colorTextToneOnTonePrimary:"var(--purpur-color-purple-900)",colorTextToneOnToneSecondary:"var(--purpur-color-purple-100)",colorTextToneOnToneTertiary:"var(--purpur-color-functional-white)",colorBackgroundPrimary:"var(--purpur-color-gray-950)",colorBackgroundSecondary:"var(--purpur-color-gray-900)",colorBackgroundOnImage:"var(--purpur-color-transparent-black-700)",colorBackgroundPrimaryNegative:"var(--purpur-color-functional-white)",colorBackgroundSecondaryNegative:"var(--purpur-color-gray-50)",colorBackgroundOnImageNegative:"var(--purpur-color-transparent-white-850)",colorBackgroundInteractivePrimary:"var(--purpur-color-purple-100)",colorBackgroundInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorBackgroundInteractivePrimaryActive:"var(--purpur-color-purple-300)",colorBackgroundInteractiveExpressive:"var(--purpur-color-purple-550)",colorBackgroundInteractiveExpressiveHover:"var(--purpur-color-purple-400)",colorBackgroundInteractiveExpressiveActive:"var(--purpur-color-purple-300)",colorBackgroundInteractiveTransparentHover:"var(--purpur-color-purple-800)",colorBackgroundInteractiveTransparentActive:"var(--purpur-color-purple-700)",colorBackgroundInteractiveDisabled:"var(--purpur-color-transparent-white-100)",colorBackgroundInteractiveReadOnly:"var(--purpur-color-transparent-white-50)",colorBackgroundInteractiveInactive:"var(--purpur-color-transparent-white-150)",colorBackgroundInteractiveDestructive:"var(--purpur-color-red-500)",colorBackgroundInteractiveDestructiveHover:"var(--purpur-color-red-600)",colorBackgroundInteractiveDestructiveActive:"var(--purpur-color-red-700)",colorBackgroundInteractiveAutoFill:"var(--purpur-color-blue-800)",colorBackgroundInteractivePrimaryNegative:"var(--purpur-color-purple-800)",colorBackgroundInteractivePrimaryHoverNegative:"var(--purpur-color-purple-700)",colorBackgroundInteractivePrimaryActiveNegative:"var(--purpur-color-purple-600)",colorBackgroundInteractiveExpressiveNegative:"var(--purpur-color-purple-550)",colorBackgroundInteractiveExpressiveHoverNegative:"var(--purpur-color-purple-700)",colorBackgroundInteractiveExpressiveActiveNegative:"var(--purpur-color-purple-800)",colorBackgroundInteractiveTransparentHoverNegative:"var(--purpur-color-purple-200)",colorBackgroundInteractiveTransparentActiveNegative:"var(--purpur-color-purple-300)",colorBackgroundInteractiveDisabledNegative:"var(--purpur-color-transparent-black-100)",colorBackgroundInteractiveInactiveNegative:"var(--purpur-color-transparent-black-50)",colorBackgroundInteractiveReadOnlyNegative:"var(--purpur-color-transparent-black-50)",colorBackgroundStatusInfoMedium:"var(--purpur-color-blue-800)",colorBackgroundStatusInfoStrong:"var(--purpur-color-blue-300)",colorBackgroundStatusSuccessMedium:"var(--purpur-color-green-800)",colorBackgroundStatusSuccessStrong:"var(--purpur-color-green-300)",colorBackgroundStatusWarningMedium:"var(--purpur-color-orange-800)",colorBackgroundStatusWarningStrong:"var(--purpur-color-orange-300)",colorBackgroundStatusErrorMedium:"var(--purpur-color-red-800)",colorBackgroundStatusErrorStrong:"var(--purpur-color-red-300)",colorBackgroundStatusNeutral:"var(--purpur-color-gray-800)",colorBackgroundStatusSpecial:"var(--purpur-color-purple-700)",colorBackgroundStatusAttention:"var(--purpur-color-purple-100)",colorBackgroundStatusBlackFriday:"var(--purpur-color-functional-white)",colorBackgroundStatusSuccessStrongNegative:"var(--purpur-color-green-400)",colorBackgroundStatusWarningStrongNegative:"var(--purpur-color-orange-300)",colorBackgroundStatusErrorStrongNegative:"var(--purpur-color-red-400)",colorBackgroundToneOnTonePrimary:"var(--purpur-color-purple-100)",colorBackgroundToneOnToneSecondary:"var(--purpur-color-purple-900)",colorBackgroundToneOnToneTertiary:"var(--purpur-color-beige-700)",colorBackgroundToneOnToneQuaternary:"var(--purpur-color-beige-900)",colorBorderWeak:"var(--purpur-color-transparent-white-150)",colorBorderMedium:"var(--purpur-color-transparent-white-300)",colorBorderStrong:"var(--purpur-color-transparent-white-500)",colorBorderWeakNegative:"var(--purpur-color-transparent-black-150)",colorBorderMediumNegative:"var(--purpur-color-transparent-black-300)",colorBorderStrongNegative:"var(--purpur-color-transparent-black-500)",colorBorderInteractivePrimary:"var(--purpur-color-purple-100)",colorBorderInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorBorderInteractivePrimaryActive:"var(--purpur-color-purple-200)",colorBorderInteractiveFocus:"var(--purpur-color-purple-400)",colorBorderInteractiveExpressive:"var(--purpur-color-purple-550)",colorBorderInteractiveSubtle:"var(--purpur-color-transparent-white-400)",colorBorderInteractiveSubtleHover:"var(--purpur-color-purple-200)",colorBorderInteractiveSelected:"var(--purpur-color-purple-300)",colorBorderInteractivePrimaryNegative:"var(--purpur-color-purple-700)",colorBorderInteractivePrimaryHoverNegative:"var(--purpur-color-purple-800)",colorBorderInteractivePrimaryActiveNegative:"var(--purpur-color-purple-900)",colorBorderInteractiveSubtleNegative:"var(--purpur-color-transparent-black-400)",colorBorderInteractiveSubtleHoverNegative:"var(--purpur-color-purple-700)",colorBorderStatusError:"var(--purpur-color-red-400)",colorBorderStatusWarning:"var(--purpur-color-orange-300)",colorBorderStatusInfo:"var(--purpur-color-blue-400)",colorBorderStatusSuccess:"var(--purpur-color-green-400)",colorBorderStatusErrorNegative:"var(--purpur-color-red-500)",colorBorderStatusSuccessNegative:"var(--purpur-color-green-500)"},N="#29003e",y="#990ae3",P="#f4e0ff",b="#4f4741",E="#ede1d8",h="#f9f1ec",O="#202022",A="#ffffff",H="rgba(0, 0, 0, 0.84)",M="rgba(0, 0, 0, 0.62)",w="rgba(0, 0, 0, 0.44)",W="rgba(255, 255, 255, 0.95)",D="rgba(255, 255, 255, 0.66)",L="rgba(255, 255, 255, 0.37)",R="#6d02a3",F="#4e0174",_="#29003e",U="#ffffff",j="#4e0174",Q="#f4e0ff",q="#e4b6fb",X="#e4b6fb",$="#ffffff",G="#ffffff",z="#ffffff",J="#29003e",K="#ffffff",V="#29003e",Y="#ffffff",Z="#990ae3",rr="#990ae3",or="#980233",er="#ff80ab",tr="#e4175c",ar="#fb4885",cr="#02562b",ur="#3dbf7c",nr="#018842",lr="#6a4102",pr="#a86602",ir="#f39200",vr="#014d80",sr="#0078cb",gr="rgba(0, 0, 0, 0.71)",dr="#4e0174",Br="#ffffff",Sr="#ffffff",Tr="#f4e0ff",fr="#29003e",Ir="#4f4741",kr="#ffffff",xr="#1f002e",mr="#f5f5fa",Cr="#29003e",Nr="rgba(255, 255, 255, 0.84)",yr="rgba(0, 0, 0, 0.71)",Pr="#e8f6ff",br="#4e0174",Er="#6d02a3",hr="#8c07d0",Or="#f4e0ff",Ar="#e4b6fb",Hr="#d58df9",Mr="#990ae3",wr="#6d02a3",Wr="#4e0174",Dr="#990ae3",Lr="#c461f7",Rr="#d58df9",Fr="rgba(0, 0, 0, 0.1)",_r="rgba(255, 255, 255, 0.11)",Ur="#f4e0ff",jr="#4e0174",Qr="#e4b6fb",qr="#6d02a3",Xr="rgba(0, 0, 0, 0.05)",$r="rgba(255, 255, 255, 0.16)",Gr="rgba(0, 0, 0, 0.05)",zr="rgba(255, 255, 255, 0.11)",Jr="#e4175c",Kr="#c00543",Vr="#980233",Yr="#caeaff",Zr="#3694d3",ro="#c5efd9",oo="#1fa15e",eo="#3dbf7c",to="#ffdde8",ao="#fb4885",co="#ff80ab",uo="#ffe1b3",no="#cc7a00",lo="#f39200",po="#d6d6dd",io="#f4e0ff",vo="#6d02a3",so="#202022",go="#29003e",Bo="#f4e0ff",So="#ede1d8",To="#f9f1ec",fo="rgba(0, 0, 0, 0.33)",Io="rgba(255, 255, 255, 0.29)",ko="rgba(0, 0, 0, 0.54)",xo="rgba(255, 255, 255, 0.46)",mo="rgba(0, 0, 0, 0.16)",Co="rgba(255, 255, 255, 0.16)",No="#b12df4",yo="#6d02a3",Po="#f4e0ff",bo="#4e0174",Eo="#29003e",ho="#e4b6fb",Oo="#e4b6fb",Ao="#990ae3",Ho="#990ae3",Mo="rgba(0, 0, 0, 0.44)",wo="rgba(255, 255, 255, 0.46)",Wo="#6d02a3",Do="#c461f7",Lo="#e4175c",Ro="#fb4885",Fo="#cc7a00",_o="#0078cb",Uo="#018842",jo="#1fa15e",Qo={colorBrandDeepPurple:N,colorBrandCorePurple:y,colorBrandLightPurple:P,colorBrandDeepBeige:b,colorBrandBeige:E,colorBrandLightBeige:h,colorBrandOffBlack:O,colorBrandWhite:A,colorTextDefault:H,colorTextMedium:M,colorTextWeak:w,colorTextDefaultNegative:W,colorTextMediumNegative:D,colorTextWeakNegative:L,colorTextInteractivePrimary:R,colorTextInteractivePrimaryHover:F,colorTextInteractivePrimaryActive:_,colorTextInteractiveOnPrimary:U,colorTextInteractiveOnExpressive:$,colorTextInteractiveOnExpressiveHover:z,colorTextInteractiveOnExpressiveActive:K,colorTextInteractiveOnDestructive:Y,colorTextInteractiveSelected:Z,colorTextInteractivePrimaryNegative:Q,colorTextInteractivePrimaryHoverNegative:q,colorTextInteractivePrimaryActiveNegative:X,colorTextInteractiveOnPrimaryNegative:j,colorTextInteractiveOnExpressiveNegative:G,colorTextInteractiveOnExpressiveHoverNegative:J,colorTextInteractiveOnExpressiveActiveNegative:V,colorTextStatusInfoMedium:sr,colorTextStatusInfoStrong:vr,colorTextStatusSuccessMedium:nr,colorTextStatusSuccessStrong:cr,colorTextStatusWarningMedium:pr,colorTextStatusWarningStrong:lr,colorTextStatusErrorMedium:tr,colorTextStatusErrorStrong:or,colorTextStatusNeutral:gr,colorTextStatusSpecial:dr,colorTextStatusAttention:Br,colorTextStatusDiscount:rr,colorTextStatusBlackFriday:Sr,colorTextStatusSuccessStrongNegative:ur,colorTextStatusErrorMediumNegative:ar,colorTextStatusErrorStrongNegative:er,colorTextStatusWarningMediumNegative:ir,colorTextToneOnTonePrimary:Tr,colorTextToneOnToneSecondary:fr,colorTextToneOnToneTertiary:Ir,colorBackgroundPrimary:kr,colorBackgroundSecondary:mr,colorBackgroundOnImage:Nr,colorBackgroundPrimaryNegative:xr,colorBackgroundSecondaryNegative:Cr,colorBackgroundOnImageNegative:yr,colorBackgroundInteractivePrimary:br,colorBackgroundInteractivePrimaryHover:Er,colorBackgroundInteractivePrimaryActive:hr,colorBackgroundInteractiveExpressive:Mr,colorBackgroundInteractiveExpressiveHover:wr,colorBackgroundInteractiveExpressiveActive:Wr,colorBackgroundInteractiveTransparentHover:Ur,colorBackgroundInteractiveTransparentActive:Qr,colorBackgroundInteractiveDisabled:Fr,colorBackgroundInteractiveReadOnly:Gr,colorBackgroundInteractiveInactive:Xr,colorBackgroundInteractiveDestructive:Jr,colorBackgroundInteractiveDestructiveHover:Kr,colorBackgroundInteractiveDestructiveActive:Vr,colorBackgroundInteractiveAutoFill:Pr,colorBackgroundInteractivePrimaryNegative:Or,colorBackgroundInteractivePrimaryHoverNegative:Ar,colorBackgroundInteractivePrimaryActiveNegative:Hr,colorBackgroundInteractiveExpressiveNegative:Dr,colorBackgroundInteractiveExpressiveHoverNegative:Lr,colorBackgroundInteractiveExpressiveActiveNegative:Rr,colorBackgroundInteractiveTransparentHoverNegative:jr,colorBackgroundInteractiveTransparentActiveNegative:qr,colorBackgroundInteractiveDisabledNegative:_r,colorBackgroundInteractiveInactiveNegative:$r,colorBackgroundInteractiveReadOnlyNegative:zr,colorBackgroundStatusInfoMedium:Yr,colorBackgroundStatusInfoStrong:Zr,colorBackgroundStatusSuccessMedium:ro,colorBackgroundStatusSuccessStrong:oo,colorBackgroundStatusWarningMedium:uo,colorBackgroundStatusWarningStrong:no,colorBackgroundStatusErrorMedium:to,colorBackgroundStatusErrorStrong:ao,colorBackgroundStatusNeutral:po,colorBackgroundStatusSpecial:io,colorBackgroundStatusAttention:vo,colorBackgroundStatusBlackFriday:so,colorBackgroundStatusSuccessStrongNegative:eo,colorBackgroundStatusWarningStrongNegative:lo,colorBackgroundStatusErrorStrongNegative:co,colorBackgroundToneOnTonePrimary:go,colorBackgroundToneOnToneSecondary:Bo,colorBackgroundToneOnToneTertiary:So,colorBackgroundToneOnToneQuaternary:To,colorBorderWeak:mo,colorBorderMedium:fo,colorBorderStrong:ko,colorBorderWeakNegative:Co,colorBorderMediumNegative:Io,colorBorderStrongNegative:xo,colorBorderInteractivePrimary:yo,colorBorderInteractivePrimaryHover:bo,colorBorderInteractivePrimaryActive:Eo,colorBorderInteractiveFocus:No,colorBorderInteractiveExpressive:Ao,colorBorderInteractiveSubtle:Mo,colorBorderInteractiveSubtleHover:Wo,colorBorderInteractiveSelected:Ho,colorBorderInteractivePrimaryNegative:Po,colorBorderInteractivePrimaryHoverNegative:ho,colorBorderInteractivePrimaryActiveNegative:Oo,colorBorderInteractiveSubtleNegative:wo,colorBorderInteractiveSubtleHoverNegative:Do,colorBorderStatusError:Lo,colorBorderStatusWarning:Fo,colorBorderStatusInfo:_o,colorBorderStatusSuccess:Uo,colorBorderStatusErrorNegative:Ro,colorBorderStatusSuccessNegative:jo},s={light:Qo,dark:C},qo=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Xo=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),$o=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Go=/[^\p{L}\d]+/giu,B="$1\0$2",S="";function T(o){let r=o.trim();r=r.replace(qo,B).replace(Xo,B),r=r.replace(Go,"\0");let e=0,t=r.length;for(;r.charAt(e)==="\0";)e++;if(e===t)return[];for(;r.charAt(t-1)==="\0";)t--;return r.slice(e,t).split(/\0/g)}function zo(o){const r=T(o);for(let e=0;e<r.length;e++){const t=r[e],a=$o.exec(t);if(a){const c=a.index+(a[1]??a[2]).length;r.splice(e,1,t.slice(0,c),t.slice(c))}}return r}function Jo(o,r){const[e,t,a]=Yo(o,r);return e+t.map(Vo(r?.locale)).join(r?.delimiter??" ")+a}function Ko(o,r){return Jo(o,{delimiter:"-",...r})}function Vo(o){return o===!1?r=>r.toLowerCase():r=>r.toLocaleLowerCase(o)}function Yo(o,r={}){const e=r.split??(r.separateNumbers?zo:T),t=r.prefixCharacters??S,a=r.suffixCharacters??S;let c=0,u=o.length;for(;c<o.length;){const l=o.charAt(c);if(!t.includes(l))break;c++}for(;u>c;){const l=u-1,i=o.charAt(l);if(!a.includes(i))break;u=l}return[o.slice(0,c),e(o.slice(c,u)),o.slice(u)]}const f=({theme:o=s,cssVariablesSelector:r,currentColorScheme:e})=>{p.useEffect(()=>{e&&Object.entries(o?.[e]??s[e]).forEach(([t,a])=>{((r?document.querySelector(r):null)??document.documentElement).style.setProperty(`--purpur-${Ko(t)}`,a)})},[o,r,e])},I=p.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{}}),Zo=({cssVariablesSelector:o,forceColorScheme:r,theme:e,children:t,options:a={},...c})=>{const[u,l]=p.useState(r??"auto"),[i,v]=p.useState(r??"light");p.useEffect(()=>{if(r)l(r);else{const n=localStorage.getItem("colorScheme");n&&l(n)}},[r]),p.useEffect(()=>{const n=window.matchMedia("(prefers-color-scheme: dark)");v(u==="auto"?n.matches?"dark":"light":u);const g=m=>{!r&&u==="auto"&&v(m.matches?"dark":"light")};return n.addEventListener("change",g),()=>{n.removeEventListener("change",g)}},[u,r]),f({theme:e,cssVariablesSelector:o,currentColorScheme:i});const x=p.useMemo(()=>({colorScheme:u,currentColorScheme:i,setColorScheme:n=>{r||(l(n),localStorage.setItem("colorScheme",n))}}),[u,i,r]);return d.jsx(I.Provider,{value:{...x,options:a},children:d.jsx("div",{className:i,...c,children:t})})},k=()=>{const o=p.useContext(I);if(!o)throw new Error("useTheme must be used within a ThemeProvider");return o},re=()=>{const{currentColorScheme:o,setColorScheme:r}=k();return[o,r]};exports.ThemeProvider=Zo;exports.teliaTheme=s;exports.useApplyTheme=f;exports.useColorScheme=re;exports.useTheme=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),s=require("react"),m="#f4e0ff",N="#c461f7",y="#29003e",P="#ede1d8",$="#4f4741",b="#3b332d",E="#ffffff",O="#202022",A="rgba(255, 255, 255, 0.95)",h="rgba(255, 255, 255, 0.66)",H="rgba(255, 255, 255, 0.37)",M="rgba(0, 0, 0, 0.8)",W="rgba(0, 0, 0, 0.54)",D="rgba(0, 0, 0, 0.44)",L="#f4e0ff",R="#e4b6fb",F="#d58df9",_="#4e0174",w="#ffffff",U="#6d02a3",j="#4e0174",Q="#29003e",q="#ffffff",X="#ffffff",G="#29003e",z="#ffffff",J="#29003e",K="#ffffff",V="#ffffff",Y="#d58df9",Z="#d58df9",rr="#ffafc9",er="#980233",or="#fb4885",tr="#e4175c",cr="#79d9a7",ar="#02562b",nr="#1fa15e",ur="#f9bb5b",ir="#f39200",sr="#a86602",lr="#91cdf4",pr="#3694d3",vr="#ffffff",gr="#ffffff",dr="#4e0174",Br="#202022",fr="#29003e",Sr="#f4e0ff",Cr="#ffffff",Tr="#121212",Ir="#ffffff",xr="#202022",kr="#f5f5fa",mr="rgba(0, 0, 0, 0.71)",Nr="rgba(255, 255, 255, 0.84)",yr="#03385b",Pr="#f4e0ff",$r="#e4b6fb",br="#d58df9",Er="#4e0174",Or="#6d02a3",Ar="#8c07d0",hr="#990ae3",Hr="#c461f7",Mr="#d58df9",Wr="#990ae3",Dr="#6d02a3",Lr="#4e0174",Rr="rgba(255, 255, 255, 0.11)",Fr="rgba(0, 0, 0, 0.1)",_r="#4e0174",wr="#e4b6fb",Ur="#6d02a3",jr="#d58df9",Qr="rgba(255, 255, 255, 0.16)",qr="rgba(0, 0, 0, 0.05)",Xr="rgba(255, 255, 255, 0.07)",Gr="rgba(0, 0, 0, 0.05)",zr="#e4175c",Jr="#c00543",Kr="#980233",Vr="#03385b",Yr="#62b2e7",Zr="#003e1e",re="#3dbf7c",ee="#1fa15e",oe="#700025",te="#ff80ab",ce="#fb4885",ae="#4c2f03",ne="#f39200",ue="#f39200",ie="#353537",se="#6d02a3",le="#f4e0ff",pe="#ffffff",ve="#f4e0ff",ge="#29003e",de="#4f4741",Be="#2d2824",fe="rgba(255, 255, 255, 0.29)",Se="rgba(0, 0, 0, 0.33)",Ce="rgba(255, 255, 255, 0.46)",Te="rgba(0, 0, 0, 0.54)",Ie="rgba(255, 255, 255, 0.16)",xe="rgba(0, 0, 0, 0.16)",ke="#c461f7",me="#f4e0ff",Ne="#6d02a3",ye="#e4b6fb",Pe="#e4b6fb",$e="#4e0174",be="#29003e",Ee="#990ae3",Oe="#d58df9",Ae="rgba(255, 255, 255, 0.37)",he="rgba(0, 0, 0, 0.44)",He="#e4b6fb",Me="#6d02a3",We="#fb4885",De="#e4175c",Le="#f39200",Re="#3694d3",Fe="#1fa15e",_e="#018842",we={colorBrandDeepPurple:m,colorBrandCorePurple:N,colorBrandLightPurple:y,colorBrandDeepBeige:P,colorBrandBeige:$,colorBrandLightBeige:b,colorBrandOffBlack:E,colorBrandWhite:O,colorTextDefault:A,colorTextMedium:h,colorTextWeak:H,colorTextDefaultNegative:M,colorTextMediumNegative:W,colorTextWeakNegative:D,colorTextInteractivePrimary:L,colorTextInteractivePrimaryHover:R,colorTextInteractivePrimaryActive:F,colorTextInteractiveOnPrimary:_,colorTextInteractiveOnExpressive:q,colorTextInteractiveOnExpressiveHover:G,colorTextInteractiveOnExpressiveActive:J,colorTextInteractiveOnDestructive:V,colorTextInteractiveSelected:Y,colorTextInteractivePrimaryNegative:U,colorTextInteractivePrimaryHoverNegative:j,colorTextInteractivePrimaryActiveNegative:Q,colorTextInteractiveOnPrimaryNegative:w,colorTextInteractiveOnExpressiveNegative:X,colorTextInteractiveOnExpressiveHoverNegative:z,colorTextInteractiveOnExpressiveActiveNegative:K,colorTextStatusInfoMedium:pr,colorTextStatusInfoStrong:lr,colorTextStatusSuccessMedium:nr,colorTextStatusSuccessStrong:cr,colorTextStatusWarningMedium:ir,colorTextStatusWarningStrong:ur,colorTextStatusErrorMedium:or,colorTextStatusErrorStrong:rr,colorTextStatusNeutral:vr,colorTextStatusSpecial:gr,colorTextStatusAttention:dr,colorTextStatusDiscount:Z,colorTextStatusBlackFriday:Br,colorTextStatusSuccessStrongNegative:ar,colorTextStatusErrorMediumNegative:tr,colorTextStatusErrorStrongNegative:er,colorTextStatusWarningMediumNegative:sr,colorTextToneOnTonePrimary:fr,colorTextToneOnToneSecondary:Sr,colorTextToneOnToneTertiary:Cr,colorBackgroundPrimary:Tr,colorBackgroundSecondary:xr,colorBackgroundOnImage:mr,colorBackgroundPrimaryNegative:Ir,colorBackgroundSecondaryNegative:kr,colorBackgroundOnImageNegative:Nr,colorBackgroundInteractivePrimary:Pr,colorBackgroundInteractivePrimaryHover:$r,colorBackgroundInteractivePrimaryActive:br,colorBackgroundInteractiveExpressive:hr,colorBackgroundInteractiveExpressiveHover:Hr,colorBackgroundInteractiveExpressiveActive:Mr,colorBackgroundInteractiveTransparentHover:_r,colorBackgroundInteractiveTransparentActive:Ur,colorBackgroundInteractiveDisabled:Rr,colorBackgroundInteractiveReadOnly:Xr,colorBackgroundInteractiveInactive:Qr,colorBackgroundInteractiveDestructive:zr,colorBackgroundInteractiveDestructiveHover:Jr,colorBackgroundInteractiveDestructiveActive:Kr,colorBackgroundInteractiveAutoFill:yr,colorBackgroundInteractivePrimaryNegative:Er,colorBackgroundInteractivePrimaryHoverNegative:Or,colorBackgroundInteractivePrimaryActiveNegative:Ar,colorBackgroundInteractiveExpressiveNegative:Wr,colorBackgroundInteractiveExpressiveHoverNegative:Dr,colorBackgroundInteractiveExpressiveActiveNegative:Lr,colorBackgroundInteractiveTransparentHoverNegative:wr,colorBackgroundInteractiveTransparentActiveNegative:jr,colorBackgroundInteractiveDisabledNegative:Fr,colorBackgroundInteractiveInactiveNegative:qr,colorBackgroundInteractiveReadOnlyNegative:Gr,colorBackgroundStatusInfoMedium:Vr,colorBackgroundStatusInfoStrong:Yr,colorBackgroundStatusSuccessMedium:Zr,colorBackgroundStatusSuccessStrong:re,colorBackgroundStatusWarningMedium:ae,colorBackgroundStatusWarningStrong:ne,colorBackgroundStatusErrorMedium:oe,colorBackgroundStatusErrorStrong:te,colorBackgroundStatusNeutral:ie,colorBackgroundStatusSpecial:se,colorBackgroundStatusAttention:le,colorBackgroundStatusBlackFriday:pe,colorBackgroundStatusSuccessStrongNegative:ee,colorBackgroundStatusWarningStrongNegative:ue,colorBackgroundStatusErrorStrongNegative:ce,colorBackgroundToneOnTonePrimary:ve,colorBackgroundToneOnToneSecondary:ge,colorBackgroundToneOnToneTertiary:de,colorBackgroundToneOnToneQuaternary:Be,colorBorderWeak:Ie,colorBorderMedium:fe,colorBorderStrong:Ce,colorBorderWeakNegative:xe,colorBorderMediumNegative:Se,colorBorderStrongNegative:Te,colorBorderInteractivePrimary:me,colorBorderInteractivePrimaryHover:ye,colorBorderInteractivePrimaryActive:Pe,colorBorderInteractiveFocus:ke,colorBorderInteractiveExpressive:Ee,colorBorderInteractiveSubtle:Ae,colorBorderInteractiveSubtleHover:He,colorBorderInteractiveSelected:Oe,colorBorderInteractivePrimaryNegative:Ne,colorBorderInteractivePrimaryHoverNegative:$e,colorBorderInteractivePrimaryActiveNegative:be,colorBorderInteractiveSubtleNegative:he,colorBorderInteractiveSubtleHoverNegative:Me,colorBorderStatusError:We,colorBorderStatusWarning:Le,colorBorderStatusInfo:Re,colorBorderStatusSuccess:Fe,colorBorderStatusErrorNegative:De,colorBorderStatusSuccessNegative:_e},Ue="#29003e",je="#990ae3",Qe="#f4e0ff",qe="#4f4741",Xe="#ede1d8",Ge="#f9f1ec",ze="#202022",Je="#ffffff",Ke="rgba(0, 0, 0, 0.84)",Ve="rgba(0, 0, 0, 0.62)",Ye="rgba(0, 0, 0, 0.44)",Ze="rgba(255, 255, 255, 0.95)",ro="rgba(255, 255, 255, 0.66)",eo="rgba(255, 255, 255, 0.37)",oo="#6d02a3",to="#4e0174",co="#29003e",ao="#ffffff",no="#4e0174",uo="#f4e0ff",io="#e4b6fb",so="#e4b6fb",lo="#ffffff",po="#ffffff",vo="#ffffff",go="#29003e",Bo="#ffffff",fo="#29003e",So="#ffffff",Co="#990ae3",To="#990ae3",Io="#980233",xo="#ff80ab",ko="#e4175c",mo="#fb4885",No="#02562b",yo="#3dbf7c",Po="#018842",$o="#6a4102",bo="#a86602",Eo="#f39200",Oo="#014d80",Ao="#0078cb",ho="rgba(0, 0, 0, 0.71)",Ho="#4e0174",Mo="#ffffff",Wo="#ffffff",Do="#f4e0ff",Lo="#29003e",Ro="#4f4741",Fo="#ffffff",_o="#1f002e",wo="#f5f5fa",Uo="#29003e",jo="rgba(255, 255, 255, 0.84)",Qo="rgba(0, 0, 0, 0.71)",qo="#e8f6ff",Xo="#4e0174",Go="#6d02a3",zo="#8c07d0",Jo="#f4e0ff",Ko="#e4b6fb",Vo="#d58df9",Yo="#990ae3",Zo="#6d02a3",rt="#4e0174",et="#990ae3",ot="#c461f7",tt="#d58df9",ct="rgba(0, 0, 0, 0.1)",at="rgba(255, 255, 255, 0.11)",nt="#f4e0ff",ut="#4e0174",it="#e4b6fb",st="#6d02a3",lt="rgba(0, 0, 0, 0.05)",pt="rgba(255, 255, 255, 0.16)",vt="rgba(0, 0, 0, 0.05)",gt="rgba(255, 255, 255, 0.11)",dt="#e4175c",Bt="#c00543",ft="#980233",St="#caeaff",Ct="#3694d3",Tt="#c5efd9",It="#1fa15e",xt="#3dbf7c",kt="#ffdde8",mt="#fb4885",Nt="#ff80ab",yt="#ffe1b3",Pt="#cc7a00",$t="#f39200",bt="#d6d6dd",Et="#f4e0ff",Ot="#6d02a3",At="#202022",ht="#29003e",Ht="#f4e0ff",Mt="#ede1d8",Wt="#f9f1ec",Dt="rgba(0, 0, 0, 0.33)",Lt="rgba(255, 255, 255, 0.29)",Rt="rgba(0, 0, 0, 0.54)",Ft="rgba(255, 255, 255, 0.46)",_t="rgba(0, 0, 0, 0.16)",wt="rgba(255, 255, 255, 0.16)",Ut="#b12df4",jt="#6d02a3",Qt="#f4e0ff",qt="#4e0174",Xt="#29003e",Gt="#e4b6fb",zt="#e4b6fb",Jt="#990ae3",Kt="#990ae3",Vt="rgba(0, 0, 0, 0.44)",Yt="rgba(255, 255, 255, 0.46)",Zt="#6d02a3",rc="#c461f7",ec="#e4175c",oc="#fb4885",tc="#cc7a00",cc="#0078cb",ac="#018842",nc="#1fa15e",uc={colorBrandDeepPurple:Ue,colorBrandCorePurple:je,colorBrandLightPurple:Qe,colorBrandDeepBeige:qe,colorBrandBeige:Xe,colorBrandLightBeige:Ge,colorBrandOffBlack:ze,colorBrandWhite:Je,colorTextDefault:Ke,colorTextMedium:Ve,colorTextWeak:Ye,colorTextDefaultNegative:Ze,colorTextMediumNegative:ro,colorTextWeakNegative:eo,colorTextInteractivePrimary:oo,colorTextInteractivePrimaryHover:to,colorTextInteractivePrimaryActive:co,colorTextInteractiveOnPrimary:ao,colorTextInteractiveOnExpressive:lo,colorTextInteractiveOnExpressiveHover:vo,colorTextInteractiveOnExpressiveActive:Bo,colorTextInteractiveOnDestructive:So,colorTextInteractiveSelected:Co,colorTextInteractivePrimaryNegative:uo,colorTextInteractivePrimaryHoverNegative:io,colorTextInteractivePrimaryActiveNegative:so,colorTextInteractiveOnPrimaryNegative:no,colorTextInteractiveOnExpressiveNegative:po,colorTextInteractiveOnExpressiveHoverNegative:go,colorTextInteractiveOnExpressiveActiveNegative:fo,colorTextStatusInfoMedium:Ao,colorTextStatusInfoStrong:Oo,colorTextStatusSuccessMedium:Po,colorTextStatusSuccessStrong:No,colorTextStatusWarningMedium:bo,colorTextStatusWarningStrong:$o,colorTextStatusErrorMedium:ko,colorTextStatusErrorStrong:Io,colorTextStatusNeutral:ho,colorTextStatusSpecial:Ho,colorTextStatusAttention:Mo,colorTextStatusDiscount:To,colorTextStatusBlackFriday:Wo,colorTextStatusSuccessStrongNegative:yo,colorTextStatusErrorMediumNegative:mo,colorTextStatusErrorStrongNegative:xo,colorTextStatusWarningMediumNegative:Eo,colorTextToneOnTonePrimary:Do,colorTextToneOnToneSecondary:Lo,colorTextToneOnToneTertiary:Ro,colorBackgroundPrimary:Fo,colorBackgroundSecondary:wo,colorBackgroundOnImage:jo,colorBackgroundPrimaryNegative:_o,colorBackgroundSecondaryNegative:Uo,colorBackgroundOnImageNegative:Qo,colorBackgroundInteractivePrimary:Xo,colorBackgroundInteractivePrimaryHover:Go,colorBackgroundInteractivePrimaryActive:zo,colorBackgroundInteractiveExpressive:Yo,colorBackgroundInteractiveExpressiveHover:Zo,colorBackgroundInteractiveExpressiveActive:rt,colorBackgroundInteractiveTransparentHover:nt,colorBackgroundInteractiveTransparentActive:it,colorBackgroundInteractiveDisabled:ct,colorBackgroundInteractiveReadOnly:vt,colorBackgroundInteractiveInactive:lt,colorBackgroundInteractiveDestructive:dt,colorBackgroundInteractiveDestructiveHover:Bt,colorBackgroundInteractiveDestructiveActive:ft,colorBackgroundInteractiveAutoFill:qo,colorBackgroundInteractivePrimaryNegative:Jo,colorBackgroundInteractivePrimaryHoverNegative:Ko,colorBackgroundInteractivePrimaryActiveNegative:Vo,colorBackgroundInteractiveExpressiveNegative:et,colorBackgroundInteractiveExpressiveHoverNegative:ot,colorBackgroundInteractiveExpressiveActiveNegative:tt,colorBackgroundInteractiveTransparentHoverNegative:ut,colorBackgroundInteractiveTransparentActiveNegative:st,colorBackgroundInteractiveDisabledNegative:at,colorBackgroundInteractiveInactiveNegative:pt,colorBackgroundInteractiveReadOnlyNegative:gt,colorBackgroundStatusInfoMedium:St,colorBackgroundStatusInfoStrong:Ct,colorBackgroundStatusSuccessMedium:Tt,colorBackgroundStatusSuccessStrong:It,colorBackgroundStatusWarningMedium:yt,colorBackgroundStatusWarningStrong:Pt,colorBackgroundStatusErrorMedium:kt,colorBackgroundStatusErrorStrong:mt,colorBackgroundStatusNeutral:bt,colorBackgroundStatusSpecial:Et,colorBackgroundStatusAttention:Ot,colorBackgroundStatusBlackFriday:At,colorBackgroundStatusSuccessStrongNegative:xt,colorBackgroundStatusWarningStrongNegative:$t,colorBackgroundStatusErrorStrongNegative:Nt,colorBackgroundToneOnTonePrimary:ht,colorBackgroundToneOnToneSecondary:Ht,colorBackgroundToneOnToneTertiary:Mt,colorBackgroundToneOnToneQuaternary:Wt,colorBorderWeak:_t,colorBorderMedium:Dt,colorBorderStrong:Rt,colorBorderWeakNegative:wt,colorBorderMediumNegative:Lt,colorBorderStrongNegative:Ft,colorBorderInteractivePrimary:jt,colorBorderInteractivePrimaryHover:qt,colorBorderInteractivePrimaryActive:Xt,colorBorderInteractiveFocus:Ut,colorBorderInteractiveExpressive:Jt,colorBorderInteractiveSubtle:Vt,colorBorderInteractiveSubtleHover:Zt,colorBorderInteractiveSelected:Kt,colorBorderInteractivePrimaryNegative:Qt,colorBorderInteractivePrimaryHoverNegative:Gt,colorBorderInteractivePrimaryActiveNegative:zt,colorBorderInteractiveSubtleNegative:Yt,colorBorderInteractiveSubtleHoverNegative:rc,colorBorderStatusError:ec,colorBorderStatusWarning:tc,colorBorderStatusInfo:cc,colorBorderStatusSuccess:ac,colorBorderStatusErrorNegative:oc,colorBorderStatusSuccessNegative:nc},v={light:uc,dark:we},ic=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),sc=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),lc=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),pc=/[^\p{L}\d]+/giu,B="$1\0$2",f="";function S(e){let r=e.trim();r=r.replace(ic,B).replace(sc,B),r=r.replace(pc,"\0");let o=0,t=r.length;for(;r.charAt(o)==="\0";)o++;if(o===t)return[];for(;r.charAt(t-1)==="\0";)t--;return r.slice(o,t).split(/\0/g)}function vc(e){const r=S(e);for(let o=0;o<r.length;o++){const t=r[o],c=lc.exec(t);if(c){const a=c.index+(c[1]??c[2]).length;r.splice(o,1,t.slice(0,a),t.slice(a))}}return r}function gc(e,r){const[o,t,c]=fc(e,r);return o+t.map(Bc(r?.locale)).join(r?.delimiter??" ")+c}function dc(e,r){return gc(e,{delimiter:"-",...r})}function Bc(e){return e===!1?r=>r.toLowerCase():r=>r.toLocaleLowerCase(e)}function fc(e,r={}){const o=r.split??(r.separateNumbers?vc:S),t=r.prefixCharacters??f,c=r.suffixCharacters??f;let a=0,n=e.length;for(;a<e.length;){const i=e.charAt(a);if(!t.includes(i))break;a++}for(;n>a;){const i=n-1,l=e.charAt(i);if(!c.includes(l))break;n=i}return[e.slice(0,a),o(e.slice(a,n)),e.slice(n)]}const C=({theme:e=v,cssVariablesSelector:r,currentColorScheme:o})=>{s.useEffect(()=>{o&&Object.entries(e?.[o]??v[o]).forEach(([t,c])=>{((r?document.querySelector(r):null)??document.documentElement).style.setProperty(`--purpur-${dc(t)}`,c)})},[e,r,o])},T=s.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{}}),Sc=({cssVariablesSelector:e,forceColorScheme:r,theme:o,children:t,options:c={},...a})=>{const[n,i]=s.useState(r??"auto"),[l,p]=s.useState(r??"light");s.useEffect(()=>{if(r)i(r);else{const u=localStorage.getItem("colorScheme");u&&i(u)}},[r]),s.useEffect(()=>{const u=window.matchMedia("(prefers-color-scheme: dark)");p(n==="auto"?u.matches?"dark":"light":n);const g=k=>{!r&&n==="auto"&&p(k.matches?"dark":"light")};return u.addEventListener("change",g),()=>{u.removeEventListener("change",g)}},[n,r]),C({theme:o,cssVariablesSelector:e,currentColorScheme:l});const x=s.useMemo(()=>({colorScheme:n,currentColorScheme:l,setColorScheme:u=>{r||(i(u),localStorage.setItem("colorScheme",u))}}),[n,l,r]);return d.jsx(T.Provider,{value:{...x,options:c},children:d.jsx("div",{className:l,...a,children:t})})},I=()=>{const e=s.useContext(T);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},Cc=()=>{const{colorScheme:e,setColorScheme:r}=I();return[e,r]};exports.ThemeProvider=Sc;exports.teliaTheme=v;exports.useApplyTheme=C;exports.useColorScheme=Cc;exports.useTheme=I;
2
2
  //# sourceMappingURL=theme.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.cjs.js","sources":["../src/telia-dark.ts","../../tokens/color/variables.js","../src/telia-light.ts","../src/telia-theme.ts","../../../common/temp/node_modules/.pnpm/change-case@5.4.4/node_modules/change-case/dist/index.js","../src/useApplyTheme.ts","../src/ThemeProvider.tsx","../src/useColorScheme.ts"],"sourcesContent":["import type { ThemeProps } from \"./theme-props\";\n\nexport const dark = {\n colorBrandDeepPurple: \"var(--purpur-color-purple-100)\",\n colorBrandCorePurple: \"var(--purpur-color-purple-400)\",\n colorBrandLightPurple: \"var(--purpur-color-purple-900)\",\n colorBrandDeepBeige: \"var(--purpur-color-beige-100)\",\n colorBrandBeige: \"var(--purpur-color-beige-700)\",\n colorBrandLightBeige: \"var(--purpur-color-beige-800)\",\n colorBrandOffBlack: \"var(--purpur-color-functional-white)\",\n colorBrandWhite: \"var(--purpur-color-gray-900)\",\n\n colorTextDefault: \"var(--purpur-color-transparent-white-950)\",\n colorTextMedium: \"var(--purpur-color-transparent-white-700)\",\n colorTextWeak: \"var(--purpur-color-transparent-white-400)\",\n colorTextDefaultNegative: \"var(--purpur-color-transparent-black-800)\",\n colorTextMediumNegative: \"var(--purpur-color-transparent-black-500)\",\n colorTextWeakNegative: \"var(--purpur-color-transparent-black-400)\",\n\n colorTextInteractivePrimary: \"var(--purpur-color-purple-100)\",\n colorTextInteractivePrimaryHover: \"var(--purpur-color-purple-200)\",\n colorTextInteractivePrimaryActive: \"var(--purpur-color-purple-300)\",\n colorTextInteractiveOnPrimary: \"var(--purpur-color-purple-800)\",\n colorTextInteractiveOnExpressive: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveHover: \"var(--purpur-color-purple-900)\",\n colorTextInteractiveOnExpressiveActive: \"var(--purpur-color-purple-900)\",\n colorTextInteractiveOnDestructive: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveSelected: \"var(--purpur-color-purple-300)\",\n colorTextInteractivePrimaryNegative: \"var(--purpur-color-purple-700)\",\n colorTextInteractivePrimaryHoverNegative: \"var(--purpur-color-purple-800)\",\n colorTextInteractivePrimaryActiveNegative: \"var(--purpur-color-purple-900)\",\n colorTextInteractiveOnPrimaryNegative: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveNegative: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveHoverNegative: \"var(--purpur-color-functional-white)\",\n colorTextInteractiveOnExpressiveActiveNegative: \"var(--purpur-color-functional-white)\",\n\n colorTextStatusInfoMedium: \"var(--purpur-color-blue-400)\",\n colorTextStatusInfoStrong: \"var(--purpur-color-blue-200)\",\n colorTextStatusSuccessMedium: \"var(--purpur-color-green-400)\",\n colorTextStatusSuccessStrong: \"var(--purpur-color-green-200)\",\n colorTextStatusWarningMedium: \"var(--purpur-color-orange-300)\",\n colorTextStatusWarningStrong: \"var(--purpur-color-orange-200)\",\n colorTextStatusErrorMedium: \"var(--purpur-color-red-400)\",\n colorTextStatusErrorStrong: \"var(--purpur-color-red-200)\",\n colorTextStatusNeutral: \"var(--purpur-color-functional-white)\",\n colorTextStatusSpecial: \"var(--purpur-color-functional-white)\",\n colorTextStatusAttention: \"var(--purpur-color-purple-800)\",\n colorTextStatusDiscount: \"var(--purpur-color-purple-300)\",\n colorTextStatusBlackFriday: \"var(--purpur-color-gray-900)\",\n colorTextStatusSuccessStrongNegative: \"var(--purpur-color-green-700)\",\n colorTextStatusErrorMediumNegative: \"var(--purpur-color-red-500)\",\n colorTextStatusErrorStrongNegative: \"var(--purpur-color-red-700)\",\n colorTextStatusWarningMediumNegative: \"var(--purpur-color-orange-500)\",\n\n colorTextToneOnTonePrimary: \"var(--purpur-color-purple-900)\",\n colorTextToneOnToneSecondary: \"var(--purpur-color-purple-100)\",\n colorTextToneOnToneTertiary: \"var(--purpur-color-functional-white)\",\n\n colorBackgroundPrimary: \"var(--purpur-color-gray-950)\",\n colorBackgroundSecondary: \"var(--purpur-color-gray-900)\",\n colorBackgroundOnImage: \"var(--purpur-color-transparent-black-700)\",\n colorBackgroundPrimaryNegative: \"var(--purpur-color-functional-white)\",\n colorBackgroundSecondaryNegative: \"var(--purpur-color-gray-50)\",\n colorBackgroundOnImageNegative: \"var(--purpur-color-transparent-white-850)\",\n\n colorBackgroundInteractivePrimary: \"var(--purpur-color-purple-100)\",\n colorBackgroundInteractivePrimaryHover: \"var(--purpur-color-purple-200)\",\n colorBackgroundInteractivePrimaryActive: \"var(--purpur-color-purple-300)\",\n colorBackgroundInteractiveExpressive: \"var(--purpur-color-purple-550)\",\n colorBackgroundInteractiveExpressiveHover: \"var(--purpur-color-purple-400)\",\n colorBackgroundInteractiveExpressiveActive: \"var(--purpur-color-purple-300)\",\n colorBackgroundInteractiveTransparentHover: \"var(--purpur-color-purple-800)\",\n colorBackgroundInteractiveTransparentActive: \"var(--purpur-color-purple-700)\",\n colorBackgroundInteractiveDisabled: \"var(--purpur-color-transparent-white-100)\",\n colorBackgroundInteractiveReadOnly: \"var(--purpur-color-transparent-white-50)\",\n colorBackgroundInteractiveInactive: \"var(--purpur-color-transparent-white-150)\",\n colorBackgroundInteractiveDestructive: \"var(--purpur-color-red-500)\",\n colorBackgroundInteractiveDestructiveHover: \"var(--purpur-color-red-600)\",\n colorBackgroundInteractiveDestructiveActive: \"var(--purpur-color-red-700)\",\n colorBackgroundInteractiveAutoFill: \"var(--purpur-color-blue-800)\",\n colorBackgroundInteractivePrimaryNegative: \"var(--purpur-color-purple-800)\",\n colorBackgroundInteractivePrimaryHoverNegative: \"var(--purpur-color-purple-700)\",\n colorBackgroundInteractivePrimaryActiveNegative: \"var(--purpur-color-purple-600)\",\n colorBackgroundInteractiveExpressiveNegative: \"var(--purpur-color-purple-550)\",\n colorBackgroundInteractiveExpressiveHoverNegative: \"var(--purpur-color-purple-700)\",\n colorBackgroundInteractiveExpressiveActiveNegative: \"var(--purpur-color-purple-800)\",\n colorBackgroundInteractiveTransparentHoverNegative: \"var(--purpur-color-purple-200)\",\n colorBackgroundInteractiveTransparentActiveNegative: \"var(--purpur-color-purple-300)\",\n colorBackgroundInteractiveDisabledNegative: \"var(--purpur-color-transparent-black-100)\",\n colorBackgroundInteractiveInactiveNegative: \"var(--purpur-color-transparent-black-50)\",\n colorBackgroundInteractiveReadOnlyNegative: \"var(--purpur-color-transparent-black-50)\",\n\n colorBackgroundStatusInfoMedium: \"var(--purpur-color-blue-800)\",\n colorBackgroundStatusInfoStrong: \"var(--purpur-color-blue-300)\",\n colorBackgroundStatusSuccessMedium: \"var(--purpur-color-green-800)\",\n colorBackgroundStatusSuccessStrong: \"var(--purpur-color-green-300)\",\n colorBackgroundStatusWarningMedium: \"var(--purpur-color-orange-800)\",\n colorBackgroundStatusWarningStrong: \"var(--purpur-color-orange-300)\",\n colorBackgroundStatusErrorMedium: \"var(--purpur-color-red-800)\",\n colorBackgroundStatusErrorStrong: \"var(--purpur-color-red-300)\",\n colorBackgroundStatusNeutral: \"var(--purpur-color-gray-800)\",\n colorBackgroundStatusSpecial: \"var(--purpur-color-purple-700)\",\n colorBackgroundStatusAttention: \"var(--purpur-color-purple-100)\",\n colorBackgroundStatusBlackFriday: \"var(--purpur-color-functional-white)\",\n colorBackgroundStatusSuccessStrongNegative: \"var(--purpur-color-green-400)\",\n colorBackgroundStatusWarningStrongNegative: \"var(--purpur-color-orange-300)\",\n colorBackgroundStatusErrorStrongNegative: \"var(--purpur-color-red-400)\",\n\n colorBackgroundToneOnTonePrimary: \"var(--purpur-color-purple-100)\",\n colorBackgroundToneOnToneSecondary: \"var(--purpur-color-purple-900)\",\n colorBackgroundToneOnToneTertiary: \"var(--purpur-color-beige-700)\",\n colorBackgroundToneOnToneQuaternary: \"var(--purpur-color-beige-900)\",\n\n colorBorderWeak: \"var(--purpur-color-transparent-white-150)\",\n colorBorderMedium: \"var(--purpur-color-transparent-white-300)\",\n colorBorderStrong: \"var(--purpur-color-transparent-white-500)\",\n colorBorderWeakNegative: \"var(--purpur-color-transparent-black-150)\",\n colorBorderMediumNegative: \"var(--purpur-color-transparent-black-300)\",\n colorBorderStrongNegative: \"var(--purpur-color-transparent-black-500)\",\n\n colorBorderInteractivePrimary: \"var(--purpur-color-purple-100)\",\n colorBorderInteractivePrimaryHover: \"var(--purpur-color-purple-200)\",\n colorBorderInteractivePrimaryActive: \"var(--purpur-color-purple-200)\",\n colorBorderInteractiveFocus: \"var(--purpur-color-purple-400)\",\n colorBorderInteractiveExpressive: \"var(--purpur-color-purple-550)\",\n colorBorderInteractiveSubtle: \"var(--purpur-color-transparent-white-400)\",\n colorBorderInteractiveSubtleHover: \"var(--purpur-color-purple-200)\",\n colorBorderInteractiveSelected: \"var(--purpur-color-purple-300)\",\n colorBorderInteractivePrimaryNegative: \"var(--purpur-color-purple-700)\",\n colorBorderInteractivePrimaryHoverNegative: \"var(--purpur-color-purple-800)\",\n colorBorderInteractivePrimaryActiveNegative: \"var(--purpur-color-purple-900)\",\n colorBorderInteractiveSubtleNegative: \"var(--purpur-color-transparent-black-400)\",\n colorBorderInteractiveSubtleHoverNegative: \"var(--purpur-color-purple-700)\",\n\n colorBorderStatusError: \"var(--purpur-color-red-400)\",\n colorBorderStatusWarning: \"var(--purpur-color-orange-300)\",\n colorBorderStatusInfo: \"var(--purpur-color-blue-400)\",\n colorBorderStatusSuccess: \"var(--purpur-color-green-400)\",\n colorBorderStatusErrorNegative: \"var(--purpur-color-red-500)\",\n colorBorderStatusSuccessNegative: \"var(--purpur-color-green-500)\",\n} satisfies ThemeProps;\n","export const purpurColorPurple50 = \"#faf0ff\";\nexport const purpurColorPurple100 = \"#f4e0ff\";\nexport const purpurColorPurple200 = \"#e4b6fb\";\nexport const purpurColorPurple300 = \"#d58df9\";\nexport const purpurColorPurple400 = \"#c461f7\";\nexport const purpurColorPurple500 = \"#b12df4\";\nexport const purpurColorPurple550 = \"#990ae3\";\nexport const purpurColorPurple600 = \"#8c07d0\";\nexport const purpurColorPurple700 = \"#6d02a3\";\nexport const purpurColorPurple800 = \"#4e0174\";\nexport const purpurColorPurple900 = \"#29003e\";\nexport const purpurColorPurple950 = \"#1f002e\";\nexport const purpurColorBeige50 = \"#f9f1ec\";\nexport const purpurColorBeige100 = \"#ede1d8\";\nexport const purpurColorBeige200 = \"#d7c3b5\";\nexport const purpurColorBeige300 = \"#bba494\";\nexport const purpurColorBeige400 = \"#a08877\";\nexport const purpurColorBeige500 = \"#807268\";\nexport const purpurColorBeige600 = \"#665e58\";\nexport const purpurColorBeige700 = \"#4f4741\";\nexport const purpurColorBeige800 = \"#3b332d\";\nexport const purpurColorBeige900 = \"#2d2824\";\nexport const purpurColorBeige950 = \"#170f09\";\nexport const purpurColorTeal50 = \"#edf5f5\";\nexport const purpurColorTeal100 = \"#d5eae9\";\nexport const purpurColorTeal200 = \"#a1cfcd\";\nexport const purpurColorTeal300 = \"#6eb5b2\";\nexport const purpurColorTeal400 = \"#3a9b96\";\nexport const purpurColorTeal500 = \"#00847e\";\nexport const purpurColorTeal600 = \"#006c67\";\nexport const purpurColorTeal700 = \"#02534f\";\nexport const purpurColorTeal800 = \"#063c39\";\nexport const purpurColorTeal900 = \"#032220\";\nexport const purpurColorTeal950 = \"#011413\";\nexport const purpurColorGray50 = \"#f5f5fa\";\nexport const purpurColorGray100 = \"#e5e5eb\";\nexport const purpurColorGray150 = \"#d6d6dd\";\nexport const purpurColorGray200 = \"#c6c6cd\";\nexport const purpurColorGray300 = \"#aaaab0\";\nexport const purpurColorGray400 = \"#8d8d94\";\nexport const purpurColorGray500 = \"#757579\";\nexport const purpurColorGray600 = \"#5f5f63\";\nexport const purpurColorGray700 = \"#4a4a4d\";\nexport const purpurColorGray800 = \"#353537\";\nexport const purpurColorGray850 = \"#2a2a2c\";\nexport const purpurColorGray900 = \"#202022\";\nexport const purpurColorGray950 = \"#121212\";\nexport const purpurColorGreen50 = \"#e1f9ec\";\nexport const purpurColorGreen100 = \"#c5efd9\";\nexport const purpurColorGreen200 = \"#79d9a7\";\nexport const purpurColorGreen300 = \"#3dbf7c\";\nexport const purpurColorGreen400 = \"#1fa15e\";\nexport const purpurColorGreen500 = \"#018842\";\nexport const purpurColorGreen600 = \"#017037\";\nexport const purpurColorGreen700 = \"#02562b\";\nexport const purpurColorGreen800 = \"#003e1e\";\nexport const purpurColorGreen900 = \"#002411\";\nexport const purpurColorGreen950 = \"#00150a\";\nexport const purpurColorRed50 = \"#fff0f5\";\nexport const purpurColorRed100 = \"#ffdde8\";\nexport const purpurColorRed200 = \"#ffafc9\";\nexport const purpurColorRed300 = \"#ff80ab\";\nexport const purpurColorRed400 = \"#fb4885\";\nexport const purpurColorRed500 = \"#e4175c\";\nexport const purpurColorRed600 = \"#c00543\";\nexport const purpurColorRed700 = \"#980233\";\nexport const purpurColorRed800 = \"#700025\";\nexport const purpurColorRed900 = \"#440016\";\nexport const purpurColorRed950 = \"#2c000e\";\nexport const purpurColorOrange50 = \"#fff2de\";\nexport const purpurColorOrange100 = \"#ffe1b3\";\nexport const purpurColorOrange200 = \"#f9bb5b\";\nexport const purpurColorOrange300 = \"#f39200\";\nexport const purpurColorOrange400 = \"#cc7a00\";\nexport const purpurColorOrange500 = \"#a86602\";\nexport const purpurColorOrange600 = \"#8b5301\";\nexport const purpurColorOrange700 = \"#6a4102\";\nexport const purpurColorOrange800 = \"#4c2f03\";\nexport const purpurColorOrange900 = \"#2b1b03\";\nexport const purpurColorOrange950 = \"#1a0f00\";\nexport const purpurColorBlue50 = \"#e8f6ff\";\nexport const purpurColorBlue100 = \"#caeaff\";\nexport const purpurColorBlue200 = \"#91cdf4\";\nexport const purpurColorBlue300 = \"#62b2e7\";\nexport const purpurColorBlue400 = \"#3694d3\";\nexport const purpurColorBlue500 = \"#0078cb\";\nexport const purpurColorBlue600 = \"#0063a6\";\nexport const purpurColorBlue700 = \"#014d80\";\nexport const purpurColorBlue800 = \"#03385b\";\nexport const purpurColorBlue900 = \"#002036\";\nexport const purpurColorBlue950 = \"#011320\";\nexport const purpurColorTransparentBlack50 = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorTransparentBlack100 = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorTransparentBlack150 = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorTransparentBlack200 = \"rgba(0, 0, 0, 0.22)\";\nexport const purpurColorTransparentBlack300 = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorTransparentBlack400 = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTransparentBlack500 = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTransparentBlack600 = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTransparentBlack700 = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTransparentBlack800 = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTransparentBlack850 = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTransparentBlack900 = \"rgba(0, 0, 0, 0.88)\";\nexport const purpurColorTransparentBlack950 = \"rgba(0, 0, 0, 0.93)\";\nexport const purpurColorTransparentWhite50 = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorTransparentWhite100 = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorTransparentWhite150 = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorTransparentWhite200 = \"rgba(255, 255, 255, 0.21)\";\nexport const purpurColorTransparentWhite300 = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorTransparentWhite400 = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTransparentWhite500 = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorTransparentWhite600 = \"rgba(255, 255, 255, 0.55)\";\nexport const purpurColorTransparentWhite700 = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTransparentWhite800 = \"rgba(255, 255, 255, 0.79)\";\nexport const purpurColorTransparentWhite850 = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorTransparentWhite900 = \"rgba(255, 255, 255, 0.89)\";\nexport const purpurColorTransparentWhite950 = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorFunctionalBlack = \"#000000\";\nexport const purpurColorFunctionalWhite = \"#ffffff\";\nexport const purpurColorFunctionalTransparent = \"rgba(255, 255, 255, 0)\";\nexport const purpurColorBrandDeepPurple = \"#29003e\";\nexport const purpurColorBrandCorePurple = \"#990ae3\";\nexport const purpurColorBrandLightPurple = \"#f4e0ff\";\nexport const purpurColorBrandDeepBeige = \"#4f4741\";\nexport const purpurColorBrandBeige = \"#ede1d8\";\nexport const purpurColorBrandLightBeige = \"#f9f1ec\";\nexport const purpurColorBrandOffBlack = \"#202022\";\nexport const purpurColorBrandWhite = \"#ffffff\";\nexport const purpurColorTextDefault = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTextMedium = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTextWeak = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTextDefaultNegative = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorTextMediumNegative = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTextWeakNegative = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTextInteractivePrimary = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryHover = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryActive = \"#29003e\";\nexport const purpurColorTextInteractiveOnPrimary = \"#ffffff\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#e4b6fb\";\nexport const purpurColorTextInteractiveOnExpressive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHover = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHoverNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveActive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveActiveNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnDestructive = \"#ffffff\";\nexport const purpurColorTextInteractiveSelected = \"#990ae3\";\nexport const purpurColorTextStatusDiscount = \"#990ae3\";\nexport const purpurColorTextStatusErrorStrong = \"#980233\";\nexport const purpurColorTextStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorTextStatusErrorMedium = \"#e4175c\";\nexport const purpurColorTextStatusErrorMediumNegative = \"#fb4885\";\nexport const purpurColorTextStatusSuccessStrong = \"#02562b\";\nexport const purpurColorTextStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorTextStatusSuccessMedium = \"#018842\";\nexport const purpurColorTextStatusSuccessMediumNegative = \"#1fa15e\";\nexport const purpurColorTextStatusWarningStrong = \"#6a4102\";\nexport const purpurColorTextStatusWarningMedium = \"#a86602\";\nexport const purpurColorTextStatusWarningMediumNegative = \"#f39200\";\nexport const purpurColorTextStatusInfoStrong = \"#014d80\";\nexport const purpurColorTextStatusInfoMedium = \"#0078cb\";\nexport const purpurColorTextStatusNeutral = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTextStatusSpecial = \"#4e0174\";\nexport const purpurColorTextStatusAttention = \"#ffffff\";\nexport const purpurColorTextStatusBlackFriday = \"#ffffff\";\nexport const purpurColorTextToneOnTonePrimary = \"#f4e0ff\";\nexport const purpurColorTextToneOnToneSecondary = \"#29003e\";\nexport const purpurColorTextToneOnToneTertiary = \"#4f4741\";\nexport const purpurColorBackgroundPrimary = \"#ffffff\";\nexport const purpurColorBackgroundPrimaryNegative = \"#1f002e\";\nexport const purpurColorBackgroundSecondary = \"#f5f5fa\";\nexport const purpurColorBackgroundSecondaryNegative = \"#29003e\";\nexport const purpurColorBackgroundOnImage = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorBackgroundOnImageNegative = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorBackgroundInteractiveAutoFill = \"#e8f6ff\";\nexport const purpurColorBackgroundInteractivePrimary = \"#4e0174\";\nexport const purpurColorBackgroundInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractivePrimaryActive = \"#8c07d0\";\nexport const purpurColorBackgroundInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractivePrimaryActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveExpressiveActive = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveExpressiveNegative = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHoverNegative =\n \"#c461f7\";\nexport const purpurColorBackgroundInteractiveExpressiveActiveNegative =\n \"#d58df9\";\nexport const purpurColorBackgroundInteractiveDisabled = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorBackgroundInteractiveDisabledNegative =\n \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveTransparentHover = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractiveTransparentHoverNegative =\n \"#4e0174\";\nexport const purpurColorBackgroundInteractiveTransparentActive = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractiveTransparentActiveNegative =\n \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveInactive = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveInactiveNegative =\n \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBackgroundInteractiveReadOnly = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveReadOnlyNegative =\n \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveDestructive = \"#e4175c\";\nexport const purpurColorBackgroundInteractiveDestructiveHover = \"#c00543\";\nexport const purpurColorBackgroundInteractiveDestructiveActive = \"#980233\";\nexport const purpurColorBackgroundStatusInfoMedium = \"#caeaff\";\nexport const purpurColorBackgroundStatusInfoStrong = \"#3694d3\";\nexport const purpurColorBackgroundStatusSuccessMedium = \"#c5efd9\";\nexport const purpurColorBackgroundStatusSuccessStrong = \"#1fa15e\";\nexport const purpurColorBackgroundStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorBackgroundStatusErrorMedium = \"#ffdde8\";\nexport const purpurColorBackgroundStatusErrorStrong = \"#fb4885\";\nexport const purpurColorBackgroundStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorBackgroundStatusWarningMedium = \"#ffe1b3\";\nexport const purpurColorBackgroundStatusWarningStrong = \"#cc7a00\";\nexport const purpurColorBackgroundStatusWarningStrongNegative = \"#f39200\";\nexport const purpurColorBackgroundStatusNeutral = \"#d6d6dd\";\nexport const purpurColorBackgroundStatusSpecial = \"#f4e0ff\";\nexport const purpurColorBackgroundStatusAttention = \"#6d02a3\";\nexport const purpurColorBackgroundStatusBlackFriday = \"#202022\";\nexport const purpurColorBackgroundToneOnTonePrimary = \"#29003e\";\nexport const purpurColorBackgroundToneOnToneSecondary = \"#f4e0ff\";\nexport const purpurColorBackgroundToneOnToneTertiary = \"#ede1d8\";\nexport const purpurColorBackgroundToneOnToneQuaternary = \"#f9f1ec\";\nexport const purpurColorBorderMedium = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorBorderMediumNegative = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorBorderStrong = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorBorderStrongNegative = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderWeak = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorBorderWeakNegative = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBorderInteractiveFocus = \"#b12df4\";\nexport const purpurColorBorderInteractivePrimary = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#4e0174\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#29003e\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#e4b6fb\";\nexport const purpurColorBorderInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBorderInteractiveSelected = \"#990ae3\";\nexport const purpurColorBorderInteractiveSubtle = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorBorderInteractiveSubtleNegative =\n \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderInteractiveSubtleHover = \"#6d02a3\";\nexport const purpurColorBorderInteractiveSubtleHoverNegative = \"#c461f7\";\nexport const purpurColorBorderStatusError = \"#e4175c\";\nexport const purpurColorBorderStatusErrorNegative = \"#fb4885\";\nexport const purpurColorBorderStatusWarning = \"#cc7a00\";\nexport const purpurColorBorderStatusInfo = \"#0078cb\";\nexport const purpurColorBorderStatusSuccess = \"#018842\";\nexport const purpurColorBorderStatusSuccessNegative = \"#1fa15e\";\nexport const purpurColorOverlayDefault = \"rgba(0, 0, 0, 0.33)\";\n","import {\n purpurColorBackgroundInteractiveAutoFill,\n purpurColorBackgroundInteractiveDestructive,\n purpurColorBackgroundInteractiveDestructiveActive,\n purpurColorBackgroundInteractiveDestructiveHover,\n purpurColorBackgroundInteractiveDisabled,\n purpurColorBackgroundInteractiveDisabledNegative,\n purpurColorBackgroundInteractiveExpressive,\n purpurColorBackgroundInteractiveExpressiveActive,\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n purpurColorBackgroundInteractiveExpressiveHover,\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n purpurColorBackgroundInteractiveExpressiveNegative,\n purpurColorBackgroundInteractiveInactive,\n purpurColorBackgroundInteractiveInactiveNegative,\n purpurColorBackgroundInteractivePrimary,\n purpurColorBackgroundInteractivePrimaryActive,\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n purpurColorBackgroundInteractivePrimaryHover,\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n purpurColorBackgroundInteractivePrimaryNegative,\n purpurColorBackgroundInteractiveReadOnly,\n purpurColorBackgroundInteractiveReadOnlyNegative,\n purpurColorBackgroundInteractiveTransparentActive,\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n purpurColorBackgroundInteractiveTransparentHover,\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n purpurColorBackgroundOnImage,\n purpurColorBackgroundOnImageNegative,\n purpurColorBackgroundPrimary,\n purpurColorBackgroundPrimaryNegative,\n purpurColorBackgroundSecondary,\n purpurColorBackgroundSecondaryNegative,\n purpurColorBackgroundStatusAttention,\n purpurColorBackgroundStatusBlackFriday,\n purpurColorBackgroundStatusErrorMedium,\n purpurColorBackgroundStatusErrorStrong,\n purpurColorBackgroundStatusErrorStrongNegative,\n purpurColorBackgroundStatusInfoMedium,\n purpurColorBackgroundStatusInfoStrong,\n purpurColorBackgroundStatusNeutral,\n purpurColorBackgroundStatusSpecial,\n purpurColorBackgroundStatusSuccessMedium,\n purpurColorBackgroundStatusSuccessStrong,\n purpurColorBackgroundStatusSuccessStrongNegative,\n purpurColorBackgroundStatusWarningMedium,\n purpurColorBackgroundStatusWarningStrong,\n purpurColorBackgroundStatusWarningStrongNegative,\n purpurColorBackgroundToneOnTonePrimary,\n purpurColorBackgroundToneOnToneQuaternary,\n purpurColorBackgroundToneOnToneSecondary,\n purpurColorBackgroundToneOnToneTertiary,\n purpurColorBorderInteractiveExpressive,\n purpurColorBorderInteractiveFocus,\n purpurColorBorderInteractivePrimary,\n purpurColorBorderInteractivePrimaryActive,\n purpurColorBorderInteractivePrimaryActiveNegative,\n purpurColorBorderInteractivePrimaryHover,\n purpurColorBorderInteractivePrimaryHoverNegative,\n purpurColorBorderInteractivePrimaryNegative,\n purpurColorBorderInteractiveSelected,\n purpurColorBorderInteractiveSubtle,\n purpurColorBorderInteractiveSubtleHover,\n purpurColorBorderInteractiveSubtleHoverNegative,\n purpurColorBorderInteractiveSubtleNegative,\n purpurColorBorderMedium,\n purpurColorBorderMediumNegative,\n purpurColorBorderStatusError,\n purpurColorBorderStatusErrorNegative,\n purpurColorBorderStatusInfo,\n purpurColorBorderStatusSuccess,\n purpurColorBorderStatusSuccessNegative,\n purpurColorBorderStatusWarning,\n purpurColorBorderStrong,\n purpurColorBorderStrongNegative,\n purpurColorBorderWeak,\n purpurColorBorderWeakNegative,\n purpurColorBrandBeige,\n purpurColorBrandCorePurple,\n purpurColorBrandDeepBeige,\n purpurColorBrandDeepPurple,\n purpurColorBrandLightBeige,\n purpurColorBrandLightPurple,\n purpurColorBrandOffBlack,\n purpurColorBrandWhite,\n purpurColorTextDefault,\n purpurColorTextDefaultNegative,\n purpurColorTextInteractiveOnDestructive,\n purpurColorTextInteractiveOnExpressive,\n purpurColorTextInteractiveOnExpressiveActive,\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n purpurColorTextInteractiveOnExpressiveHover,\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n purpurColorTextInteractiveOnExpressiveNegative,\n purpurColorTextInteractiveOnPrimary,\n purpurColorTextInteractiveOnPrimaryNegative,\n purpurColorTextInteractivePrimary,\n purpurColorTextInteractivePrimaryActive,\n purpurColorTextInteractivePrimaryActiveNegative,\n purpurColorTextInteractivePrimaryHover,\n purpurColorTextInteractivePrimaryHoverNegative,\n purpurColorTextInteractivePrimaryNegative,\n purpurColorTextInteractiveSelected,\n purpurColorTextMedium,\n purpurColorTextMediumNegative,\n purpurColorTextStatusAttention,\n purpurColorTextStatusBlackFriday,\n purpurColorTextStatusDiscount,\n purpurColorTextStatusErrorMedium,\n purpurColorTextStatusErrorMediumNegative,\n purpurColorTextStatusErrorStrong,\n purpurColorTextStatusErrorStrongNegative,\n purpurColorTextStatusInfoMedium,\n purpurColorTextStatusInfoStrong,\n purpurColorTextStatusNeutral,\n purpurColorTextStatusSpecial,\n purpurColorTextStatusSuccessMedium,\n purpurColorTextStatusSuccessStrong,\n purpurColorTextStatusSuccessStrongNegative,\n purpurColorTextStatusWarningMedium,\n purpurColorTextStatusWarningMediumNegative,\n purpurColorTextStatusWarningStrong,\n purpurColorTextToneOnTonePrimary,\n purpurColorTextToneOnToneSecondary,\n purpurColorTextToneOnToneTertiary,\n purpurColorTextWeak,\n purpurColorTextWeakNegative,\n} from \"@purpurds/tokens\";\n\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const light = {\n colorBrandDeepPurple: purpurColorBrandDeepPurple,\n colorBrandCorePurple: purpurColorBrandCorePurple,\n colorBrandLightPurple: purpurColorBrandLightPurple,\n colorBrandDeepBeige: purpurColorBrandDeepBeige,\n colorBrandBeige: purpurColorBrandBeige,\n colorBrandLightBeige: purpurColorBrandLightBeige,\n colorBrandOffBlack: purpurColorBrandOffBlack,\n colorBrandWhite: purpurColorBrandWhite,\n\n colorTextDefault: purpurColorTextDefault,\n colorTextMedium: purpurColorTextMedium,\n colorTextWeak: purpurColorTextWeak,\n colorTextDefaultNegative: purpurColorTextDefaultNegative,\n colorTextMediumNegative: purpurColorTextMediumNegative,\n colorTextWeakNegative: purpurColorTextWeakNegative,\n\n colorTextInteractivePrimary: purpurColorTextInteractivePrimary,\n colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,\n colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,\n colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,\n colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,\n colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,\n colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,\n colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,\n colorTextInteractiveSelected: purpurColorTextInteractiveSelected,\n colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,\n colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,\n colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,\n colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,\n colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,\n colorTextInteractiveOnExpressiveHoverNegative:\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n colorTextInteractiveOnExpressiveActiveNegative:\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n\n colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,\n colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,\n colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,\n colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,\n colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,\n colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,\n colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,\n colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,\n colorTextStatusNeutral: purpurColorTextStatusNeutral,\n colorTextStatusSpecial: purpurColorTextStatusSpecial,\n colorTextStatusAttention: purpurColorTextStatusAttention,\n colorTextStatusDiscount: purpurColorTextStatusDiscount,\n colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,\n colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,\n colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,\n colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,\n colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,\n\n colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,\n colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,\n colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,\n\n colorBackgroundPrimary: purpurColorBackgroundPrimary,\n colorBackgroundSecondary: purpurColorBackgroundSecondary,\n colorBackgroundOnImage: purpurColorBackgroundOnImage,\n colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,\n colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,\n colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,\n\n colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,\n colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,\n colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,\n colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,\n colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,\n colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,\n colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,\n colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,\n colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,\n colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,\n colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,\n colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,\n colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,\n colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,\n colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,\n colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,\n colorBackgroundInteractivePrimaryHoverNegative:\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n colorBackgroundInteractivePrimaryActiveNegative:\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,\n colorBackgroundInteractiveExpressiveHoverNegative:\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n colorBackgroundInteractiveExpressiveActiveNegative:\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n colorBackgroundInteractiveTransparentHoverNegative:\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n colorBackgroundInteractiveTransparentActiveNegative:\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,\n colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,\n colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,\n\n colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,\n colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,\n colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,\n colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,\n colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,\n colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,\n colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,\n colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,\n colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,\n colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,\n colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,\n colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,\n colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,\n colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,\n colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,\n\n colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,\n colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,\n colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,\n colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,\n\n colorBorderWeak: purpurColorBorderWeak,\n colorBorderMedium: purpurColorBorderMedium,\n colorBorderStrong: purpurColorBorderStrong,\n colorBorderWeakNegative: purpurColorBorderWeakNegative,\n colorBorderMediumNegative: purpurColorBorderMediumNegative,\n colorBorderStrongNegative: purpurColorBorderStrongNegative,\n\n colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,\n colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,\n colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,\n colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,\n colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,\n colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,\n colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,\n colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,\n colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,\n colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,\n colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,\n colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,\n colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,\n\n colorBorderStatusError: purpurColorBorderStatusError,\n colorBorderStatusWarning: purpurColorBorderStatusWarning,\n colorBorderStatusInfo: purpurColorBorderStatusInfo,\n colorBorderStatusSuccess: purpurColorBorderStatusSuccess,\n colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,\n colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,\n} satisfies ThemeProps;\n","import { dark } from \"./telia-dark\";\nimport { light } from \"./telia-light\";\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const teliaTheme = {\n light,\n dark,\n} satisfies { light: ThemeProps; dark: ThemeProps };\n","// Regexps involved with splitting words in various case formats.\nconst SPLIT_LOWER_UPPER_RE = /([\\p{Ll}\\d])(\\p{Lu})/gu;\nconst SPLIT_UPPER_UPPER_RE = /(\\p{Lu})([\\p{Lu}][\\p{Ll}])/gu;\n// Used to iterate over the initial split result and separate numbers.\nconst SPLIT_SEPARATE_NUMBER_RE = /(\\d)\\p{Ll}|(\\p{L})\\d/u;\n// Regexp involved with stripping non-word characters from the result.\nconst DEFAULT_STRIP_REGEXP = /[^\\p{L}\\d]+/giu;\n// The replacement value for splits.\nconst SPLIT_REPLACE_VALUE = \"$1\\0$2\";\n// The default characters to keep after transforming case.\nconst DEFAULT_PREFIX_SUFFIX_CHARACTERS = \"\";\n/**\n * Split any cased input strings into an array of words.\n */\nexport function split(value) {\n let result = value.trim();\n result = result\n .replace(SPLIT_LOWER_UPPER_RE, SPLIT_REPLACE_VALUE)\n .replace(SPLIT_UPPER_UPPER_RE, SPLIT_REPLACE_VALUE);\n result = result.replace(DEFAULT_STRIP_REGEXP, \"\\0\");\n let start = 0;\n let end = result.length;\n // Trim the delimiter from around the output string.\n while (result.charAt(start) === \"\\0\")\n start++;\n if (start === end)\n return [];\n while (result.charAt(end - 1) === \"\\0\")\n end--;\n return result.slice(start, end).split(/\\0/g);\n}\n/**\n * Split the input string into an array of words, separating numbers.\n */\nexport function splitSeparateNumbers(value) {\n const words = split(value);\n for (let i = 0; i < words.length; i++) {\n const word = words[i];\n const match = SPLIT_SEPARATE_NUMBER_RE.exec(word);\n if (match) {\n const offset = match.index + (match[1] ?? match[2]).length;\n words.splice(i, 1, word.slice(0, offset), word.slice(offset));\n }\n }\n return words;\n}\n/**\n * Convert a string to space separated lower case (`foo bar`).\n */\nexport function noCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n return (prefix +\n words.map(lowerFactory(options?.locale)).join(options?.delimiter ?? \" \") +\n suffix);\n}\n/**\n * Convert a string to camel case (`fooBar`).\n */\nexport function camelCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n const transform = options?.mergeAmbiguousCharacters\n ? capitalCaseTransformFactory(lower, upper)\n : pascalCaseTransformFactory(lower, upper);\n return (prefix +\n words\n .map((word, index) => {\n if (index === 0)\n return lower(word);\n return transform(word, index);\n })\n .join(options?.delimiter ?? \"\") +\n suffix);\n}\n/**\n * Convert a string to pascal case (`FooBar`).\n */\nexport function pascalCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n const transform = options?.mergeAmbiguousCharacters\n ? capitalCaseTransformFactory(lower, upper)\n : pascalCaseTransformFactory(lower, upper);\n return prefix + words.map(transform).join(options?.delimiter ?? \"\") + suffix;\n}\n/**\n * Convert a string to pascal snake case (`Foo_Bar`).\n */\nexport function pascalSnakeCase(input, options) {\n return capitalCase(input, { delimiter: \"_\", ...options });\n}\n/**\n * Convert a string to capital case (`Foo Bar`).\n */\nexport function capitalCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n return (prefix +\n words\n .map(capitalCaseTransformFactory(lower, upper))\n .join(options?.delimiter ?? \" \") +\n suffix);\n}\n/**\n * Convert a string to constant case (`FOO_BAR`).\n */\nexport function constantCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n return (prefix +\n words.map(upperFactory(options?.locale)).join(options?.delimiter ?? \"_\") +\n suffix);\n}\n/**\n * Convert a string to dot case (`foo.bar`).\n */\nexport function dotCase(input, options) {\n return noCase(input, { delimiter: \".\", ...options });\n}\n/**\n * Convert a string to kebab case (`foo-bar`).\n */\nexport function kebabCase(input, options) {\n return noCase(input, { delimiter: \"-\", ...options });\n}\n/**\n * Convert a string to path case (`foo/bar`).\n */\nexport function pathCase(input, options) {\n return noCase(input, { delimiter: \"/\", ...options });\n}\n/**\n * Convert a string to path case (`Foo bar`).\n */\nexport function sentenceCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n const transform = capitalCaseTransformFactory(lower, upper);\n return (prefix +\n words\n .map((word, index) => {\n if (index === 0)\n return transform(word);\n return lower(word);\n })\n .join(options?.delimiter ?? \" \") +\n suffix);\n}\n/**\n * Convert a string to snake case (`foo_bar`).\n */\nexport function snakeCase(input, options) {\n return noCase(input, { delimiter: \"_\", ...options });\n}\n/**\n * Convert a string to header case (`Foo-Bar`).\n */\nexport function trainCase(input, options) {\n return capitalCase(input, { delimiter: \"-\", ...options });\n}\nfunction lowerFactory(locale) {\n return locale === false\n ? (input) => input.toLowerCase()\n : (input) => input.toLocaleLowerCase(locale);\n}\nfunction upperFactory(locale) {\n return locale === false\n ? (input) => input.toUpperCase()\n : (input) => input.toLocaleUpperCase(locale);\n}\nfunction capitalCaseTransformFactory(lower, upper) {\n return (word) => `${upper(word[0])}${lower(word.slice(1))}`;\n}\nfunction pascalCaseTransformFactory(lower, upper) {\n return (word, index) => {\n const char0 = word[0];\n const initial = index > 0 && char0 >= \"0\" && char0 <= \"9\" ? \"_\" + char0 : upper(char0);\n return initial + lower(word.slice(1));\n };\n}\nfunction splitPrefixSuffix(input, options = {}) {\n const splitFn = options.split ?? (options.separateNumbers ? splitSeparateNumbers : split);\n const prefixCharacters = options.prefixCharacters ?? DEFAULT_PREFIX_SUFFIX_CHARACTERS;\n const suffixCharacters = options.suffixCharacters ?? DEFAULT_PREFIX_SUFFIX_CHARACTERS;\n let prefixIndex = 0;\n let suffixIndex = input.length;\n while (prefixIndex < input.length) {\n const char = input.charAt(prefixIndex);\n if (!prefixCharacters.includes(char))\n break;\n prefixIndex++;\n }\n while (suffixIndex > prefixIndex) {\n const index = suffixIndex - 1;\n const char = input.charAt(index);\n if (!suffixCharacters.includes(char))\n break;\n suffixIndex = index;\n }\n return [\n input.slice(0, prefixIndex),\n splitFn(input.slice(prefixIndex, suffixIndex)),\n input.slice(suffixIndex),\n ];\n}\n//# sourceMappingURL=index.js.map","import { useEffect } from \"react\";\nimport { kebabCase } from \"change-case\";\n\nimport { teliaTheme } from \"./telia-theme\";\nimport type { ColorScheme, Theme } from \"./types\";\n\ntype Props = {\n theme?: Theme;\n cssVariablesSelector?: string;\n currentColorScheme?: ColorScheme;\n};\n\nexport const useApplyTheme = ({\n theme = teliaTheme,\n cssVariablesSelector,\n currentColorScheme,\n}: Props) => {\n useEffect(() => {\n if (currentColorScheme) {\n Object.entries(theme?.[currentColorScheme] ?? teliaTheme[currentColorScheme]).forEach(\n ([key, value]) => {\n const element = cssVariablesSelector\n ? (document.querySelector(cssVariablesSelector) as HTMLElement)\n : null;\n\n (element ?? document.documentElement).style.setProperty(\n `--purpur-${kebabCase(key)}`,\n value\n );\n }\n );\n }\n }, [theme, cssVariablesSelector, currentColorScheme]);\n};\n","import React, {\n createContext,\n type ReactNode,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport type { BaseProps } from \"@purpurds/common-types\";\n\nimport type { ThemeProps } from \"./theme-props\";\nimport type { ColorOptions, ColorScheme, ThemeContextType } from \"./types\";\nimport { useApplyTheme } from \"./useApplyTheme\";\n\nconst ThemeContext = createContext<ThemeContextType>({\n colorScheme: \"light\",\n currentColorScheme: \"light\",\n setColorScheme: () => {},\n options: {},\n});\n\ntype PropsBase = Omit<BaseProps, \"children\"> & {\n children: ReactNode;\n cssVariablesSelector?: string;\n options?: ThemeContextType[\"options\"];\n};\n\nexport type Props =\n | PropsBase &\n (\n | {\n theme: { light: ThemeProps; dark?: never };\n forceColorScheme: \"light\";\n }\n | {\n theme?: { light: ThemeProps; dark: ThemeProps };\n forceColorScheme?: ColorScheme;\n }\n );\n\nexport const ThemeProvider = ({\n cssVariablesSelector,\n forceColorScheme,\n theme,\n children,\n options = {},\n ...props\n}: Props) => {\n const [colorScheme, setColorScheme] = useState<ColorOptions>(forceColorScheme ?? \"auto\");\n const [currentColorScheme, setCurrentColorScheme] = useState<ColorScheme>(\n forceColorScheme ?? \"light\"\n );\n\n useEffect(() => {\n if (!forceColorScheme) {\n const savedColorScheme = localStorage.getItem(\"colorScheme\") as ColorScheme | null;\n if (savedColorScheme) {\n setColorScheme(savedColorScheme);\n }\n } else {\n setColorScheme(forceColorScheme);\n }\n }, [forceColorScheme]);\n\n useEffect(() => {\n const mediaQuery = window.matchMedia(\"(prefers-color-scheme: dark)\");\n\n if (colorScheme === \"auto\") {\n setCurrentColorScheme(mediaQuery.matches ? \"dark\" : \"light\");\n } else {\n setCurrentColorScheme(colorScheme);\n }\n\n const handleChange = (e: MediaQueryListEvent) => {\n if (!forceColorScheme && colorScheme === \"auto\") {\n setCurrentColorScheme(e.matches ? \"dark\" : \"light\");\n }\n };\n\n mediaQuery.addEventListener(\"change\", handleChange);\n\n return () => {\n mediaQuery.removeEventListener(\"change\", handleChange);\n };\n }, [colorScheme, forceColorScheme]);\n\n useApplyTheme({ theme, cssVariablesSelector, currentColorScheme });\n\n const contextValue = useMemo(\n () => ({\n colorScheme,\n currentColorScheme,\n setColorScheme: (scheme: ColorOptions) => {\n if (!forceColorScheme) {\n setColorScheme(scheme);\n localStorage.setItem(\"colorScheme\", scheme);\n }\n },\n }),\n [colorScheme, currentColorScheme, forceColorScheme]\n );\n\n return (\n <ThemeContext.Provider value={{ ...contextValue, options }}>\n <div className={currentColorScheme} {...props}>\n {children}\n </div>\n </ThemeContext.Provider>\n );\n};\n\nexport const useTheme = (): ThemeContextType => {\n const context = useContext(ThemeContext);\n if (!context) {\n throw new Error(\"useTheme must be used within a ThemeProvider\");\n }\n return context;\n};\n","import { useTheme } from \"./ThemeProvider\";\nimport type { ColorOptions } from \"./types\";\n\nexport const useColorScheme = (): [ColorOptions, (colorScheme: ColorOptions) => void] => {\n const { currentColorScheme, setColorScheme } = useTheme();\n return [currentColorScheme, setColorScheme];\n};\n"],"names":["dark","purpurColorBrandDeepPurple","purpurColorBrandCorePurple","purpurColorBrandLightPurple","purpurColorBrandDeepBeige","purpurColorBrandBeige","purpurColorBrandLightBeige","purpurColorBrandOffBlack","purpurColorBrandWhite","purpurColorTextDefault","purpurColorTextMedium","purpurColorTextWeak","purpurColorTextDefaultNegative","purpurColorTextMediumNegative","purpurColorTextWeakNegative","purpurColorTextInteractivePrimary","purpurColorTextInteractivePrimaryHover","purpurColorTextInteractivePrimaryActive","purpurColorTextInteractiveOnPrimary","purpurColorTextInteractiveOnPrimaryNegative","purpurColorTextInteractivePrimaryNegative","purpurColorTextInteractivePrimaryHoverNegative","purpurColorTextInteractivePrimaryActiveNegative","purpurColorTextInteractiveOnExpressive","purpurColorTextInteractiveOnExpressiveNegative","purpurColorTextInteractiveOnExpressiveHover","purpurColorTextInteractiveOnExpressiveHoverNegative","purpurColorTextInteractiveOnExpressiveActive","purpurColorTextInteractiveOnExpressiveActiveNegative","purpurColorTextInteractiveOnDestructive","purpurColorTextInteractiveSelected","purpurColorTextStatusDiscount","purpurColorTextStatusErrorStrong","purpurColorTextStatusErrorStrongNegative","purpurColorTextStatusErrorMedium","purpurColorTextStatusErrorMediumNegative","purpurColorTextStatusSuccessStrong","purpurColorTextStatusSuccessStrongNegative","purpurColorTextStatusSuccessMedium","purpurColorTextStatusWarningStrong","purpurColorTextStatusWarningMedium","purpurColorTextStatusWarningMediumNegative","purpurColorTextStatusInfoStrong","purpurColorTextStatusInfoMedium","purpurColorTextStatusNeutral","purpurColorTextStatusSpecial","purpurColorTextStatusAttention","purpurColorTextStatusBlackFriday","purpurColorTextToneOnTonePrimary","purpurColorTextToneOnToneSecondary","purpurColorTextToneOnToneTertiary","purpurColorBackgroundPrimary","purpurColorBackgroundPrimaryNegative","purpurColorBackgroundSecondary","purpurColorBackgroundSecondaryNegative","purpurColorBackgroundOnImage","purpurColorBackgroundOnImageNegative","purpurColorBackgroundInteractiveAutoFill","purpurColorBackgroundInteractivePrimary","purpurColorBackgroundInteractivePrimaryHover","purpurColorBackgroundInteractivePrimaryActive","purpurColorBackgroundInteractivePrimaryNegative","purpurColorBackgroundInteractivePrimaryHoverNegative","purpurColorBackgroundInteractivePrimaryActiveNegative","purpurColorBackgroundInteractiveExpressive","purpurColorBackgroundInteractiveExpressiveHover","purpurColorBackgroundInteractiveExpressiveActive","purpurColorBackgroundInteractiveExpressiveNegative","purpurColorBackgroundInteractiveExpressiveHoverNegative","purpurColorBackgroundInteractiveExpressiveActiveNegative","purpurColorBackgroundInteractiveDisabled","purpurColorBackgroundInteractiveDisabledNegative","purpurColorBackgroundInteractiveTransparentHover","purpurColorBackgroundInteractiveTransparentHoverNegative","purpurColorBackgroundInteractiveTransparentActive","purpurColorBackgroundInteractiveTransparentActiveNegative","purpurColorBackgroundInteractiveInactive","purpurColorBackgroundInteractiveInactiveNegative","purpurColorBackgroundInteractiveReadOnly","purpurColorBackgroundInteractiveReadOnlyNegative","purpurColorBackgroundInteractiveDestructive","purpurColorBackgroundInteractiveDestructiveHover","purpurColorBackgroundInteractiveDestructiveActive","purpurColorBackgroundStatusInfoMedium","purpurColorBackgroundStatusInfoStrong","purpurColorBackgroundStatusSuccessMedium","purpurColorBackgroundStatusSuccessStrong","purpurColorBackgroundStatusSuccessStrongNegative","purpurColorBackgroundStatusErrorMedium","purpurColorBackgroundStatusErrorStrong","purpurColorBackgroundStatusErrorStrongNegative","purpurColorBackgroundStatusWarningMedium","purpurColorBackgroundStatusWarningStrong","purpurColorBackgroundStatusWarningStrongNegative","purpurColorBackgroundStatusNeutral","purpurColorBackgroundStatusSpecial","purpurColorBackgroundStatusAttention","purpurColorBackgroundStatusBlackFriday","purpurColorBackgroundToneOnTonePrimary","purpurColorBackgroundToneOnToneSecondary","purpurColorBackgroundToneOnToneTertiary","purpurColorBackgroundToneOnToneQuaternary","purpurColorBorderMedium","purpurColorBorderMediumNegative","purpurColorBorderStrong","purpurColorBorderStrongNegative","purpurColorBorderWeak","purpurColorBorderWeakNegative","purpurColorBorderInteractiveFocus","purpurColorBorderInteractivePrimary","purpurColorBorderInteractivePrimaryNegative","purpurColorBorderInteractivePrimaryHover","purpurColorBorderInteractivePrimaryActive","purpurColorBorderInteractivePrimaryHoverNegative","purpurColorBorderInteractivePrimaryActiveNegative","purpurColorBorderInteractiveExpressive","purpurColorBorderInteractiveSelected","purpurColorBorderInteractiveSubtle","purpurColorBorderInteractiveSubtleNegative","purpurColorBorderInteractiveSubtleHover","purpurColorBorderInteractiveSubtleHoverNegative","purpurColorBorderStatusError","purpurColorBorderStatusErrorNegative","purpurColorBorderStatusWarning","purpurColorBorderStatusInfo","purpurColorBorderStatusSuccess","purpurColorBorderStatusSuccessNegative","light","teliaTheme","SPLIT_LOWER_UPPER_RE","SPLIT_UPPER_UPPER_RE","SPLIT_SEPARATE_NUMBER_RE","DEFAULT_STRIP_REGEXP","SPLIT_REPLACE_VALUE","DEFAULT_PREFIX_SUFFIX_CHARACTERS","split","value","result","start","end","splitSeparateNumbers","words","i","word","match","offset","noCase","input","options","prefix","suffix","splitPrefixSuffix","lowerFactory","kebabCase","locale","splitFn","prefixCharacters","suffixCharacters","prefixIndex","suffixIndex","char","index","useApplyTheme","theme","cssVariablesSelector","currentColorScheme","useEffect","key","ThemeContext","createContext","ThemeProvider","forceColorScheme","children","props","colorScheme","setColorScheme","useState","setCurrentColorScheme","savedColorScheme","mediaQuery","handleChange","e","contextValue","useMemo","scheme","useTheme","context","useContext","useColorScheme"],"mappings":"wIAEaA,EAAO,CAClB,qBAAsB,iCACtB,qBAAsB,iCACtB,sBAAuB,iCACvB,oBAAqB,gCACrB,gBAAiB,gCACjB,qBAAsB,gCACtB,mBAAoB,uCACpB,gBAAiB,+BAEjB,iBAAkB,4CAClB,gBAAiB,4CACjB,cAAe,4CACf,yBAA0B,4CAC1B,wBAAyB,4CACzB,sBAAuB,4CAEvB,4BAA6B,iCAC7B,iCAAkC,iCAClC,kCAAmC,iCACnC,8BAA+B,iCAC/B,iCAAkC,uCAClC,sCAAuC,iCACvC,uCAAwC,iCACxC,kCAAmC,uCACnC,6BAA8B,iCAC9B,oCAAqC,iCACrC,yCAA0C,iCAC1C,0CAA2C,iCAC3C,sCAAuC,uCACvC,yCAA0C,uCAC1C,8CAA+C,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gBC,GAA2B,CAC3C,CAACV,GAAoBG,IAAgB,QACvCG,EAAsBI,EAAE,QAAU,OAAS,OAAO,CAEtD,EAEA,OAAAF,EAAW,iBAAiB,SAAUC,CAAY,EAE3C,IAAM,CACXD,EAAW,oBAAoB,SAAUC,CAAY,CACvD,CACF,EAAG,CAACN,EAAaH,CAAgB,CAAC,EAElCT,EAAc,CAAE,MAAAC,EAAO,qBAAAC,EAAsB,mBAAAC,CAAA,CAAoB,EAEjE,MAAMiB,EAAeC,EAAAA,QACnB,KAAO,CACL,YAAAT,EACA,mBAAAT,EACA,eAAiBmB,GAAyB,CACnCb,IACHI,EAAeS,CAAM,EACrB,aAAa,QAAQ,cAAeA,CAAM,EAE9C,CAAA,GAEF,CAACV,EAAaT,EAAoBM,CAAgB,CAAA,EAGpD,aACGH,EAAa,SAAb,CAAsB,MAAO,CAAE,GAAGc,EAAc,QAAAlC,CAAA,EAC/C,eAAC,MAAA,CAAI,UAAWiB,EAAqB,GAAGQ,EACrC,SAAAD,EACH,EACF,CAEJ,EAEaa,EAAW,IAAwB,CAC9C,MAAMC,EAAUC,EAAAA,WAAWnB,CAAY,EACvC,GAAI,CAACkB,EACH,MAAM,IAAI,MAAM,8CAA8C,EAEhE,OAAOA,CACT,EClHaE,GAAiB,IAA2D,CACvF,KAAM,CAAE,mBAAAvB,EAAoB,eAAAU,CAAA,EAAmBU,EAAA,EAC/C,MAAO,CAACpB,EAAoBU,CAAc,CAC5C","x_google_ignoreList":[4]}
1
+ {"version":3,"file":"theme.cjs.js","sources":["../../tokens/color/variables.dark.js","../src/telia-dark.ts","../../tokens/color/variables.js","../src/telia-light.ts","../src/telia-theme.ts","../../../common/temp/node_modules/.pnpm/change-case@5.4.4/node_modules/change-case/dist/index.js","../src/useApplyTheme.ts","../src/ThemeProvider.tsx","../src/useColorScheme.ts"],"sourcesContent":["export const purpurColorPurple50 = \"#faf0ff\";\nexport const purpurColorPurple100 = \"#f4e0ff\";\nexport const purpurColorPurple200 = \"#e4b6fb\";\nexport const purpurColorPurple300 = \"#d58df9\";\nexport const purpurColorPurple400 = \"#c461f7\";\nexport const purpurColorPurple500 = \"#b12df4\";\nexport const purpurColorPurple550 = \"#990ae3\";\nexport const purpurColorPurple600 = \"#8c07d0\";\nexport const purpurColorPurple700 = \"#6d02a3\";\nexport const purpurColorPurple800 = \"#4e0174\";\nexport const purpurColorPurple900 = \"#29003e\";\nexport const purpurColorPurple950 = \"#1f002e\";\nexport const purpurColorBeige50 = \"#f9f1ec\";\nexport const purpurColorBeige100 = \"#ede1d8\";\nexport const purpurColorBeige200 = \"#d7c3b5\";\nexport const purpurColorBeige300 = \"#bba494\";\nexport const purpurColorBeige400 = \"#a08877\";\nexport const purpurColorBeige500 = \"#807268\";\nexport const purpurColorBeige600 = \"#665e58\";\nexport const purpurColorBeige700 = \"#4f4741\";\nexport const purpurColorBeige800 = \"#3b332d\";\nexport const purpurColorBeige900 = \"#2d2824\";\nexport const purpurColorBeige950 = \"#170f09\";\nexport const purpurColorTeal50 = \"#edf5f5\";\nexport const purpurColorTeal100 = \"#d5eae9\";\nexport const purpurColorTeal200 = \"#a1cfcd\";\nexport const purpurColorTeal300 = \"#6eb5b2\";\nexport const purpurColorTeal400 = \"#3a9b96\";\nexport const purpurColorTeal500 = \"#00847e\";\nexport const purpurColorTeal600 = \"#006c67\";\nexport const purpurColorTeal700 = \"#02534f\";\nexport const purpurColorTeal800 = \"#063c39\";\nexport const purpurColorTeal900 = \"#032220\";\nexport const purpurColorTeal950 = \"#011413\";\nexport const purpurColorGray50 = \"#f5f5fa\";\nexport const purpurColorGray100 = \"#e5e5eb\";\nexport const purpurColorGray150 = \"#d6d6dd\";\nexport const purpurColorGray200 = \"#c6c6cd\";\nexport const purpurColorGray300 = \"#aaaab0\";\nexport const purpurColorGray400 = \"#8d8d94\";\nexport const purpurColorGray500 = \"#757579\";\nexport const purpurColorGray600 = \"#5f5f63\";\nexport const purpurColorGray700 = \"#4a4a4d\";\nexport const purpurColorGray800 = \"#353537\";\nexport const purpurColorGray850 = \"#2a2a2c\";\nexport const purpurColorGray900 = \"#202022\";\nexport const purpurColorGray950 = \"#121212\";\nexport const purpurColorGreen50 = \"#e1f9ec\";\nexport const purpurColorGreen100 = \"#c5efd9\";\nexport const purpurColorGreen200 = \"#79d9a7\";\nexport const purpurColorGreen300 = \"#3dbf7c\";\nexport const purpurColorGreen400 = \"#1fa15e\";\nexport const purpurColorGreen500 = \"#018842\";\nexport const purpurColorGreen600 = \"#017037\";\nexport const purpurColorGreen700 = \"#02562b\";\nexport const purpurColorGreen800 = \"#003e1e\";\nexport const purpurColorGreen900 = \"#002411\";\nexport const purpurColorGreen950 = \"#00150a\";\nexport const purpurColorRed50 = \"#fff0f5\";\nexport const purpurColorRed100 = \"#ffdde8\";\nexport const purpurColorRed200 = \"#ffafc9\";\nexport const purpurColorRed300 = \"#ff80ab\";\nexport const purpurColorRed400 = \"#fb4885\";\nexport const purpurColorRed500 = \"#e4175c\";\nexport const purpurColorRed600 = \"#c00543\";\nexport const purpurColorRed700 = \"#980233\";\nexport const purpurColorRed800 = \"#700025\";\nexport const purpurColorRed900 = \"#440016\";\nexport const purpurColorRed950 = \"#2c000e\";\nexport const purpurColorOrange50 = \"#fff2de\";\nexport const purpurColorOrange100 = \"#ffe1b3\";\nexport const purpurColorOrange200 = \"#f9bb5b\";\nexport const purpurColorOrange300 = \"#f39200\";\nexport const purpurColorOrange400 = \"#cc7a00\";\nexport const purpurColorOrange500 = \"#a86602\";\nexport const purpurColorOrange600 = \"#8b5301\";\nexport const purpurColorOrange700 = \"#6a4102\";\nexport const purpurColorOrange800 = \"#4c2f03\";\nexport const purpurColorOrange900 = \"#2b1b03\";\nexport const purpurColorOrange950 = \"#1a0f00\";\nexport const purpurColorBlue50 = \"#e8f6ff\";\nexport const purpurColorBlue100 = \"#caeaff\";\nexport const purpurColorBlue200 = \"#91cdf4\";\nexport const purpurColorBlue300 = \"#62b2e7\";\nexport const purpurColorBlue400 = \"#3694d3\";\nexport const purpurColorBlue500 = \"#0078cb\";\nexport const purpurColorBlue600 = \"#0063a6\";\nexport const purpurColorBlue700 = \"#014d80\";\nexport const purpurColorBlue800 = \"#03385b\";\nexport const purpurColorBlue900 = \"#002036\";\nexport const purpurColorBlue950 = \"#011320\";\nexport const purpurColorTransparentBlack50 = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorTransparentBlack100 = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorTransparentBlack150 = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorTransparentBlack200 = \"rgba(0, 0, 0, 0.22)\";\nexport const purpurColorTransparentBlack300 = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorTransparentBlack400 = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTransparentBlack500 = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTransparentBlack600 = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTransparentBlack700 = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTransparentBlack800 = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTransparentBlack850 = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTransparentBlack900 = \"rgba(0, 0, 0, 0.88)\";\nexport const purpurColorTransparentBlack950 = \"rgba(0, 0, 0, 0.93)\";\nexport const purpurColorTransparentWhite50 = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorTransparentWhite100 = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorTransparentWhite150 = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorTransparentWhite200 = \"rgba(255, 255, 255, 0.21)\";\nexport const purpurColorTransparentWhite300 = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorTransparentWhite400 = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTransparentWhite500 = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorTransparentWhite600 = \"rgba(255, 255, 255, 0.55)\";\nexport const purpurColorTransparentWhite700 = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTransparentWhite800 = \"rgba(255, 255, 255, 0.79)\";\nexport const purpurColorTransparentWhite850 = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorTransparentWhite900 = \"rgba(255, 255, 255, 0.89)\";\nexport const purpurColorTransparentWhite950 = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorFunctionalBlack = \"#000000\";\nexport const purpurColorFunctionalWhite = \"#ffffff\";\nexport const purpurColorFunctionalTransparent = \"rgba(255, 255, 255, 0)\";\nexport const purpurColorBrandDeepPurple = \"#f4e0ff\";\nexport const purpurColorBrandCorePurple = \"#c461f7\";\nexport const purpurColorBrandLightPurple = \"#29003e\";\nexport const purpurColorBrandDeepBeige = \"#ede1d8\";\nexport const purpurColorBrandBeige = \"#4f4741\";\nexport const purpurColorBrandLightBeige = \"#3b332d\";\nexport const purpurColorBrandOffBlack = \"#ffffff\";\nexport const purpurColorBrandWhite = \"#202022\";\nexport const purpurColorTextDefault = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorTextMedium = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTextWeak = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTextDefaultNegative = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTextMediumNegative = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTextWeakNegative = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTextInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryHover = \"#e4b6fb\";\nexport const purpurColorTextInteractivePrimaryActive = \"#d58df9\";\nexport const purpurColorTextInteractiveOnPrimary = \"#4e0174\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#ffffff\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHover = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveHoverNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveActive = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveActiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnDestructive = \"#ffffff\";\nexport const purpurColorTextInteractiveSelected = \"#d58df9\";\nexport const purpurColorTextStatusDiscount = \"#d58df9\";\nexport const purpurColorTextStatusErrorStrong = \"#ffafc9\";\nexport const purpurColorTextStatusErrorStrongNegative = \"#980233\";\nexport const purpurColorTextStatusErrorMedium = \"#fb4885\";\nexport const purpurColorTextStatusErrorMediumNegative = \"#e4175c\";\nexport const purpurColorTextStatusSuccessStrong = \"#79d9a7\";\nexport const purpurColorTextStatusSuccessStrongNegative = \"#02562b\";\nexport const purpurColorTextStatusSuccessMedium = \"#1fa15e\";\nexport const purpurColorTextStatusWarningStrong = \"#f9bb5b\";\nexport const purpurColorTextStatusWarningMedium = \"#f39200\";\nexport const purpurColorTextStatusWarningMediumNegative = \"#a86602\";\nexport const purpurColorTextStatusInfoStrong = \"#91cdf4\";\nexport const purpurColorTextStatusInfoMedium = \"#3694d3\";\nexport const purpurColorTextStatusNeutral = \"#ffffff\";\nexport const purpurColorTextStatusSpecial = \"#ffffff\";\nexport const purpurColorTextStatusAttention = \"#4e0174\";\nexport const purpurColorTextStatusBlackFriday = \"#202022\";\nexport const purpurColorTextToneOnTonePrimary = \"#29003e\";\nexport const purpurColorTextToneOnToneSecondary = \"#f4e0ff\";\nexport const purpurColorTextToneOnToneTertiary = \"#ffffff\";\nexport const purpurColorBackgroundPrimary = \"#121212\";\nexport const purpurColorBackgroundPrimaryNegative = \"#ffffff\";\nexport const purpurColorBackgroundSecondary = \"#202022\";\nexport const purpurColorBackgroundSecondaryNegative = \"#f5f5fa\";\nexport const purpurColorBackgroundOnImage = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorBackgroundOnImageNegative = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorBackgroundInteractiveAutoFill = \"#03385b\";\nexport const purpurColorBackgroundInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractivePrimaryHover = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractivePrimaryActive = \"#d58df9\";\nexport const purpurColorBackgroundInteractivePrimaryNegative = \"#4e0174\";\nexport const purpurColorBackgroundInteractivePrimaryHoverNegative = \"#6d02a3\";\nexport const purpurColorBackgroundInteractivePrimaryActiveNegative = \"#8c07d0\";\nexport const purpurColorBackgroundInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHover = \"#c461f7\";\nexport const purpurColorBackgroundInteractiveExpressiveActive = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveExpressiveNegative = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHoverNegative =\n \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveExpressiveActiveNegative =\n \"#4e0174\";\nexport const purpurColorBackgroundInteractiveDisabled =\n \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveDisabledNegative =\n \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorBackgroundInteractiveTransparentHover = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveTransparentHoverNegative =\n \"#e4b6fb\";\nexport const purpurColorBackgroundInteractiveTransparentActive = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveTransparentActiveNegative =\n \"#d58df9\";\nexport const purpurColorBackgroundInteractiveInactive =\n \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBackgroundInteractiveInactiveNegative =\n \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveReadOnly =\n \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorBackgroundInteractiveReadOnlyNegative =\n \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveDestructive = \"#e4175c\";\nexport const purpurColorBackgroundInteractiveDestructiveHover = \"#c00543\";\nexport const purpurColorBackgroundInteractiveDestructiveActive = \"#980233\";\nexport const purpurColorBackgroundStatusInfoMedium = \"#03385b\";\nexport const purpurColorBackgroundStatusInfoStrong = \"#62b2e7\";\nexport const purpurColorBackgroundStatusSuccessMedium = \"#003e1e\";\nexport const purpurColorBackgroundStatusSuccessStrong = \"#3dbf7c\";\nexport const purpurColorBackgroundStatusSuccessStrongNegative = \"#1fa15e\";\nexport const purpurColorBackgroundStatusErrorMedium = \"#700025\";\nexport const purpurColorBackgroundStatusErrorStrong = \"#ff80ab\";\nexport const purpurColorBackgroundStatusErrorStrongNegative = \"#fb4885\";\nexport const purpurColorBackgroundStatusWarningMedium = \"#4c2f03\";\nexport const purpurColorBackgroundStatusWarningStrong = \"#f39200\";\nexport const purpurColorBackgroundStatusWarningStrongNegative = \"#f39200\";\nexport const purpurColorBackgroundStatusNeutral = \"#353537\";\nexport const purpurColorBackgroundStatusSpecial = \"#6d02a3\";\nexport const purpurColorBackgroundStatusAttention = \"#f4e0ff\";\nexport const purpurColorBackgroundStatusBlackFriday = \"#ffffff\";\nexport const purpurColorBackgroundToneOnTonePrimary = \"#f4e0ff\";\nexport const purpurColorBackgroundToneOnToneSecondary = \"#29003e\";\nexport const purpurColorBackgroundToneOnToneTertiary = \"#4f4741\";\nexport const purpurColorBackgroundToneOnToneQuaternary = \"#2d2824\";\nexport const purpurColorBorderMedium = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorBorderMediumNegative = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorBorderStrong = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderStrongNegative = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorBorderWeak = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBorderWeakNegative = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorBorderInteractiveFocus = \"#c461f7\";\nexport const purpurColorBorderInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#e4b6fb\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#e4b6fb\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#4e0174\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#29003e\";\nexport const purpurColorBorderInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBorderInteractiveSelected = \"#d58df9\";\nexport const purpurColorBorderInteractiveSubtle = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorBorderInteractiveSubtleNegative = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorBorderInteractiveSubtleHover = \"#e4b6fb\";\nexport const purpurColorBorderInteractiveSubtleHoverNegative = \"#6d02a3\";\nexport const purpurColorBorderStatusError = \"#fb4885\";\nexport const purpurColorBorderStatusErrorNegative = \"#e4175c\";\nexport const purpurColorBorderStatusWarning = \"#f39200\";\nexport const purpurColorBorderStatusInfo = \"#3694d3\";\nexport const purpurColorBorderStatusSuccess = \"#1fa15e\";\nexport const purpurColorBorderStatusSuccessNegative = \"#018842\";\nexport const purpurColorOverlayDefault = \"rgba(0, 0, 0, 0.33)\";\n","import {\n purpurColorBackgroundInteractiveAutoFill,\n purpurColorBackgroundInteractiveDestructive,\n purpurColorBackgroundInteractiveDestructiveActive,\n purpurColorBackgroundInteractiveDestructiveHover,\n purpurColorBackgroundInteractiveDisabled,\n purpurColorBackgroundInteractiveDisabledNegative,\n purpurColorBackgroundInteractiveExpressive,\n purpurColorBackgroundInteractiveExpressiveActive,\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n purpurColorBackgroundInteractiveExpressiveHover,\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n purpurColorBackgroundInteractiveExpressiveNegative,\n purpurColorBackgroundInteractiveInactive,\n purpurColorBackgroundInteractiveInactiveNegative,\n purpurColorBackgroundInteractivePrimary,\n purpurColorBackgroundInteractivePrimaryActive,\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n purpurColorBackgroundInteractivePrimaryHover,\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n purpurColorBackgroundInteractivePrimaryNegative,\n purpurColorBackgroundInteractiveReadOnly,\n purpurColorBackgroundInteractiveReadOnlyNegative,\n purpurColorBackgroundInteractiveTransparentActive,\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n purpurColorBackgroundInteractiveTransparentHover,\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n purpurColorBackgroundOnImage,\n purpurColorBackgroundOnImageNegative,\n purpurColorBackgroundPrimary,\n purpurColorBackgroundPrimaryNegative,\n purpurColorBackgroundSecondary,\n purpurColorBackgroundSecondaryNegative,\n purpurColorBackgroundStatusAttention,\n purpurColorBackgroundStatusBlackFriday,\n purpurColorBackgroundStatusErrorMedium,\n purpurColorBackgroundStatusErrorStrong,\n purpurColorBackgroundStatusErrorStrongNegative,\n purpurColorBackgroundStatusInfoMedium,\n purpurColorBackgroundStatusInfoStrong,\n purpurColorBackgroundStatusNeutral,\n purpurColorBackgroundStatusSpecial,\n purpurColorBackgroundStatusSuccessMedium,\n purpurColorBackgroundStatusSuccessStrong,\n purpurColorBackgroundStatusSuccessStrongNegative,\n purpurColorBackgroundStatusWarningMedium,\n purpurColorBackgroundStatusWarningStrong,\n purpurColorBackgroundStatusWarningStrongNegative,\n purpurColorBackgroundToneOnTonePrimary,\n purpurColorBackgroundToneOnToneQuaternary,\n purpurColorBackgroundToneOnToneSecondary,\n purpurColorBackgroundToneOnToneTertiary,\n purpurColorBorderInteractiveExpressive,\n purpurColorBorderInteractiveFocus,\n purpurColorBorderInteractivePrimary,\n purpurColorBorderInteractivePrimaryActive,\n purpurColorBorderInteractivePrimaryActiveNegative,\n purpurColorBorderInteractivePrimaryHover,\n purpurColorBorderInteractivePrimaryHoverNegative,\n purpurColorBorderInteractivePrimaryNegative,\n purpurColorBorderInteractiveSelected,\n purpurColorBorderInteractiveSubtle,\n purpurColorBorderInteractiveSubtleHover,\n purpurColorBorderInteractiveSubtleHoverNegative,\n purpurColorBorderInteractiveSubtleNegative,\n purpurColorBorderMedium,\n purpurColorBorderMediumNegative,\n purpurColorBorderStatusError,\n purpurColorBorderStatusErrorNegative,\n purpurColorBorderStatusInfo,\n purpurColorBorderStatusSuccess,\n purpurColorBorderStatusSuccessNegative,\n purpurColorBorderStatusWarning,\n purpurColorBorderStrong,\n purpurColorBorderStrongNegative,\n purpurColorBorderWeak,\n purpurColorBorderWeakNegative,\n purpurColorBrandBeige,\n purpurColorBrandCorePurple,\n purpurColorBrandDeepBeige,\n purpurColorBrandDeepPurple,\n purpurColorBrandLightBeige,\n purpurColorBrandLightPurple,\n purpurColorBrandOffBlack,\n purpurColorBrandWhite,\n purpurColorTextDefault,\n purpurColorTextDefaultNegative,\n purpurColorTextInteractiveOnDestructive,\n purpurColorTextInteractiveOnExpressive,\n purpurColorTextInteractiveOnExpressiveActive,\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n purpurColorTextInteractiveOnExpressiveHover,\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n purpurColorTextInteractiveOnExpressiveNegative,\n purpurColorTextInteractiveOnPrimary,\n purpurColorTextInteractiveOnPrimaryNegative,\n purpurColorTextInteractivePrimary,\n purpurColorTextInteractivePrimaryActive,\n purpurColorTextInteractivePrimaryActiveNegative,\n purpurColorTextInteractivePrimaryHover,\n purpurColorTextInteractivePrimaryHoverNegative,\n purpurColorTextInteractivePrimaryNegative,\n purpurColorTextInteractiveSelected,\n purpurColorTextMedium,\n purpurColorTextMediumNegative,\n purpurColorTextStatusAttention,\n purpurColorTextStatusBlackFriday,\n purpurColorTextStatusDiscount,\n purpurColorTextStatusErrorMedium,\n purpurColorTextStatusErrorMediumNegative,\n purpurColorTextStatusErrorStrong,\n purpurColorTextStatusErrorStrongNegative,\n purpurColorTextStatusInfoMedium,\n purpurColorTextStatusInfoStrong,\n purpurColorTextStatusNeutral,\n purpurColorTextStatusSpecial,\n purpurColorTextStatusSuccessMedium,\n purpurColorTextStatusSuccessStrong,\n purpurColorTextStatusSuccessStrongNegative,\n purpurColorTextStatusWarningMedium,\n purpurColorTextStatusWarningMediumNegative,\n purpurColorTextStatusWarningStrong,\n purpurColorTextToneOnTonePrimary,\n purpurColorTextToneOnToneSecondary,\n purpurColorTextToneOnToneTertiary,\n purpurColorTextWeak,\n purpurColorTextWeakNegative,\n} from \"@purpurds/tokens/dark\";\n\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const dark = {\n colorBrandDeepPurple: purpurColorBrandDeepPurple,\n colorBrandCorePurple: purpurColorBrandCorePurple,\n colorBrandLightPurple: purpurColorBrandLightPurple,\n colorBrandDeepBeige: purpurColorBrandDeepBeige,\n colorBrandBeige: purpurColorBrandBeige,\n colorBrandLightBeige: purpurColorBrandLightBeige,\n colorBrandOffBlack: purpurColorBrandOffBlack,\n colorBrandWhite: purpurColorBrandWhite,\n\n colorTextDefault: purpurColorTextDefault,\n colorTextMedium: purpurColorTextMedium,\n colorTextWeak: purpurColorTextWeak,\n colorTextDefaultNegative: purpurColorTextDefaultNegative,\n colorTextMediumNegative: purpurColorTextMediumNegative,\n colorTextWeakNegative: purpurColorTextWeakNegative,\n\n colorTextInteractivePrimary: purpurColorTextInteractivePrimary,\n colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,\n colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,\n colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,\n colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,\n colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,\n colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,\n colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,\n colorTextInteractiveSelected: purpurColorTextInteractiveSelected,\n colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,\n colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,\n colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,\n colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,\n colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,\n colorTextInteractiveOnExpressiveHoverNegative:\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n colorTextInteractiveOnExpressiveActiveNegative:\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n\n colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,\n colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,\n colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,\n colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,\n colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,\n colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,\n colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,\n colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,\n colorTextStatusNeutral: purpurColorTextStatusNeutral,\n colorTextStatusSpecial: purpurColorTextStatusSpecial,\n colorTextStatusAttention: purpurColorTextStatusAttention,\n colorTextStatusDiscount: purpurColorTextStatusDiscount,\n colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,\n colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,\n colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,\n colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,\n colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,\n\n colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,\n colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,\n colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,\n\n colorBackgroundPrimary: purpurColorBackgroundPrimary,\n colorBackgroundSecondary: purpurColorBackgroundSecondary,\n colorBackgroundOnImage: purpurColorBackgroundOnImage,\n colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,\n colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,\n colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,\n\n colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,\n colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,\n colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,\n colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,\n colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,\n colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,\n colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,\n colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,\n colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,\n colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,\n colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,\n colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,\n colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,\n colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,\n colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,\n colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,\n colorBackgroundInteractivePrimaryHoverNegative:\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n colorBackgroundInteractivePrimaryActiveNegative:\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,\n colorBackgroundInteractiveExpressiveHoverNegative:\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n colorBackgroundInteractiveExpressiveActiveNegative:\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n colorBackgroundInteractiveTransparentHoverNegative:\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n colorBackgroundInteractiveTransparentActiveNegative:\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,\n colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,\n colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,\n\n colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,\n colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,\n colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,\n colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,\n colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,\n colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,\n colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,\n colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,\n colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,\n colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,\n colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,\n colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,\n colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,\n colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,\n colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,\n\n colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,\n colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,\n colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,\n colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,\n\n colorBorderWeak: purpurColorBorderWeak,\n colorBorderMedium: purpurColorBorderMedium,\n colorBorderStrong: purpurColorBorderStrong,\n colorBorderWeakNegative: purpurColorBorderWeakNegative,\n colorBorderMediumNegative: purpurColorBorderMediumNegative,\n colorBorderStrongNegative: purpurColorBorderStrongNegative,\n\n colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,\n colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,\n colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,\n colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,\n colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,\n colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,\n colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,\n colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,\n colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,\n colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,\n colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,\n colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,\n colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,\n\n colorBorderStatusError: purpurColorBorderStatusError,\n colorBorderStatusWarning: purpurColorBorderStatusWarning,\n colorBorderStatusInfo: purpurColorBorderStatusInfo,\n colorBorderStatusSuccess: purpurColorBorderStatusSuccess,\n colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,\n colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,\n} satisfies ThemeProps;\n","export const purpurColorPurple50 = \"#faf0ff\";\nexport const purpurColorPurple100 = \"#f4e0ff\";\nexport const purpurColorPurple200 = \"#e4b6fb\";\nexport const purpurColorPurple300 = \"#d58df9\";\nexport const purpurColorPurple400 = \"#c461f7\";\nexport const purpurColorPurple500 = \"#b12df4\";\nexport const purpurColorPurple550 = \"#990ae3\";\nexport const purpurColorPurple600 = \"#8c07d0\";\nexport const purpurColorPurple700 = \"#6d02a3\";\nexport const purpurColorPurple800 = \"#4e0174\";\nexport const purpurColorPurple900 = \"#29003e\";\nexport const purpurColorPurple950 = \"#1f002e\";\nexport const purpurColorBeige50 = \"#f9f1ec\";\nexport const purpurColorBeige100 = \"#ede1d8\";\nexport const purpurColorBeige200 = \"#d7c3b5\";\nexport const purpurColorBeige300 = \"#bba494\";\nexport const purpurColorBeige400 = \"#a08877\";\nexport const purpurColorBeige500 = \"#807268\";\nexport const purpurColorBeige600 = \"#665e58\";\nexport const purpurColorBeige700 = \"#4f4741\";\nexport const purpurColorBeige800 = \"#3b332d\";\nexport const purpurColorBeige900 = \"#2d2824\";\nexport const purpurColorBeige950 = \"#170f09\";\nexport const purpurColorTeal50 = \"#edf5f5\";\nexport const purpurColorTeal100 = \"#d5eae9\";\nexport const purpurColorTeal200 = \"#a1cfcd\";\nexport const purpurColorTeal300 = \"#6eb5b2\";\nexport const purpurColorTeal400 = \"#3a9b96\";\nexport const purpurColorTeal500 = \"#00847e\";\nexport const purpurColorTeal600 = \"#006c67\";\nexport const purpurColorTeal700 = \"#02534f\";\nexport const purpurColorTeal800 = \"#063c39\";\nexport const purpurColorTeal900 = \"#032220\";\nexport const purpurColorTeal950 = \"#011413\";\nexport const purpurColorGray50 = \"#f5f5fa\";\nexport const purpurColorGray100 = \"#e5e5eb\";\nexport const purpurColorGray150 = \"#d6d6dd\";\nexport const purpurColorGray200 = \"#c6c6cd\";\nexport const purpurColorGray300 = \"#aaaab0\";\nexport const purpurColorGray400 = \"#8d8d94\";\nexport const purpurColorGray500 = \"#757579\";\nexport const purpurColorGray600 = \"#5f5f63\";\nexport const purpurColorGray700 = \"#4a4a4d\";\nexport const purpurColorGray800 = \"#353537\";\nexport const purpurColorGray850 = \"#2a2a2c\";\nexport const purpurColorGray900 = \"#202022\";\nexport const purpurColorGray950 = \"#121212\";\nexport const purpurColorGreen50 = \"#e1f9ec\";\nexport const purpurColorGreen100 = \"#c5efd9\";\nexport const purpurColorGreen200 = \"#79d9a7\";\nexport const purpurColorGreen300 = \"#3dbf7c\";\nexport const purpurColorGreen400 = \"#1fa15e\";\nexport const purpurColorGreen500 = \"#018842\";\nexport const purpurColorGreen600 = \"#017037\";\nexport const purpurColorGreen700 = \"#02562b\";\nexport const purpurColorGreen800 = \"#003e1e\";\nexport const purpurColorGreen900 = \"#002411\";\nexport const purpurColorGreen950 = \"#00150a\";\nexport const purpurColorRed50 = \"#fff0f5\";\nexport const purpurColorRed100 = \"#ffdde8\";\nexport const purpurColorRed200 = \"#ffafc9\";\nexport const purpurColorRed300 = \"#ff80ab\";\nexport const purpurColorRed400 = \"#fb4885\";\nexport const purpurColorRed500 = \"#e4175c\";\nexport const purpurColorRed600 = \"#c00543\";\nexport const purpurColorRed700 = \"#980233\";\nexport const purpurColorRed800 = \"#700025\";\nexport const purpurColorRed900 = \"#440016\";\nexport const purpurColorRed950 = \"#2c000e\";\nexport const purpurColorOrange50 = \"#fff2de\";\nexport const purpurColorOrange100 = \"#ffe1b3\";\nexport const purpurColorOrange200 = \"#f9bb5b\";\nexport const purpurColorOrange300 = \"#f39200\";\nexport const purpurColorOrange400 = \"#cc7a00\";\nexport const purpurColorOrange500 = \"#a86602\";\nexport const purpurColorOrange600 = \"#8b5301\";\nexport const purpurColorOrange700 = \"#6a4102\";\nexport const purpurColorOrange800 = \"#4c2f03\";\nexport const purpurColorOrange900 = \"#2b1b03\";\nexport const purpurColorOrange950 = \"#1a0f00\";\nexport const purpurColorBlue50 = \"#e8f6ff\";\nexport const purpurColorBlue100 = \"#caeaff\";\nexport const purpurColorBlue200 = \"#91cdf4\";\nexport const purpurColorBlue300 = \"#62b2e7\";\nexport const purpurColorBlue400 = \"#3694d3\";\nexport const purpurColorBlue500 = \"#0078cb\";\nexport const purpurColorBlue600 = \"#0063a6\";\nexport const purpurColorBlue700 = \"#014d80\";\nexport const purpurColorBlue800 = \"#03385b\";\nexport const purpurColorBlue900 = \"#002036\";\nexport const purpurColorBlue950 = \"#011320\";\nexport const purpurColorTransparentBlack50 = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorTransparentBlack100 = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorTransparentBlack150 = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorTransparentBlack200 = \"rgba(0, 0, 0, 0.22)\";\nexport const purpurColorTransparentBlack300 = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorTransparentBlack400 = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTransparentBlack500 = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTransparentBlack600 = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTransparentBlack700 = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTransparentBlack800 = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTransparentBlack850 = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTransparentBlack900 = \"rgba(0, 0, 0, 0.88)\";\nexport const purpurColorTransparentBlack950 = \"rgba(0, 0, 0, 0.93)\";\nexport const purpurColorTransparentWhite50 = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorTransparentWhite100 = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorTransparentWhite150 = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorTransparentWhite200 = \"rgba(255, 255, 255, 0.21)\";\nexport const purpurColorTransparentWhite300 = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorTransparentWhite400 = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTransparentWhite500 = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorTransparentWhite600 = \"rgba(255, 255, 255, 0.55)\";\nexport const purpurColorTransparentWhite700 = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTransparentWhite800 = \"rgba(255, 255, 255, 0.79)\";\nexport const purpurColorTransparentWhite850 = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorTransparentWhite900 = \"rgba(255, 255, 255, 0.89)\";\nexport const purpurColorTransparentWhite950 = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorFunctionalBlack = \"#000000\";\nexport const purpurColorFunctionalWhite = \"#ffffff\";\nexport const purpurColorFunctionalTransparent = \"rgba(255, 255, 255, 0)\";\nexport const purpurColorBrandDeepPurple = \"#29003e\";\nexport const purpurColorBrandCorePurple = \"#990ae3\";\nexport const purpurColorBrandLightPurple = \"#f4e0ff\";\nexport const purpurColorBrandDeepBeige = \"#4f4741\";\nexport const purpurColorBrandBeige = \"#ede1d8\";\nexport const purpurColorBrandLightBeige = \"#f9f1ec\";\nexport const purpurColorBrandOffBlack = \"#202022\";\nexport const purpurColorBrandWhite = \"#ffffff\";\nexport const purpurColorTextDefault = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTextMedium = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTextWeak = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTextDefaultNegative = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorTextMediumNegative = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTextWeakNegative = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTextInteractivePrimary = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryHover = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryActive = \"#29003e\";\nexport const purpurColorTextInteractiveOnPrimary = \"#ffffff\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#e4b6fb\";\nexport const purpurColorTextInteractiveOnExpressive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHover = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHoverNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveActive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveActiveNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnDestructive = \"#ffffff\";\nexport const purpurColorTextInteractiveSelected = \"#990ae3\";\nexport const purpurColorTextStatusDiscount = \"#990ae3\";\nexport const purpurColorTextStatusErrorStrong = \"#980233\";\nexport const purpurColorTextStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorTextStatusErrorMedium = \"#e4175c\";\nexport const purpurColorTextStatusErrorMediumNegative = \"#fb4885\";\nexport const purpurColorTextStatusSuccessStrong = \"#02562b\";\nexport const purpurColorTextStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorTextStatusSuccessMedium = \"#018842\";\nexport const purpurColorTextStatusSuccessMediumNegative = \"#1fa15e\";\nexport const purpurColorTextStatusWarningStrong = \"#6a4102\";\nexport const purpurColorTextStatusWarningMedium = \"#a86602\";\nexport const purpurColorTextStatusWarningMediumNegative = \"#f39200\";\nexport const purpurColorTextStatusInfoStrong = \"#014d80\";\nexport const purpurColorTextStatusInfoMedium = \"#0078cb\";\nexport const purpurColorTextStatusNeutral = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTextStatusSpecial = \"#4e0174\";\nexport const purpurColorTextStatusAttention = \"#ffffff\";\nexport const purpurColorTextStatusBlackFriday = \"#ffffff\";\nexport const purpurColorTextToneOnTonePrimary = \"#f4e0ff\";\nexport const purpurColorTextToneOnToneSecondary = \"#29003e\";\nexport const purpurColorTextToneOnToneTertiary = \"#4f4741\";\nexport const purpurColorBackgroundPrimary = \"#ffffff\";\nexport const purpurColorBackgroundPrimaryNegative = \"#1f002e\";\nexport const purpurColorBackgroundSecondary = \"#f5f5fa\";\nexport const purpurColorBackgroundSecondaryNegative = \"#29003e\";\nexport const purpurColorBackgroundOnImage = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorBackgroundOnImageNegative = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorBackgroundInteractiveAutoFill = \"#e8f6ff\";\nexport const purpurColorBackgroundInteractivePrimary = \"#4e0174\";\nexport const purpurColorBackgroundInteractivePrimaryHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractivePrimaryActive = \"#8c07d0\";\nexport const purpurColorBackgroundInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractivePrimaryActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHover = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveExpressiveActive = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveExpressiveNegative = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHoverNegative =\n \"#c461f7\";\nexport const purpurColorBackgroundInteractiveExpressiveActiveNegative =\n \"#d58df9\";\nexport const purpurColorBackgroundInteractiveDisabled = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorBackgroundInteractiveDisabledNegative =\n \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveTransparentHover = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractiveTransparentHoverNegative =\n \"#4e0174\";\nexport const purpurColorBackgroundInteractiveTransparentActive = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractiveTransparentActiveNegative =\n \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveInactive = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveInactiveNegative =\n \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBackgroundInteractiveReadOnly = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveReadOnlyNegative =\n \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveDestructive = \"#e4175c\";\nexport const purpurColorBackgroundInteractiveDestructiveHover = \"#c00543\";\nexport const purpurColorBackgroundInteractiveDestructiveActive = \"#980233\";\nexport const purpurColorBackgroundStatusInfoMedium = \"#caeaff\";\nexport const purpurColorBackgroundStatusInfoStrong = \"#3694d3\";\nexport const purpurColorBackgroundStatusSuccessMedium = \"#c5efd9\";\nexport const purpurColorBackgroundStatusSuccessStrong = \"#1fa15e\";\nexport const purpurColorBackgroundStatusSuccessStrongNegative = \"#3dbf7c\";\nexport const purpurColorBackgroundStatusErrorMedium = \"#ffdde8\";\nexport const purpurColorBackgroundStatusErrorStrong = \"#fb4885\";\nexport const purpurColorBackgroundStatusErrorStrongNegative = \"#ff80ab\";\nexport const purpurColorBackgroundStatusWarningMedium = \"#ffe1b3\";\nexport const purpurColorBackgroundStatusWarningStrong = \"#cc7a00\";\nexport const purpurColorBackgroundStatusWarningStrongNegative = \"#f39200\";\nexport const purpurColorBackgroundStatusNeutral = \"#d6d6dd\";\nexport const purpurColorBackgroundStatusSpecial = \"#f4e0ff\";\nexport const purpurColorBackgroundStatusAttention = \"#6d02a3\";\nexport const purpurColorBackgroundStatusBlackFriday = \"#202022\";\nexport const purpurColorBackgroundToneOnTonePrimary = \"#29003e\";\nexport const purpurColorBackgroundToneOnToneSecondary = \"#f4e0ff\";\nexport const purpurColorBackgroundToneOnToneTertiary = \"#ede1d8\";\nexport const purpurColorBackgroundToneOnToneQuaternary = \"#f9f1ec\";\nexport const purpurColorBorderMedium = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorBorderMediumNegative = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorBorderStrong = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorBorderStrongNegative = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderWeak = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorBorderWeakNegative = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBorderInteractiveFocus = \"#b12df4\";\nexport const purpurColorBorderInteractivePrimary = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#4e0174\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#29003e\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#e4b6fb\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#e4b6fb\";\nexport const purpurColorBorderInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBorderInteractiveSelected = \"#990ae3\";\nexport const purpurColorBorderInteractiveSubtle = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorBorderInteractiveSubtleNegative =\n \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderInteractiveSubtleHover = \"#6d02a3\";\nexport const purpurColorBorderInteractiveSubtleHoverNegative = \"#c461f7\";\nexport const purpurColorBorderStatusError = \"#e4175c\";\nexport const purpurColorBorderStatusErrorNegative = \"#fb4885\";\nexport const purpurColorBorderStatusWarning = \"#cc7a00\";\nexport const purpurColorBorderStatusInfo = \"#0078cb\";\nexport const purpurColorBorderStatusSuccess = \"#018842\";\nexport const purpurColorBorderStatusSuccessNegative = \"#1fa15e\";\nexport const purpurColorOverlayDefault = \"rgba(0, 0, 0, 0.33)\";\n","import {\n purpurColorBackgroundInteractiveAutoFill,\n purpurColorBackgroundInteractiveDestructive,\n purpurColorBackgroundInteractiveDestructiveActive,\n purpurColorBackgroundInteractiveDestructiveHover,\n purpurColorBackgroundInteractiveDisabled,\n purpurColorBackgroundInteractiveDisabledNegative,\n purpurColorBackgroundInteractiveExpressive,\n purpurColorBackgroundInteractiveExpressiveActive,\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n purpurColorBackgroundInteractiveExpressiveHover,\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n purpurColorBackgroundInteractiveExpressiveNegative,\n purpurColorBackgroundInteractiveInactive,\n purpurColorBackgroundInteractiveInactiveNegative,\n purpurColorBackgroundInteractivePrimary,\n purpurColorBackgroundInteractivePrimaryActive,\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n purpurColorBackgroundInteractivePrimaryHover,\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n purpurColorBackgroundInteractivePrimaryNegative,\n purpurColorBackgroundInteractiveReadOnly,\n purpurColorBackgroundInteractiveReadOnlyNegative,\n purpurColorBackgroundInteractiveTransparentActive,\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n purpurColorBackgroundInteractiveTransparentHover,\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n purpurColorBackgroundOnImage,\n purpurColorBackgroundOnImageNegative,\n purpurColorBackgroundPrimary,\n purpurColorBackgroundPrimaryNegative,\n purpurColorBackgroundSecondary,\n purpurColorBackgroundSecondaryNegative,\n purpurColorBackgroundStatusAttention,\n purpurColorBackgroundStatusBlackFriday,\n purpurColorBackgroundStatusErrorMedium,\n purpurColorBackgroundStatusErrorStrong,\n purpurColorBackgroundStatusErrorStrongNegative,\n purpurColorBackgroundStatusInfoMedium,\n purpurColorBackgroundStatusInfoStrong,\n purpurColorBackgroundStatusNeutral,\n purpurColorBackgroundStatusSpecial,\n purpurColorBackgroundStatusSuccessMedium,\n purpurColorBackgroundStatusSuccessStrong,\n purpurColorBackgroundStatusSuccessStrongNegative,\n purpurColorBackgroundStatusWarningMedium,\n purpurColorBackgroundStatusWarningStrong,\n purpurColorBackgroundStatusWarningStrongNegative,\n purpurColorBackgroundToneOnTonePrimary,\n purpurColorBackgroundToneOnToneQuaternary,\n purpurColorBackgroundToneOnToneSecondary,\n purpurColorBackgroundToneOnToneTertiary,\n purpurColorBorderInteractiveExpressive,\n purpurColorBorderInteractiveFocus,\n purpurColorBorderInteractivePrimary,\n purpurColorBorderInteractivePrimaryActive,\n purpurColorBorderInteractivePrimaryActiveNegative,\n purpurColorBorderInteractivePrimaryHover,\n purpurColorBorderInteractivePrimaryHoverNegative,\n purpurColorBorderInteractivePrimaryNegative,\n purpurColorBorderInteractiveSelected,\n purpurColorBorderInteractiveSubtle,\n purpurColorBorderInteractiveSubtleHover,\n purpurColorBorderInteractiveSubtleHoverNegative,\n purpurColorBorderInteractiveSubtleNegative,\n purpurColorBorderMedium,\n purpurColorBorderMediumNegative,\n purpurColorBorderStatusError,\n purpurColorBorderStatusErrorNegative,\n purpurColorBorderStatusInfo,\n purpurColorBorderStatusSuccess,\n purpurColorBorderStatusSuccessNegative,\n purpurColorBorderStatusWarning,\n purpurColorBorderStrong,\n purpurColorBorderStrongNegative,\n purpurColorBorderWeak,\n purpurColorBorderWeakNegative,\n purpurColorBrandBeige,\n purpurColorBrandCorePurple,\n purpurColorBrandDeepBeige,\n purpurColorBrandDeepPurple,\n purpurColorBrandLightBeige,\n purpurColorBrandLightPurple,\n purpurColorBrandOffBlack,\n purpurColorBrandWhite,\n purpurColorTextDefault,\n purpurColorTextDefaultNegative,\n purpurColorTextInteractiveOnDestructive,\n purpurColorTextInteractiveOnExpressive,\n purpurColorTextInteractiveOnExpressiveActive,\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n purpurColorTextInteractiveOnExpressiveHover,\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n purpurColorTextInteractiveOnExpressiveNegative,\n purpurColorTextInteractiveOnPrimary,\n purpurColorTextInteractiveOnPrimaryNegative,\n purpurColorTextInteractivePrimary,\n purpurColorTextInteractivePrimaryActive,\n purpurColorTextInteractivePrimaryActiveNegative,\n purpurColorTextInteractivePrimaryHover,\n purpurColorTextInteractivePrimaryHoverNegative,\n purpurColorTextInteractivePrimaryNegative,\n purpurColorTextInteractiveSelected,\n purpurColorTextMedium,\n purpurColorTextMediumNegative,\n purpurColorTextStatusAttention,\n purpurColorTextStatusBlackFriday,\n purpurColorTextStatusDiscount,\n purpurColorTextStatusErrorMedium,\n purpurColorTextStatusErrorMediumNegative,\n purpurColorTextStatusErrorStrong,\n purpurColorTextStatusErrorStrongNegative,\n purpurColorTextStatusInfoMedium,\n purpurColorTextStatusInfoStrong,\n purpurColorTextStatusNeutral,\n purpurColorTextStatusSpecial,\n purpurColorTextStatusSuccessMedium,\n purpurColorTextStatusSuccessStrong,\n purpurColorTextStatusSuccessStrongNegative,\n purpurColorTextStatusWarningMedium,\n purpurColorTextStatusWarningMediumNegative,\n purpurColorTextStatusWarningStrong,\n purpurColorTextToneOnTonePrimary,\n purpurColorTextToneOnToneSecondary,\n purpurColorTextToneOnToneTertiary,\n purpurColorTextWeak,\n purpurColorTextWeakNegative,\n} from \"@purpurds/tokens\";\n\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const light = {\n colorBrandDeepPurple: purpurColorBrandDeepPurple,\n colorBrandCorePurple: purpurColorBrandCorePurple,\n colorBrandLightPurple: purpurColorBrandLightPurple,\n colorBrandDeepBeige: purpurColorBrandDeepBeige,\n colorBrandBeige: purpurColorBrandBeige,\n colorBrandLightBeige: purpurColorBrandLightBeige,\n colorBrandOffBlack: purpurColorBrandOffBlack,\n colorBrandWhite: purpurColorBrandWhite,\n\n colorTextDefault: purpurColorTextDefault,\n colorTextMedium: purpurColorTextMedium,\n colorTextWeak: purpurColorTextWeak,\n colorTextDefaultNegative: purpurColorTextDefaultNegative,\n colorTextMediumNegative: purpurColorTextMediumNegative,\n colorTextWeakNegative: purpurColorTextWeakNegative,\n\n colorTextInteractivePrimary: purpurColorTextInteractivePrimary,\n colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,\n colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,\n colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,\n colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,\n colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,\n colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,\n colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,\n colorTextInteractiveSelected: purpurColorTextInteractiveSelected,\n colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,\n colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,\n colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,\n colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,\n colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,\n colorTextInteractiveOnExpressiveHoverNegative:\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n colorTextInteractiveOnExpressiveActiveNegative:\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n\n colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,\n colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,\n colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,\n colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,\n colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,\n colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,\n colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,\n colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,\n colorTextStatusNeutral: purpurColorTextStatusNeutral,\n colorTextStatusSpecial: purpurColorTextStatusSpecial,\n colorTextStatusAttention: purpurColorTextStatusAttention,\n colorTextStatusDiscount: purpurColorTextStatusDiscount,\n colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,\n colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,\n colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,\n colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,\n colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,\n\n colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,\n colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,\n colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,\n\n colorBackgroundPrimary: purpurColorBackgroundPrimary,\n colorBackgroundSecondary: purpurColorBackgroundSecondary,\n colorBackgroundOnImage: purpurColorBackgroundOnImage,\n colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,\n colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,\n colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,\n\n colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,\n colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,\n colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,\n colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,\n colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,\n colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,\n colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,\n colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,\n colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,\n colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,\n colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,\n colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,\n colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,\n colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,\n colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,\n colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,\n colorBackgroundInteractivePrimaryHoverNegative:\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n colorBackgroundInteractivePrimaryActiveNegative:\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,\n colorBackgroundInteractiveExpressiveHoverNegative:\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n colorBackgroundInteractiveExpressiveActiveNegative:\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n colorBackgroundInteractiveTransparentHoverNegative:\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n colorBackgroundInteractiveTransparentActiveNegative:\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,\n colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,\n colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,\n\n colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,\n colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,\n colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,\n colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,\n colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,\n colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,\n colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,\n colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,\n colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,\n colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,\n colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,\n colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,\n colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,\n colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,\n colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,\n\n colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,\n colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,\n colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,\n colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,\n\n colorBorderWeak: purpurColorBorderWeak,\n colorBorderMedium: purpurColorBorderMedium,\n colorBorderStrong: purpurColorBorderStrong,\n colorBorderWeakNegative: purpurColorBorderWeakNegative,\n colorBorderMediumNegative: purpurColorBorderMediumNegative,\n colorBorderStrongNegative: purpurColorBorderStrongNegative,\n\n colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,\n colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,\n colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,\n colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,\n colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,\n colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,\n colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,\n colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,\n colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,\n colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,\n colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,\n colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,\n colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,\n\n colorBorderStatusError: purpurColorBorderStatusError,\n colorBorderStatusWarning: purpurColorBorderStatusWarning,\n colorBorderStatusInfo: purpurColorBorderStatusInfo,\n colorBorderStatusSuccess: purpurColorBorderStatusSuccess,\n colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,\n colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,\n} satisfies ThemeProps;\n","import { dark } from \"./telia-dark\";\nimport { light } from \"./telia-light\";\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const teliaTheme = {\n light,\n dark,\n} satisfies { light: ThemeProps; dark: ThemeProps };\n","// Regexps involved with splitting words in various case formats.\nconst SPLIT_LOWER_UPPER_RE = /([\\p{Ll}\\d])(\\p{Lu})/gu;\nconst SPLIT_UPPER_UPPER_RE = /(\\p{Lu})([\\p{Lu}][\\p{Ll}])/gu;\n// Used to iterate over the initial split result and separate numbers.\nconst SPLIT_SEPARATE_NUMBER_RE = /(\\d)\\p{Ll}|(\\p{L})\\d/u;\n// Regexp involved with stripping non-word characters from the result.\nconst DEFAULT_STRIP_REGEXP = /[^\\p{L}\\d]+/giu;\n// The replacement value for splits.\nconst SPLIT_REPLACE_VALUE = \"$1\\0$2\";\n// The default characters to keep after transforming case.\nconst DEFAULT_PREFIX_SUFFIX_CHARACTERS = \"\";\n/**\n * Split any cased input strings into an array of words.\n */\nexport function split(value) {\n let result = value.trim();\n result = result\n .replace(SPLIT_LOWER_UPPER_RE, SPLIT_REPLACE_VALUE)\n .replace(SPLIT_UPPER_UPPER_RE, SPLIT_REPLACE_VALUE);\n result = result.replace(DEFAULT_STRIP_REGEXP, \"\\0\");\n let start = 0;\n let end = result.length;\n // Trim the delimiter from around the output string.\n while (result.charAt(start) === \"\\0\")\n start++;\n if (start === end)\n return [];\n while (result.charAt(end - 1) === \"\\0\")\n end--;\n return result.slice(start, end).split(/\\0/g);\n}\n/**\n * Split the input string into an array of words, separating numbers.\n */\nexport function splitSeparateNumbers(value) {\n const words = split(value);\n for (let i = 0; i < words.length; i++) {\n const word = words[i];\n const match = SPLIT_SEPARATE_NUMBER_RE.exec(word);\n if (match) {\n const offset = match.index + (match[1] ?? match[2]).length;\n words.splice(i, 1, word.slice(0, offset), word.slice(offset));\n }\n }\n return words;\n}\n/**\n * Convert a string to space separated lower case (`foo bar`).\n */\nexport function noCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n return (prefix +\n words.map(lowerFactory(options?.locale)).join(options?.delimiter ?? \" \") +\n suffix);\n}\n/**\n * Convert a string to camel case (`fooBar`).\n */\nexport function camelCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n const transform = options?.mergeAmbiguousCharacters\n ? capitalCaseTransformFactory(lower, upper)\n : pascalCaseTransformFactory(lower, upper);\n return (prefix +\n words\n .map((word, index) => {\n if (index === 0)\n return lower(word);\n return transform(word, index);\n })\n .join(options?.delimiter ?? \"\") +\n suffix);\n}\n/**\n * Convert a string to pascal case (`FooBar`).\n */\nexport function pascalCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n const transform = options?.mergeAmbiguousCharacters\n ? capitalCaseTransformFactory(lower, upper)\n : pascalCaseTransformFactory(lower, upper);\n return prefix + words.map(transform).join(options?.delimiter ?? \"\") + suffix;\n}\n/**\n * Convert a string to pascal snake case (`Foo_Bar`).\n */\nexport function pascalSnakeCase(input, options) {\n return capitalCase(input, { delimiter: \"_\", ...options });\n}\n/**\n * Convert a string to capital case (`Foo Bar`).\n */\nexport function capitalCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n return (prefix +\n words\n .map(capitalCaseTransformFactory(lower, upper))\n .join(options?.delimiter ?? \" \") +\n suffix);\n}\n/**\n * Convert a string to constant case (`FOO_BAR`).\n */\nexport function constantCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n return (prefix +\n words.map(upperFactory(options?.locale)).join(options?.delimiter ?? \"_\") +\n suffix);\n}\n/**\n * Convert a string to dot case (`foo.bar`).\n */\nexport function dotCase(input, options) {\n return noCase(input, { delimiter: \".\", ...options });\n}\n/**\n * Convert a string to kebab case (`foo-bar`).\n */\nexport function kebabCase(input, options) {\n return noCase(input, { delimiter: \"-\", ...options });\n}\n/**\n * Convert a string to path case (`foo/bar`).\n */\nexport function pathCase(input, options) {\n return noCase(input, { delimiter: \"/\", ...options });\n}\n/**\n * Convert a string to path case (`Foo bar`).\n */\nexport function sentenceCase(input, options) {\n const [prefix, words, suffix] = splitPrefixSuffix(input, options);\n const lower = lowerFactory(options?.locale);\n const upper = upperFactory(options?.locale);\n const transform = capitalCaseTransformFactory(lower, upper);\n return (prefix +\n words\n .map((word, index) => {\n if (index === 0)\n return transform(word);\n return lower(word);\n })\n .join(options?.delimiter ?? \" \") +\n suffix);\n}\n/**\n * Convert a string to snake case (`foo_bar`).\n */\nexport function snakeCase(input, options) {\n return noCase(input, { delimiter: \"_\", ...options });\n}\n/**\n * Convert a string to header case (`Foo-Bar`).\n */\nexport function trainCase(input, options) {\n return capitalCase(input, { delimiter: \"-\", ...options });\n}\nfunction lowerFactory(locale) {\n return locale === false\n ? (input) => input.toLowerCase()\n : (input) => input.toLocaleLowerCase(locale);\n}\nfunction upperFactory(locale) {\n return locale === false\n ? (input) => input.toUpperCase()\n : (input) => input.toLocaleUpperCase(locale);\n}\nfunction capitalCaseTransformFactory(lower, upper) {\n return (word) => `${upper(word[0])}${lower(word.slice(1))}`;\n}\nfunction pascalCaseTransformFactory(lower, upper) {\n return (word, index) => {\n const char0 = word[0];\n const initial = index > 0 && char0 >= \"0\" && char0 <= \"9\" ? \"_\" + char0 : upper(char0);\n return initial + lower(word.slice(1));\n };\n}\nfunction splitPrefixSuffix(input, options = {}) {\n const splitFn = options.split ?? (options.separateNumbers ? splitSeparateNumbers : split);\n const prefixCharacters = options.prefixCharacters ?? DEFAULT_PREFIX_SUFFIX_CHARACTERS;\n const suffixCharacters = options.suffixCharacters ?? DEFAULT_PREFIX_SUFFIX_CHARACTERS;\n let prefixIndex = 0;\n let suffixIndex = input.length;\n while (prefixIndex < input.length) {\n const char = input.charAt(prefixIndex);\n if (!prefixCharacters.includes(char))\n break;\n prefixIndex++;\n }\n while (suffixIndex > prefixIndex) {\n const index = suffixIndex - 1;\n const char = input.charAt(index);\n if (!suffixCharacters.includes(char))\n break;\n suffixIndex = index;\n }\n return [\n input.slice(0, prefixIndex),\n splitFn(input.slice(prefixIndex, suffixIndex)),\n input.slice(suffixIndex),\n ];\n}\n//# sourceMappingURL=index.js.map","import { useEffect } from \"react\";\nimport { kebabCase } from \"change-case\";\n\nimport { teliaTheme } from \"./telia-theme\";\nimport type { ColorScheme, Theme } from \"./types\";\n\ntype Props = {\n theme?: Theme;\n cssVariablesSelector?: string;\n currentColorScheme?: ColorScheme;\n};\n\nexport const useApplyTheme = ({\n theme = teliaTheme,\n cssVariablesSelector,\n currentColorScheme,\n}: Props) => {\n useEffect(() => {\n if (currentColorScheme) {\n Object.entries(theme?.[currentColorScheme] ?? teliaTheme[currentColorScheme]).forEach(\n ([key, value]) => {\n const element = cssVariablesSelector\n ? (document.querySelector(cssVariablesSelector) as HTMLElement)\n : null;\n\n (element ?? document.documentElement).style.setProperty(\n `--purpur-${kebabCase(key)}`,\n value\n );\n }\n );\n }\n }, [theme, cssVariablesSelector, currentColorScheme]);\n};\n","import React, {\n createContext,\n type ReactNode,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport type { BaseProps } from \"@purpurds/common-types\";\n\nimport type { ThemeProps } from \"./theme-props\";\nimport type { ColorOptions, ColorScheme, ThemeContextType } from \"./types\";\nimport { useApplyTheme } from \"./useApplyTheme\";\n\nconst ThemeContext = createContext<ThemeContextType>({\n colorScheme: \"light\",\n currentColorScheme: \"light\",\n setColorScheme: () => {},\n options: {},\n});\n\ntype PropsBase = Omit<BaseProps, \"children\"> & {\n children: ReactNode;\n cssVariablesSelector?: string;\n options?: ThemeContextType[\"options\"];\n};\n\nexport type Props =\n | PropsBase &\n (\n | {\n theme: { light: ThemeProps; dark?: never };\n forceColorScheme: \"light\";\n }\n | {\n theme?: { light: ThemeProps; dark: ThemeProps };\n forceColorScheme?: ColorScheme;\n }\n );\n\nexport const ThemeProvider = ({\n cssVariablesSelector,\n forceColorScheme,\n theme,\n children,\n options = {},\n ...props\n}: Props) => {\n const [colorScheme, setColorScheme] = useState<ColorOptions>(forceColorScheme ?? \"auto\");\n const [currentColorScheme, setCurrentColorScheme] = useState<ColorScheme>(\n forceColorScheme ?? \"light\"\n );\n\n useEffect(() => {\n if (!forceColorScheme) {\n const savedColorScheme = localStorage.getItem(\"colorScheme\") as ColorOptions | null;\n if (savedColorScheme) {\n setColorScheme(savedColorScheme);\n }\n } else {\n setColorScheme(forceColorScheme);\n }\n }, [forceColorScheme]);\n\n useEffect(() => {\n const mediaQuery = window.matchMedia(\"(prefers-color-scheme: dark)\");\n\n if (colorScheme === \"auto\") {\n setCurrentColorScheme(mediaQuery.matches ? \"dark\" : \"light\");\n } else {\n setCurrentColorScheme(colorScheme);\n }\n\n const handleChange = (e: MediaQueryListEvent) => {\n if (!forceColorScheme && colorScheme === \"auto\") {\n setCurrentColorScheme(e.matches ? \"dark\" : \"light\");\n }\n };\n\n mediaQuery.addEventListener(\"change\", handleChange);\n\n return () => {\n mediaQuery.removeEventListener(\"change\", handleChange);\n };\n }, [colorScheme, forceColorScheme]);\n\n useApplyTheme({ theme, cssVariablesSelector, currentColorScheme });\n\n const contextValue = useMemo(\n () => ({\n colorScheme,\n currentColorScheme,\n setColorScheme: (scheme: ColorOptions) => {\n if (!forceColorScheme) {\n setColorScheme(scheme);\n localStorage.setItem(\"colorScheme\", scheme);\n }\n },\n }),\n [colorScheme, currentColorScheme, forceColorScheme]\n );\n\n return (\n <ThemeContext.Provider value={{ ...contextValue, options }}>\n <div className={currentColorScheme} {...props}>\n {children}\n </div>\n </ThemeContext.Provider>\n );\n};\n\nexport const useTheme = (): ThemeContextType => {\n const context = useContext(ThemeContext);\n if (!context) {\n throw new Error(\"useTheme must be used within a ThemeProvider\");\n }\n return context;\n};\n","import { useTheme } from \"./ThemeProvider\";\nimport type { ColorOptions } from \"./types\";\n\nexport const useColorScheme = (): [ColorOptions, (colorScheme: ColorOptions) => void] => {\n const { colorScheme, setColorScheme } = useTheme();\n return [colorScheme, setColorScheme];\n};\n"],"names":["purpurColorBrandDeepPurple","purpurColorBrandCorePurple","purpurColorBrandLightPurple","purpurColorBrandDeepBeige","purpurColorBrandBeige","purpurColorBrandLightBeige","purpurColorBrandOffBlack","purpurColorBrandWhite","purpurColorTextDefault","purpurColorTextMedium","purpurColorTextWeak","purpurColorTextDefaultNegative","purpurColorTextMediumNegative","purpurColorTextWeakNegative","purpurColorTextInteractivePrimary","purpurColorTextInteractivePrimaryHover","purpurColorTextInteractivePrimaryActive","purpurColorTextInteractiveOnPrimary","purpurColorTextInteractiveOnPrimaryNegative","purpurColorTextInteractivePrimaryNegative","purpurColorTextInteractivePrimaryHoverNegative","purpurColorTextInteractivePrimaryActiveNegative","purpurColorTextInteractiveOnExpressive","purpurColorTextInteractiveOnExpressiveNegative","purpurColorTextInteractiveOnExpressiveHover","purpurColorTextInteractiveOnExpressiveHoverNegative","purpurColorTextInteractiveOnExpressiveActive","purpurColorTextInteractiveOnExpressiveActiveNegative","purpurColorTextInteractiveOnDestructive","purpurColorTextInteractiveSelected","purpurColorTextStatusDiscount","purpurColorTextStatusErrorStrong","purpurColorTextStatusErrorStrongNegative","purpurColorTextStatusErrorMedium","purpurColorTextStatusErrorMediumNegative","purpurColorTextStatusSuccessStrong","purpurColorTextStatusSuccessStrongNegative","purpurColorTextStatusSuccessMedium","purpurColorTextStatusWarningStrong","purpurColorTextStatusWarningMedium","purpurColorTextStatusWarningMediumNegative","purpurColorTextStatusInfoStrong","purpurColorTextStatusInfoMedium","purpurColorTextStatusNeutral","purpurColorTextStatusSpecial","purpurColorTextStatusAttention","purpurColorTextStatusBlackFriday","purpurColorTextToneOnTonePrimary","purpurColorTextToneOnToneSecondary","purpurColorTextToneOnToneTertiary","purpurColorBackgroundPrimary","purpurColorBackgroundPrimaryNegative","purpurColorBackgroundSecondary","purpurColorBackgroundSecondaryNegative","purpurColorBackgroundOnImage","purpurColorBackgroundOnImageNegative","purpurColorBackgroundInteractiveAutoFill","purpurColorBackgroundInteractivePrimary","purpurColorBackgroundInteractivePrimaryHover","purpurColorBackgroundInteractivePrimaryActive","purpurColorBackgroundInteractivePrimaryNegative","purpurColorBackgroundInteractivePrimaryHoverNegative","purpurColorBackgroundInteractivePrimaryActiveNegative","purpurColorBackgroundInteractiveExpressive","purpurColorBackgroundInteractiveExpressiveHover","purpurColorBackgroundInteractiveExpressiveActive","purpurColorBackgroundInteractiveExpressiveNegative","purpurColorBackgroundInteractiveExpressiveHoverNegative","purpurColorBackgroundInteractiveExpressiveActiveNegative","purpurColorBackgroundInteractiveDisabled","purpurColorBackgroundInteractiveDisabledNegative","purpurColorBackgroundInteractiveTransparentHover","purpurColorBackgroundInteractiveTransparentHoverNegative","purpurColorBackgroundInteractiveTransparentActive","purpurColorBackgroundInteractiveTransparentActiveNegative","purpurColorBackgroundInteractiveInactive","purpurColorBackgroundInteractiveInactiveNegative","purpurColorBackgroundInteractiveReadOnly","purpurColorBackgroundInteractiveReadOnlyNegative","purpurColorBackgroundInteractiveDestructive","purpurColorBackgroundInteractiveDestructiveHover","purpurColorBackgroundInteractiveDestructiveActive","purpurColorBackgroundStatusInfoMedium","purpurColorBackgroundStatusInfoStrong","purpurColorBackgroundStatusSuccessMedium","purpurColorBackgroundStatusSuccessStrong","purpurColorBackgroundStatusSuccessStrongNegative","purpurColorBackgroundStatusErrorMedium","purpurColorBackgroundStatusErrorStrong","purpurColorBackgroundStatusErrorStrongNegative","purpurColorBackgroundStatusWarningMedium","purpurColorBackgroundStatusWarningStrong","purpurColorBackgroundStatusWarningStrongNegative","purpurColorBackgroundStatusNeutral","purpurColorBackgroundStatusSpecial","purpurColorBackgroundStatusAttention","purpurColorBackgroundStatusBlackFriday","purpurColorBackgroundToneOnTonePrimary","purpurColorBackgroundToneOnToneSecondary","purpurColorBackgroundToneOnToneTertiary","purpurColorBackgroundToneOnToneQuaternary","purpurColorBorderMedium","purpurColorBorderMediumNegative","purpurColorBorderStrong","purpurColorBorderStrongNegative","purpurColorBorderWeak","purpurColorBorderWeakNegative","purpurColorBorderInteractiveFocus","purpurColorBorderInteractivePrimary","purpurColorBorderInteractivePrimaryNegative","purpurColorBorderInteractivePrimaryHover","purpurColorBorderInteractivePrimaryActive","purpurColorBorderInteractivePrimaryHoverNegative","purpurColorBorderInteractivePrimaryActiveNegative","purpurColorBorderInteractiveExpressive","purpurColorBorderInteractiveSelected","purpurColorBorderInteractiveSubtle","purpurColorBorderInteractiveSubtleNegative","purpurColorBorderInteractiveSubtleHover","purpurColorBorderInteractiveSubtleHoverNegative","purpurColorBorderStatusError","purpurColorBorderStatusErrorNegative","purpurColorBorderStatusWarning","purpurColorBorderStatusInfo","purpurColorBorderStatusSuccess","purpurColorBorderStatusSuccessNegative","dark","light","teliaTheme","SPLIT_LOWER_UPPER_RE","SPLIT_UPPER_UPPER_RE","SPLIT_SEPARATE_NUMBER_RE","DEFAULT_STRIP_REGEXP","SPLIT_REPLACE_VALUE","DEFAULT_PREFIX_SUFFIX_CHARACTERS","split","value","result","start","end","splitSeparateNumbers","words","i","word","match","offset","noCase","input","options","prefix","suffix","splitPrefixSuffix","lowerFactory","kebabCase","locale","splitFn","prefixCharacters","suffixCharacters","prefixIndex","suffixIndex","char","index","useApplyTheme","theme","cssVariablesSelector","currentColorScheme","useEffect","key","ThemeContext","createContext","ThemeProvider","forceColorScheme","children","props","colorScheme","setColorScheme","useState","setCurrentColorScheme","savedColorScheme","mediaQuery","handleChange","e","contextValue","useMemo","scheme","useTheme","context","useContext","useColorScheme"],"mappings":"wIAwHaA,EAA6B,UAC7BC,EAA6B,UAC7BC,EAA8B,UAC9BC,EAA4B,UAC5BC,EAAwB,UACxBC,EAA6B,UAC7BC,EAA2B,UAC3BC,EAAwB,UACxBC,EAAyB,4BACzBC,EAAwB,4BACxBC,EAAsB,4BACtBC,EAAiC,qBACjCC,EAAgC,sBAChCC,EAA8B,sBAC9BC,EAAoC,UACpCC,EAAyC,UACzCC,EAA0C,UAC1CC,EAAsC,UACtCC,EA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