@toeverything/theme
Advanced tools
Comparing version
@@ -1,5 +0,11 @@ | ||
function c(e) { | ||
function n(e) { | ||
return Object.keys(e); | ||
} | ||
const l = { | ||
"aI/errorBackground": "#fff4f5", | ||
"aI/errorDetailBackground": "#ffffff99", | ||
"aI/errorText": "#ed3f3f", | ||
"aI/thinkingOutputBackground": "#f9f9f9", | ||
"aI/thinkingOutputText": "#000000a6", | ||
"aI/userTextBackground": "#f3f3f3", | ||
"adjustmentHandle/background": "#00000038", | ||
@@ -61,2 +67,11 @@ "backlinks/blockBackgroundColor": "#9292920d", | ||
"button/signinbutton/background": "#ffffff", | ||
"calendar/blue": "#4ab1fa", | ||
"calendar/green": "#44b931", | ||
"calendar/grey": "#b3b3b3", | ||
"calendar/magenta": "#f37fba", | ||
"calendar/orange": "#ffae63", | ||
"calendar/purple": "#9681ef", | ||
"calendar/red": "#f43f48", | ||
"calendar/teal": "#8be7dc", | ||
"calendar/yellow": "#fde047", | ||
"centerPeek/background": "#ffffff", | ||
@@ -163,3 +178,3 @@ "centerPeek/buttonBackground": "#ffffff", | ||
"edgeless/palette/light/yellowLight": "#fffbd5", | ||
"edgeless/palette/medium/blueMedium": "#53b2ef", | ||
"edgeless/palette/medium/blueMedium": "#84cfff", | ||
"edgeless/palette/medium/greenMedium": "#3cbc36", | ||
@@ -214,14 +229,20 @@ "edgeless/palette/medium/greyMedium": "#929292", | ||
"edgelessToolbar/others/linearStart": "#ffffff1f", | ||
"edgelessToolbar/penEraser/bodyShadow-1": "#00000033", | ||
"edgelessToolbar/penEraser/bodyShadow-2": "#0000001a", | ||
"edgelessToolbar/penEraser/bodyShadow-3": "#00000003", | ||
"edgelessToolbar/penEraser/bodyShadow-4": "#ffffff14", | ||
"edgelessToolbar/penEraser/eraserBlue-1": "#173654", | ||
"edgelessToolbar/penEraser/eraserBlue-2": "#effaff", | ||
"edgelessToolbar/penEraser/eraserBlue-3": "#1e96eb", | ||
"edgelessToolbar/penEraser/eraserBodyFill": "#f1f1f1", | ||
"edgelessToolbar/penEraser/eraserBodyHighlight": "#ffffff8f", | ||
"edgelessToolbar/penEraser/eraserBodyShade2": "#00000033", | ||
"edgelessToolbar/penEraser/eraserBodyShade3": "#ffffff", | ||
"edgelessToolbar/penEraser/eraserBorder": "#e7e7e7", | ||
"edgelessToolbar/penEraser/eraserBorder2": "#e3e2e4", | ||
"edgelessToolbar/penEraser/eraserFill": "#f1f1f1", | ||
"edgelessToolbar/penEraser/eraserHighlight": "#ffffffb8", | ||
"edgelessToolbar/penEraser/eraserClothHighlight": "#ffffff1c", | ||
"edgelessToolbar/penEraser/eraserClothShade2": "#0f0f0f", | ||
"edgelessToolbar/penEraser/eraserClothShade3": "#ffffff17", | ||
"edgelessToolbar/penEraser/eraserShadow": "#00000040", | ||
"edgelessToolbar/penEraser/penBackground": "#fafafa", | ||
"edgelessToolbar/penEraser/penBodyShade-1": "#00000033", | ||
"edgelessToolbar/penEraser/penBodyShade-2": "#0000001a", | ||
"edgelessToolbar/penEraser/penBodyShade-3": "#00000003", | ||
"edgelessToolbar/penEraser/penBodyShade-4": "#ffffff14", | ||
"edgelessToolbar/penEraser/penInlineShadow": "#ffffff00", | ||
@@ -406,3 +427,9 @@ "icon/activated": "#1e96eb", | ||
"tableOfContent/background": "#ffffff" | ||
}, n = { | ||
}, c = { | ||
"aI/errorBackground": "#ed3f3f2e", | ||
"aI/errorDetailBackground": "#00000054", | ||
"aI/errorText": "#fff4f5", | ||
"aI/thinkingOutputBackground": "#000000", | ||
"aI/thinkingOutputText": "#ffffff8f", | ||
"aI/userTextBackground": "#252525", | ||
"adjustmentHandle/background": "#ffffff8f", | ||
@@ -464,2 +491,11 @@ "backlinks/blockBackgroundColor": "#9292921a", | ||
"button/signinbutton/background": "#414141", | ||
"calendar/blue": "#29a3fa", | ||
"calendar/green": "#3cbc36", | ||
"calendar/grey": "#929292", | ||
"calendar/magenta": "#e660a4", | ||
"calendar/orange": "#ff8c38", | ||
"calendar/purple": "#6e52df", | ||
"calendar/red": "#ed3f3f", | ||
"calendar/teal": "#5cc7ba", | ||
"calendar/yellow": "#facc15", | ||
"centerPeek/background": "#000000", | ||
@@ -566,3 +602,3 @@ "centerPeek/buttonBackground": "#252525", | ||
"edgeless/palette/light/yellowLight": "#fffbd5", | ||
"edgeless/palette/medium/blueMedium": "#53b2ef", | ||
"edgeless/palette/medium/blueMedium": "#84cfff", | ||
"edgeless/palette/medium/greenMedium": "#3cbc36", | ||
@@ -617,14 +653,20 @@ "edgeless/palette/medium/greyMedium": "#929292", | ||
"edgelessToolbar/others/linearStart": "#00000000", | ||
"edgelessToolbar/penEraser/bodyShadow-1": "#00000099", | ||
"edgelessToolbar/penEraser/bodyShadow-2": "#00000066", | ||
"edgelessToolbar/penEraser/bodyShadow-3": "#00000033", | ||
"edgelessToolbar/penEraser/bodyShadow-4": "#0000001a", | ||
"edgelessToolbar/penEraser/eraserBlue-1": "#0d2338", | ||
"edgelessToolbar/penEraser/eraserBlue-2": "#d0dfe5", | ||
"edgelessToolbar/penEraser/eraserBlue-1": "#1c3d5d", | ||
"edgelessToolbar/penEraser/eraserBlue-2": "#a1c5d3", | ||
"edgelessToolbar/penEraser/eraserBlue-3": "#1a7cc1", | ||
"edgelessToolbar/penEraser/eraserBodyFill": "#3d3d3d", | ||
"edgelessToolbar/penEraser/eraserBodyHighlight": "#ffffff17", | ||
"edgelessToolbar/penEraser/eraserBodyShade2": "#000000cc", | ||
"edgelessToolbar/penEraser/eraserBodyShade3": "#ffffff66", | ||
"edgelessToolbar/penEraser/eraserBorder": "#7f7f7f", | ||
"edgelessToolbar/penEraser/eraserBorder2": "#9b9b9b", | ||
"edgelessToolbar/penEraser/eraserFill": "#3d3d3d", | ||
"edgelessToolbar/penEraser/eraserHighlight": "#ffffff3b", | ||
"edgelessToolbar/penEraser/eraserClothHighlight": "#ffffff1c", | ||
"edgelessToolbar/penEraser/eraserClothShade2": "#0f0f0f", | ||
"edgelessToolbar/penEraser/eraserClothShade3": "#ffffff17", | ||
"edgelessToolbar/penEraser/eraserShadow": "#000000c4", | ||
"edgelessToolbar/penEraser/penBackground": "#3d3d3d", | ||
"edgelessToolbar/penEraser/penBodyShade-1": "#00000099", | ||
"edgelessToolbar/penEraser/penBodyShade-2": "#00000066", | ||
"edgelessToolbar/penEraser/penBodyShade-3": "#00000033", | ||
"edgelessToolbar/penEraser/penBodyShade-4": "#0000001a", | ||
"edgelessToolbar/penEraser/penInlineShadow": "#00000040", | ||
@@ -678,3 +720,3 @@ "icon/activated": "#1e96eb", | ||
"layer/background/mobile/tertiary": "#414141", | ||
"loading/background": "#ffffffd1", | ||
"loading/background": "#ffffff21", | ||
"loading/foreground": "#0077cb", | ||
@@ -815,19 +857,19 @@ "others/warnLabel/black": "#000000", | ||
function d(e) { | ||
const o = {}; | ||
return c(e).forEach((a) => { | ||
o[t(a)] = e[a]; | ||
}), o; | ||
const a = {}; | ||
return n(e).forEach((o) => { | ||
a[t(o)] = e[o]; | ||
}), a; | ||
} | ||
const b = d(l), i = d(n); | ||
function r(e, o) { | ||
return `var(${t(e)}${o ? `, ${o}` : ""})`; | ||
const b = d(l), i = d(c); | ||
function f(e, a) { | ||
return `var(${t(e)}${a ? `, ${a}` : ""})`; | ||
} | ||
function s(e = "") { | ||
return new Proxy(r, { | ||
get(o, a) { | ||
const f = e ? `${e}/${String(a)}` : String(a); | ||
return typeof l[f] != "string" ? s(f) : r(f); | ||
return new Proxy(f, { | ||
get(a, o) { | ||
const r = e ? `${e}/${String(o)}` : String(o); | ||
return typeof l[r] != "string" ? s(r) : f(r); | ||
}, | ||
apply(o, a, [f, g]) { | ||
return e ? r(e, f) : r(f, g); | ||
apply(a, o, [r, g]) { | ||
return e ? f(e, r) : f(r, g); | ||
} | ||
@@ -840,3 +882,3 @@ }); | ||
i as darkCssVariablesV2, | ||
n as darkThemeV2, | ||
c as darkThemeV2, | ||
b as lightCssVariablesV2, | ||
@@ -843,0 +885,0 @@ l as lightThemeV2, |
{ | ||
"name": "@toeverything/theme", | ||
"version": "1.1.12", | ||
"version": "1.1.13", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "repository": "toeverything/design", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
8862357
0.24%8360
3.01%