feat(editor): store real color values in edgeless (#9254)

### What's Changed!

* adds theme type: `ThemeSchema`
* adds default theme: `DefaultTheme`
* stores real color values
This commit is contained in:
fundon
2024-12-30 03:36:35 +00:00
parent a5641ae608
commit b9f2650369
287 changed files with 2219 additions and 1520 deletions
+12
View File
@@ -3738,6 +3738,7 @@ __metadata:
"@types/dompurify": "npm:^3.0.5"
"@types/hast": "npm:^3.0.4"
"@types/katex": "npm:^0.16.7"
"@types/lodash.isequal": "npm:^4.5.8"
"@types/mdast": "npm:^4.0.4"
collapse-white-space: "npm:^2.1.0"
date-fns: "npm:^4.0.0"
@@ -3748,6 +3749,7 @@ __metadata:
html2canvas: "npm:^1.4.1"
katex: "npm:^0.16.11"
lit: "npm:^3.2.0"
lodash.isequal: "npm:^4.5.0"
lz-string: "npm:^1.5.0"
mdast-util-gfm-autolink-literal: "npm:^2.0.1"
mdast-util-gfm-strikethrough: "npm:^2.0.0"
@@ -3845,6 +3847,7 @@ __metadata:
"@blocksuite/global": "workspace:*"
"@blocksuite/presets": "workspace:*"
"@playwright/test": "npm:=1.49.1"
"@toeverything/theme": "npm:^1.1.3"
languageName: unknown
linkType: soft
@@ -14557,6 +14560,15 @@ __metadata:
languageName: node
linkType: hard
"@types/lodash.isequal@npm:^4.5.8":
version: 4.5.8
resolution: "@types/lodash.isequal@npm:4.5.8"
dependencies:
"@types/lodash": "npm:*"
checksum: 10/f3180c2d2925514fff1908a1303c11468c9f39b47fd7b053416aad3f1447f8e4a9894dd0460187ac9ac19387e25aec8dd8214d13a50a0967e0dc9cca8e4c5353
languageName: node
linkType: hard
"@types/lodash.ismatch@npm:^4.4.9":
version: 4.4.9
resolution: "@types/lodash.ismatch@npm:4.4.9"