@toeverything/theme
Advanced tools
Comparing version
@@ -247,2 +247,6 @@ // Generated by dts-bundle-generator v9.5.1 | ||
"segment/button": string; | ||
"selfhost/button/sidebarButton/bg/hover": string; | ||
"selfhost/button/sidebarButton/bg/select": string; | ||
"selfhost/icon/primary": string; | ||
"selfhost/icon/secondary": string; | ||
"skeleton/skeleton": string; | ||
@@ -289,2 +293,4 @@ "slashMenu/background": string; | ||
"table/indicator/hover": string; | ||
"table/indicator/pointerActive": string; | ||
"table/indicator/pointerDefault": string; | ||
"text/disable": string; | ||
@@ -581,2 +587,6 @@ "text/emphasis": string; | ||
"segment/button": string; | ||
"selfhost/button/sidebarButton/bg/hover": string; | ||
"selfhost/button/sidebarButton/bg/select": string; | ||
"selfhost/icon/primary": string; | ||
"selfhost/icon/secondary": string; | ||
"skeleton/skeleton": string; | ||
@@ -623,2 +633,4 @@ "slashMenu/background": string; | ||
"table/indicator/hover": string; | ||
"table/indicator/pointerActive": string; | ||
"table/indicator/pointerDefault": string; | ||
"text/disable": string; | ||
@@ -1039,2 +1051,16 @@ "text/emphasis": string; | ||
}; | ||
readonly selfhost: { | ||
readonly button: { | ||
readonly sidebarButton: { | ||
readonly bg: { | ||
readonly hover: "#0000000d"; | ||
readonly select: "#141414"; | ||
}; | ||
}; | ||
}; | ||
readonly icon: { | ||
readonly primary: "#141414"; | ||
readonly secondary: "#7a7a7a"; | ||
}; | ||
}; | ||
readonly skeleton: { | ||
@@ -1111,2 +1137,4 @@ readonly skeleton: "#e6e6e6"; | ||
readonly hover: "#0000000d"; | ||
readonly pointerActive: "#ffffff"; | ||
readonly pointerDefault: "#b3b3b3"; | ||
}; | ||
@@ -1553,2 +1581,16 @@ }; | ||
}; | ||
readonly selfhost: { | ||
readonly button: { | ||
readonly sidebarButton: { | ||
readonly bg: { | ||
readonly hover: "#ffffff"; | ||
readonly select: "#ffffff"; | ||
}; | ||
}; | ||
}; | ||
readonly icon: { | ||
readonly primary: "#ffffff"; | ||
readonly secondary: "#ffffff"; | ||
}; | ||
}; | ||
readonly skeleton: { | ||
@@ -1625,2 +1667,4 @@ readonly skeleton: "#252525"; | ||
readonly hover: "#ffffff17"; | ||
readonly pointerActive: "#ffffff"; | ||
readonly pointerDefault: "#cdcdcd"; | ||
}; | ||
@@ -1627,0 +1671,0 @@ }; |
function s(e) { | ||
return Object.keys(e); | ||
} | ||
const o = { | ||
const l = { | ||
"backlinks/blockBackgroundColor": "#9292920d", | ||
@@ -248,2 +248,6 @@ "backlinks/blockBorder": "#9292921a", | ||
"segment/button": "#ffffff", | ||
"selfhost/button/sidebarButton/bg/hover": "#0000000d", | ||
"selfhost/button/sidebarButton/bg/select": "#141414", | ||
"selfhost/icon/primary": "#141414", | ||
"selfhost/icon/secondary": "#7a7a7a", | ||
"skeleton/skeleton": "#e6e6e6", | ||
@@ -290,2 +294,4 @@ "slashMenu/background": "#ffffff", | ||
"table/indicator/hover": "#0000000d", | ||
"table/indicator/pointerActive": "#ffffff", | ||
"table/indicator/pointerDefault": "#b3b3b3", | ||
"text/disable": "#7a7a7a", | ||
@@ -581,2 +587,6 @@ "text/emphasis": "#1e96eb", | ||
"segment/button": "#ffffff17", | ||
"selfhost/button/sidebarButton/bg/hover": "#ffffff", | ||
"selfhost/button/sidebarButton/bg/select": "#ffffff", | ||
"selfhost/icon/primary": "#ffffff", | ||
"selfhost/icon/secondary": "#ffffff", | ||
"skeleton/skeleton": "#252525", | ||
@@ -623,2 +633,4 @@ "slashMenu/background": "#252525", | ||
"table/indicator/hover": "#ffffff17", | ||
"table/indicator/pointerActive": "#ffffff", | ||
"table/indicator/pointerDefault": "#cdcdcd", | ||
"text/disable": "#565656", | ||
@@ -680,14 +692,14 @@ "text/emphasis": "#29a3fa", | ||
} | ||
const n = d(o), i = d(b); | ||
function l(e, a) { | ||
const n = d(l), i = d(b); | ||
function o(e, a) { | ||
return `var(${t(e)}${a ? `, ${a}` : ""})`; | ||
} | ||
function c(e = "") { | ||
return new Proxy(l, { | ||
return new Proxy(o, { | ||
get(a, f) { | ||
const r = e ? `${e}/${String(f)}` : String(f); | ||
return typeof o[r] != "string" ? c(r) : l(r); | ||
return typeof l[r] != "string" ? c(r) : o(r); | ||
}, | ||
apply(a, f, [r, g]) { | ||
return e ? l(e, r) : l(r, g); | ||
return e ? o(e, r) : o(r, g); | ||
} | ||
@@ -702,5 +714,5 @@ }); | ||
n as lightCssVariablesV2, | ||
o as lightThemeV2, | ||
l as lightThemeV2, | ||
t as themeToVar | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -245,2 +245,6 @@ export declare const lightThemeV2: { | ||
'segment/button': string; | ||
'selfhost/button/sidebarButton/bg/hover': string; | ||
'selfhost/button/sidebarButton/bg/select': string; | ||
'selfhost/icon/primary': string; | ||
'selfhost/icon/secondary': string; | ||
'skeleton/skeleton': string; | ||
@@ -287,2 +291,4 @@ 'slashMenu/background': string; | ||
'table/indicator/hover': string; | ||
'table/indicator/pointerActive': string; | ||
'table/indicator/pointerDefault': string; | ||
'text/disable': string; | ||
@@ -579,2 +585,6 @@ 'text/emphasis': string; | ||
'segment/button': string; | ||
'selfhost/button/sidebarButton/bg/hover': string; | ||
'selfhost/button/sidebarButton/bg/select': string; | ||
'selfhost/icon/primary': string; | ||
'selfhost/icon/secondary': string; | ||
'skeleton/skeleton': string; | ||
@@ -621,2 +631,4 @@ 'slashMenu/background': string; | ||
'table/indicator/hover': string; | ||
'table/indicator/pointerActive': string; | ||
'table/indicator/pointerDefault': string; | ||
'text/disable': string; | ||
@@ -1037,2 +1049,16 @@ 'text/emphasis': string; | ||
}; | ||
readonly selfhost: { | ||
readonly button: { | ||
readonly sidebarButton: { | ||
readonly bg: { | ||
readonly hover: "#0000000d"; | ||
readonly select: "#141414"; | ||
}; | ||
}; | ||
}; | ||
readonly icon: { | ||
readonly primary: "#141414"; | ||
readonly secondary: "#7a7a7a"; | ||
}; | ||
}; | ||
readonly skeleton: { | ||
@@ -1109,2 +1135,4 @@ readonly skeleton: "#e6e6e6"; | ||
readonly hover: "#0000000d"; | ||
readonly pointerActive: "#ffffff"; | ||
readonly pointerDefault: "#b3b3b3"; | ||
}; | ||
@@ -1551,2 +1579,16 @@ }; | ||
}; | ||
readonly selfhost: { | ||
readonly button: { | ||
readonly sidebarButton: { | ||
readonly bg: { | ||
readonly hover: "#ffffff"; | ||
readonly select: "#ffffff"; | ||
}; | ||
}; | ||
}; | ||
readonly icon: { | ||
readonly primary: "#ffffff"; | ||
readonly secondary: "#ffffff"; | ||
}; | ||
}; | ||
readonly skeleton: { | ||
@@ -1623,2 +1665,4 @@ readonly skeleton: "#252525"; | ||
readonly hover: "#ffffff17"; | ||
readonly pointerActive: "#ffffff"; | ||
readonly pointerDefault: "#cdcdcd"; | ||
}; | ||
@@ -1625,0 +1669,0 @@ }; |
{ | ||
"name": "@toeverything/theme", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"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 not supported yet
8767014
0.08%7266
1.48%