@toeverything/theme
Advanced tools
Comparing version 0.7.30 to 0.7.31
@@ -207,2 +207,3 @@ import { grabbingCursor, grabCursor } from './cursors'; | ||
'0px 0px 12px rgba(66, 65, 73, 0.14), inset 0px 0px 0px 0.5px rgba(227, 227, 228, 1)', | ||
toolbarShadow: '0px 6px 16px #00000024', | ||
activeShadow: '0px 0px 0px 2px rgba(30, 150, 235, 0.30)', | ||
@@ -261,2 +262,15 @@ shadow1: '0px 0px 4px 0px rgba(66, 65, 73, 0.14)', | ||
embedShadow: '0px 0px 0px 2px rgba(0, 0, 0, 0.08)', | ||
// --------------------- note background color ------------------------ | ||
noteBackgroundYellow: 'rgba(253, 230, 138, 1)', | ||
noteBackgroundOrange: 'rgba(255, 196, 143, 1)', | ||
noteBackgroundRed: 'rgba(250, 182, 182, 1)', | ||
noteBackgroundMagenta: 'rgba(255, 218, 237, 1)', | ||
noteBackgroundPurple: 'rgba(221, 214, 254, 1)', | ||
noteBackgroundBlue: 'rgba(205, 235, 255, 1)', | ||
noteBackgroundTeal: 'rgba(199, 248, 242, 1)', | ||
noteBackgroundGreen: 'rgba(201, 248, 193, 1)', | ||
noteBackgroundBlack: 'rgba(0, 0, 0, 1)', | ||
noteBackgroundGrey: 'rgba(230, 230, 230, 1)', | ||
noteBackgroundWhite: 'rgba(255, 255, 255, 1)', | ||
}; | ||
@@ -345,2 +359,3 @@ | ||
'0px 0px 16px rgba(0, 0, 0, 0.32), 0px 0px 0px 0.5px #2E2E2E inset', | ||
toolbarShadow: '0px 6px 18px #00000052', | ||
activeShadow: '0px 0px 0px 2px rgba(28, 158, 228, 0.30)', | ||
@@ -400,2 +415,15 @@ shadow1: '0px 0px 4px 0px rgba(0, 0, 0, 0.24)', | ||
embedShadow: '0px 0px 0px 2px rgba(255, 255, 255, 0.08)', | ||
// --------------------- note background color ------------------------ | ||
noteBackgroundYellow: 'rgba(111, 65, 0, 1)', | ||
noteBackgroundOrange: 'rgba(132, 59, 6, 1)', | ||
noteBackgroundRed: 'rgba(118, 23, 23, 1)', | ||
noteBackgroundMagenta: 'rgba(148, 21, 85, 1)', | ||
noteBackgroundPurple: 'rgba(49, 46, 129, 1)', | ||
noteBackgroundBlue: 'rgba(28, 107, 99, 1)', | ||
noteBackgroundTeal: 'rgba(28, 107, 99, 1)', | ||
noteBackgroundGreen: 'rgba(59, 83, 21, 1)', | ||
noteBackgroundBlack: 'rgba(255, 255, 255, 1)', | ||
noteBackgroundGrey: 'rgba(86, 86, 86, 1)', | ||
noteBackgroundWhite: 'rgba(0, 0, 0, 1)', | ||
} satisfies Omit<AffineTheme, 'editorMode'>; | ||
@@ -402,0 +430,0 @@ |
@@ -159,2 +159,3 @@ export declare const camelToKebab: (s: string) => string; | ||
menuShadow: string; | ||
toolbarShadow: string; | ||
activeShadow: string; | ||
@@ -200,2 +201,13 @@ shadow1: string; | ||
embedShadow: string; | ||
noteBackgroundYellow: string; | ||
noteBackgroundOrange: string; | ||
noteBackgroundRed: string; | ||
noteBackgroundMagenta: string; | ||
noteBackgroundPurple: string; | ||
noteBackgroundBlue: string; | ||
noteBackgroundTeal: string; | ||
noteBackgroundGreen: string; | ||
noteBackgroundBlack: string; | ||
noteBackgroundGrey: string; | ||
noteBackgroundWhite: string; | ||
fontFamily: string; | ||
@@ -350,2 +362,3 @@ fontSerifFamily: string; | ||
menuShadow: string; | ||
toolbarShadow: string; | ||
activeShadow: string; | ||
@@ -391,2 +404,13 @@ shadow1: string; | ||
embedShadow: string; | ||
noteBackgroundYellow: string; | ||
noteBackgroundOrange: string; | ||
noteBackgroundRed: string; | ||
noteBackgroundMagenta: string; | ||
noteBackgroundPurple: string; | ||
noteBackgroundBlue: string; | ||
noteBackgroundTeal: string; | ||
noteBackgroundGreen: string; | ||
noteBackgroundBlack: string; | ||
noteBackgroundGrey: string; | ||
noteBackgroundWhite: string; | ||
fontFamily: string; | ||
@@ -393,0 +417,0 @@ fontSerifFamily: string; |
@@ -5,3 +5,3 @@ function t(r) { | ||
} | ||
const n = t(` | ||
const x = t(` | ||
<svg | ||
@@ -119,5 +119,5 @@ width="24" | ||
// cursors | ||
grabbingCursor: o(n, ["grabbing"]), | ||
grabbingCursor: o(x, ["grabbing"]), | ||
grabCursor: o(i, ["grab"]) | ||
}, h = { | ||
}, u = { | ||
...p, | ||
@@ -197,2 +197,3 @@ themeMode: "light", | ||
menuShadow: "0px 0px 12px rgba(66, 65, 73, 0.14), inset 0px 0px 0px 0.5px rgba(227, 227, 228, 1)", | ||
toolbarShadow: "0px 6px 16px #00000024", | ||
activeShadow: "0px 0px 0px 2px rgba(30, 150, 235, 0.30)", | ||
@@ -239,4 +240,16 @@ shadow1: "0px 0px 4px 0px rgba(66, 65, 73, 0.14)", | ||
textHighlightForegroundGrey: "rgba(68, 77, 89, 1)", | ||
embedShadow: "0px 0px 0px 2px rgba(0, 0, 0, 0.08)" | ||
}, u = { | ||
embedShadow: "0px 0px 0px 2px rgba(0, 0, 0, 0.08)", | ||
// --------------------- note background color ------------------------ | ||
noteBackgroundYellow: "rgba(253, 230, 138, 1)", | ||
noteBackgroundOrange: "rgba(255, 196, 143, 1)", | ||
noteBackgroundRed: "rgba(250, 182, 182, 1)", | ||
noteBackgroundMagenta: "rgba(255, 218, 237, 1)", | ||
noteBackgroundPurple: "rgba(221, 214, 254, 1)", | ||
noteBackgroundBlue: "rgba(205, 235, 255, 1)", | ||
noteBackgroundTeal: "rgba(199, 248, 242, 1)", | ||
noteBackgroundGreen: "rgba(201, 248, 193, 1)", | ||
noteBackgroundBlack: "rgba(0, 0, 0, 1)", | ||
noteBackgroundGrey: "rgba(230, 230, 230, 1)", | ||
noteBackgroundWhite: "rgba(255, 255, 255, 1)" | ||
}, h = { | ||
...p, | ||
@@ -316,2 +329,3 @@ themeMode: "dark", | ||
menuShadow: "0px 0px 16px rgba(0, 0, 0, 0.32), 0px 0px 0px 0.5px #2E2E2E inset", | ||
toolbarShadow: "0px 6px 18px #00000052", | ||
activeShadow: "0px 0px 0px 2px rgba(28, 158, 228, 0.30)", | ||
@@ -358,5 +372,17 @@ shadow1: "0px 0px 4px 0px rgba(0, 0, 0, 0.24)", | ||
textHighlightForegroundGrey: "rgba(176, 181, 191, 1)", | ||
embedShadow: "0px 0px 0px 2px rgba(255, 255, 255, 0.08)" | ||
}, l = (r) => d(r).reduce((a, [g, x]) => ({ ...a, [b(g)]: x }), {}), c = l(h), s = l(u); | ||
function w(r, a) { | ||
embedShadow: "0px 0px 0px 2px rgba(255, 255, 255, 0.08)", | ||
// --------------------- note background color ------------------------ | ||
noteBackgroundYellow: "rgba(111, 65, 0, 1)", | ||
noteBackgroundOrange: "rgba(132, 59, 6, 1)", | ||
noteBackgroundRed: "rgba(118, 23, 23, 1)", | ||
noteBackgroundMagenta: "rgba(148, 21, 85, 1)", | ||
noteBackgroundPurple: "rgba(49, 46, 129, 1)", | ||
noteBackgroundBlue: "rgba(28, 107, 99, 1)", | ||
noteBackgroundTeal: "rgba(28, 107, 99, 1)", | ||
noteBackgroundGreen: "rgba(59, 83, 21, 1)", | ||
noteBackgroundBlack: "rgba(255, 255, 255, 1)", | ||
noteBackgroundGrey: "rgba(86, 86, 86, 1)", | ||
noteBackgroundWhite: "rgba(0, 0, 0, 1)" | ||
}, l = (r) => d(r).reduce((a, [g, n]) => ({ ...a, [b(g)]: n }), {}), c = l(u), s = l(h); | ||
function k(r, a) { | ||
return `var(${r.startsWith("--") ? r : b(r)}${a ? `, ${a}` : ""})`; | ||
@@ -367,8 +393,8 @@ } | ||
C as camelToKebab, | ||
w as cssVar, | ||
k as cssVar, | ||
s as darkCssVariables, | ||
u as darkTheme, | ||
h as darkTheme, | ||
c as lightCssVariables, | ||
h as lightTheme | ||
u as lightTheme | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@toeverything/theme", | ||
"version": "0.7.30", | ||
"version": "0.7.31", | ||
"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
220812
1670