@toeverything/theme
Advanced tools
Comparing version 0.0.0-20230711060513-17c8ce3 to 0.0.0-20230711073817-38ff570
@@ -147,2 +147,3 @@ export declare const camelToKebab: (s: string) => string; | ||
cardBackgroundGrey: string; | ||
windowsCloseButton: string; | ||
fontFamily: string; | ||
@@ -285,2 +286,3 @@ fontSerifFamily: string; | ||
cardBackgroundGrey: string; | ||
windowsCloseButton: string; | ||
fontFamily: string; | ||
@@ -287,0 +289,0 @@ fontSerifFamily: string; |
@@ -139,3 +139,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 = { | ||
cardBackgroundGreen: "linear-gradient(180deg, #F3F9FD 0%, #FCFCFD 100%)", | ||
cardBackgroundGrey: "linear-gradient(180deg, #F1F1F1 0%, #FCFCFD 100%)" | ||
cardBackgroundGrey: "linear-gradient(180deg, #F1F1F1 0%, #FCFCFD 100%)", | ||
windowsCloseButton: "#C42B1C" | ||
}, t = { | ||
@@ -224,7 +225,8 @@ ...b, | ||
cardBackgroundGreen: "linear-gradient(180deg, #192023 0%, #202020 100%)", | ||
cardBackgroundGrey: "linear-gradient(180deg, #313131 0%, #202020 100%)" | ||
}, p = Object.entries(l).reduce( | ||
cardBackgroundGrey: "linear-gradient(180deg, #313131 0%, #202020 100%)", | ||
windowsCloseButton: "#C42B1C" | ||
}, n = Object.entries(l).reduce( | ||
(r, [e, o]) => (r[`--affine-${g(e)}`] = o, r), | ||
{} | ||
), n = Object.entries(t).reduce( | ||
), p = Object.entries(t).reduce( | ||
(r, [e, o]) => (r[`--affine-${g(e)}`] = o, r), | ||
@@ -236,7 +238,7 @@ {} | ||
g as camelToKebab, | ||
n as darkCssVariables, | ||
p as darkCssVariables, | ||
t as darkTheme, | ||
p as lightCssVariables, | ||
n as lightCssVariables, | ||
l as lightTheme | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@toeverything/theme", | ||
"version": "0.0.0-20230711060513-17c8ce3", | ||
"version": "0.0.0-20230711073817-38ff570", | ||
"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
90543
676