@ibodr/editor 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -5
- package/dist/index.mjs +51 -2
- package/dist/index.mjs.map +1 -1
- package/editor.css +12 -5
- package/package.json +7 -7
package/editor.css
CHANGED
|
@@ -159,8 +159,11 @@
|
|
|
159
159
|
/* if you ever update --dr-color-background, update the hardcoded values in theme-init.js and globals.css
|
|
160
160
|
they're there to make sure the background color matches the user's preference before the actual app loads*/
|
|
161
161
|
--dr-color-grid: hsl(0, 0%, 43%);
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
/* Board background patterns (see `.dr-bg-*` in the Background section below).
|
|
163
|
+
Light theme: subtle blue-gray lines, like ruled/graph paper on white. */
|
|
164
|
+
--dr-color-board-bg-line: hsl(210, 40%, 55%, 38%);
|
|
165
|
+
--dr-color-board-bg-line-secondary: hsl(210, 40%, 55%, 19%);
|
|
166
|
+
--dr-color-board-bg-dot: var(--dr-color-grid);
|
|
164
167
|
/* UI */
|
|
165
168
|
--dr-color-low: hsl(204, 16%, 94%);
|
|
166
169
|
--dr-color-low-border: hsl(204, 16%, 92%);
|
|
@@ -215,8 +218,12 @@
|
|
|
215
218
|
/* if you ever update --dr-color-background, update the hardcoded values in theme-init.js and globals.css
|
|
216
219
|
they're there to make sure the background color matches the user's preference before the actual app loads*/
|
|
217
220
|
--dr-color-grid: hsl(0, 0%, 40%);
|
|
218
|
-
|
|
219
|
-
|
|
221
|
+
/* Board background patterns (see `.dr-bg-*` in the Background section below).
|
|
222
|
+
Dark theme: near-white lines at low opacity so they stay visible on the
|
|
223
|
+
near-black canvas without the blue cast used in the light theme. */
|
|
224
|
+
--dr-color-board-bg-line: hsl(0, 0%, 100%, 16%);
|
|
225
|
+
--dr-color-board-bg-line-secondary: hsl(0, 0%, 100%, 8%);
|
|
226
|
+
--dr-color-board-bg-dot: var(--dr-color-grid);
|
|
220
227
|
/* UI */
|
|
221
228
|
--dr-color-low: hsl(260, 4.5%, 10.5%);
|
|
222
229
|
--dr-color-low-border: hsl(207, 10%, 10%);
|
|
@@ -371,7 +378,7 @@ input,
|
|
|
371
378
|
}
|
|
372
379
|
|
|
373
380
|
.dr-bg-dot {
|
|
374
|
-
fill: var(--dr-color-board-bg-
|
|
381
|
+
fill: var(--dr-color-board-bg-dot);
|
|
375
382
|
}
|
|
376
383
|
|
|
377
384
|
/* --------------------- Grid Layer --------------------- */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibodr/editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"eventemitter3": "^4.0.7",
|
|
30
30
|
"idb": "^7.1.1",
|
|
31
31
|
"rbush": "^3.0.1",
|
|
32
|
-
"@ibodr/schema": "0.1.
|
|
33
|
-
"@ibodr/
|
|
34
|
-
"@ibodr/
|
|
35
|
-
"@ibodr/state-react": "0.1.
|
|
36
|
-
"@ibodr/
|
|
37
|
-
"@ibodr/validate": "0.1.
|
|
32
|
+
"@ibodr/schema": "0.1.12",
|
|
33
|
+
"@ibodr/state": "0.1.12",
|
|
34
|
+
"@ibodr/store": "0.1.12",
|
|
35
|
+
"@ibodr/state-react": "0.1.12",
|
|
36
|
+
"@ibodr/utils": "0.1.12",
|
|
37
|
+
"@ibodr/validate": "0.1.12"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "^18.2.0 || ^19.2.1",
|