@toeverything/theme
Advanced tools
Comparing version 0.7.7 to 0.7.8
@@ -64,2 +64,3 @@ export declare const camelToKebab: (s: string) => string; | ||
toggleCircleShadow: string; | ||
buttonInnerShadow: string; | ||
}; | ||
@@ -145,2 +146,4 @@ export declare const lightTheme: { | ||
floatButtonShadow: string; | ||
floatButtonShadow1: string; | ||
floatButtonShadow2: string; | ||
buttonGrayColor: string; | ||
@@ -205,2 +208,3 @@ cardBackgroundBlue: string; | ||
toggleCircleShadow: string; | ||
buttonInnerShadow: string; | ||
}; | ||
@@ -286,2 +290,4 @@ export declare const darkTheme: { | ||
floatButtonShadow: string; | ||
floatButtonShadow1: string; | ||
floatButtonShadow2: string; | ||
buttonGrayColor: string; | ||
@@ -346,2 +352,3 @@ cardBackgroundBlue: string; | ||
toggleCircleShadow: string; | ||
buttonInnerShadow: string; | ||
}; | ||
@@ -348,0 +355,0 @@ export declare const lightCssVariables: AffineCssVariables; |
@@ -56,3 +56,4 @@ const g = (r) => typeof r != "string" ? "" : r.replace(/-/g, "_").replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z])([A-Z])(?=[a-z])/g, "$1-$2").toLowerCase().replace(/(\D+)(\d+)$/g, "$1-$2").replace(/\s|_/g, "-"), a = "apple-system, BlinkMacSystemFont,'Helvetica Neue', Tahoma, 'PingFang SC', 'Microsoft Yahei', Arial,'Hiragino Sans GB', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji','Segoe UI Symbol', 'Noto Color Emoji'", b = { | ||
toggleDisableBackgroundColor: "rgba(119, 117, 125, 1)", | ||
toggleCircleShadow: "0px 1px 2px 0px rgba(0, 0, 0, 0.25), inset -2px -3px 2px 0px rgba(0, 0, 0, 0.05)" | ||
toggleCircleShadow: "0px 1px 2px 0px rgba(0, 0, 0, 0.25), inset -2px -3px 2px 0px rgba(0, 0, 0, 0.05)", | ||
buttonInnerShadow: " 0px 1px 2px 0px rgba(255, 255, 255, 0.25) inset" | ||
}, l = { | ||
@@ -138,2 +139,4 @@ ...b, | ||
floatButtonShadow: "0px 0px 10px rgba(0, 0, 0, 0.05), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.1)", | ||
floatButtonShadow1: "0px 4px 6px -3px rgba(66, 65, 73, 0.10), 0px 10px 12px -2px rgba(66, 65, 73, 0.10)", | ||
floatButtonShadow2: "0px 4px 4px -2px rgba(66, 65, 73, 0.10), 0px 6px 8px 1px rgba(66, 65, 73, 0.05)", | ||
buttonGrayColor: "rgba(245, 245, 245, 1)", | ||
@@ -224,2 +227,4 @@ cardBackgroundBlue: "linear-gradient(180deg, #F0F3FD 0%, #FCFCFD 100%)", | ||
floatButtonShadow: "0px 0px 10px rgba(0, 0, 0, 0.05), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.1)", | ||
floatButtonShadow1: "0px 4px 6px -3px rgba(0, 0, 0, 0.10), 0px 10px 12px -2px rgba(15, 15, 15, 0.10)", | ||
floatButtonShadow2: "0px 4px 4px -2px rgba(15, 15, 15, 0.10), 0px 6px 8px 1px rgba(15, 15, 15, 0.05)", | ||
buttonGrayColor: "rgba(85, 85, 85, 1)", | ||
@@ -230,7 +235,7 @@ cardBackgroundBlue: "linear-gradient(180deg, #14171F 0%, #202020 100%)", | ||
windowsCloseButton: "#C42B1C" | ||
}, n = Object.entries(l).reduce( | ||
(r, [e, o]) => (r[`--affine-${g(e)}`] = o, r), | ||
}, p = Object.entries(l).reduce( | ||
(r, [o, e]) => (r[`--affine-${g(o)}`] = e, r), | ||
{} | ||
), p = Object.entries(t).reduce( | ||
(r, [e, o]) => (r[`--affine-${g(e)}`] = o, r), | ||
), n = Object.entries(t).reduce( | ||
(r, [o, e]) => (r[`--affine-${g(o)}`] = e, r), | ||
{} | ||
@@ -241,7 +246,7 @@ ); | ||
g as camelToKebab, | ||
p as darkCssVariables, | ||
n as darkCssVariables, | ||
t as darkTheme, | ||
n as lightCssVariables, | ||
p as lightCssVariables, | ||
l as lightTheme | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@toeverything/theme", | ||
"version": "0.7.7", | ||
"version": "0.7.8", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93802
696