@elmethis/draw.io 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -29,6 +29,7 @@ The generated JSON is available from the package root or the explicit
29
29
  import config from "@elmethis/draw.io" with { type: "json" };
30
30
  ```
31
31
 
32
- The package intentionally does not set `override`, editor layout, libraries, or
32
+ The package includes matching Elmethis document and selected-element style
33
+ presets. It intentionally does not set `override`, editor layout, libraries, or
33
34
  keyboard behavior. Those are user and deployment preferences rather than
34
35
  Elmethis design tokens.
@@ -6,6 +6,15 @@
6
6
  "version": "elmethis-1",
7
7
  "defaultAdaptiveColors": "simple",
8
8
  "embedSvgFonts": true,
9
+ "styles": [
10
+ {
11
+ "commonStyle": {
12
+ "fontColor": "light-dark(#6c7483, #b0b5be)",
13
+ "strokeColor": "light-dark(#a68c70, #c6b5a2)",
14
+ "fillColor": "light-dark(#f7f5f4, #40444c)"
15
+ }
16
+ }
17
+ ],
9
18
  "customColorSchemes": [
10
19
  [
11
20
  {
@@ -103,6 +112,60 @@
103
112
  "fill": "light-dark(#eadce4, #3c1f2f)",
104
113
  "stroke": "#b17396",
105
114
  "font": "#b17396"
115
+ },
116
+ {
117
+ "title": "Display Red 20% Fill",
118
+ "fill": "#ae6e6e33",
119
+ "stroke": "#ae6e6e",
120
+ "font": "#ae6e6e"
121
+ },
122
+ {
123
+ "title": "Display Orange 20% Fill",
124
+ "fill": "#b8816e33",
125
+ "stroke": "#b8816e",
126
+ "font": "#b8816e"
127
+ },
128
+ {
129
+ "title": "Display Yellow 20% Fill",
130
+ "fill": "#b09a6633",
131
+ "stroke": "#b09a66",
132
+ "font": "#b09a66"
133
+ },
134
+ {
135
+ "title": "Display Green 20% Fill",
136
+ "fill": "#65987833",
137
+ "stroke": "#659878",
138
+ "font": "#659878"
139
+ },
140
+ {
141
+ "title": "Display Cyan 20% Fill",
142
+ "fill": "#6091a033",
143
+ "stroke": "#6091a0",
144
+ "font": "#6091a0"
145
+ },
146
+ {
147
+ "title": "Display Blue 20% Fill",
148
+ "fill": "#68779f33",
149
+ "stroke": "#68779f",
150
+ "font": "#68779f"
151
+ },
152
+ {
153
+ "title": "Display Purple 20% Fill",
154
+ "fill": "#8d799f33",
155
+ "stroke": "#8d799f",
156
+ "font": "#8d799f"
157
+ },
158
+ {
159
+ "title": "Display Magenta 20% Fill",
160
+ "fill": "#b1739633",
161
+ "stroke": "#b17396",
162
+ "font": "#b17396"
163
+ },
164
+ {
165
+ "title": "Elmethis",
166
+ "fill": "light-dark(#f7f5f4, #40444c)",
167
+ "stroke": "light-dark(#a68c70, #c6b5a2)",
168
+ "font": "light-dark(#6c7483, #b0b5be)"
106
169
  }
107
170
  ]
108
171
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/draw.io",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "author": {
5
5
  "name": "Ikuma Yamashita",
6
6
  "url": "https://www.ikuma.cloud/"
@@ -33,18 +33,24 @@
33
33
  },
34
34
  "sideEffects": false,
35
35
  "devDependencies": {
36
- "@types/node": "26.1.1",
36
+ "@eslint/js": "latest",
37
+ "@types/node": "26.1.2",
38
+ "eslint": "^10.8.1",
39
+ "globals": "^17.11.0",
40
+ "jiti": "2.7.0",
37
41
  "prettier": "3.9.6",
38
- "tsx": "^4.23.1",
42
+ "tsx": "^4.23.12",
39
43
  "typescript": "5.9.3",
40
- "@elmethis/core": "^0.23.0"
44
+ "typescript-eslint": "^8.67.0",
45
+ "@elmethis/core": "^0.24.0"
41
46
  },
42
47
  "scripts": {
43
48
  "build": "tsx scripts/build-drawio-config.ts",
44
49
  "build.types": "tsc --noEmit",
45
50
  "fmt": "prettier --write ./scripts ./README.md",
46
51
  "fmt.check": "prettier --check ./scripts ./README.md",
47
- "check": "pnpm run fmt.check && pnpm run build.types && pnpm run build",
52
+ "lint": "eslint \"scripts/**/*.ts\" eslint.config.ts",
53
+ "check": "pnpm run fmt.check && pnpm run lint && pnpm run build.types && pnpm run build",
48
54
  "check.ci": "pnpm run check"
49
55
  }
50
56
  }