dsh-fonttune 0.2.7 → 0.3.1
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/CHANGELOG.en.md +22 -0
- package/CHANGELOG.md +22 -0
- package/README.en.md +11 -8
- package/README.md +11 -8
- package/lib/client.js +911 -132
- package/lib/index.js +6 -6
- package/lib/shared.cjs +551 -70
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -195,27 +195,27 @@ export const Config = volatileWhenSupported(z.object({
|
|
|
195
195
|
),
|
|
196
196
|
[WEIGHT_FIELD]: z
|
|
197
197
|
.number()
|
|
198
|
-
.min(shared.
|
|
198
|
+
.min(shared.WEIGHT_DELTA_FLOOR)
|
|
199
199
|
.max(shared.WEIGHT_MAX)
|
|
200
200
|
.default(shared.WEIGHT_UNSET)
|
|
201
201
|
.description(
|
|
202
|
-
`Interface font weight (
|
|
202
|
+
`Interface font-weight offset, added to each element's own weight (code is not affected); the slider spans whatever weights the chosen font can render, ${shared.WEIGHT_UNSET} keeps DSH's own weights. A legacy absolute weight (${shared.WEIGHT_MIN}..${shared.WEIGHT_MAX}) is accepted and converted to its offset.`
|
|
203
203
|
),
|
|
204
204
|
[WEIGHT_DIALOG_FIELD]: z
|
|
205
205
|
.number()
|
|
206
|
-
.min(shared.
|
|
206
|
+
.min(shared.WEIGHT_DELTA_FLOOR)
|
|
207
207
|
.max(shared.WEIGHT_MAX)
|
|
208
208
|
.default(shared.WEIGHT_UNSET)
|
|
209
209
|
.description(
|
|
210
|
-
|
|
210
|
+
`Conversation font-weight offset; each element keeps its own weight plus this offset (the slider spans whatever weights the chosen font can render), ${shared.WEIGHT_UNSET} follows the interface offset. A legacy absolute weight (${shared.WEIGHT_MIN}..${shared.WEIGHT_MAX}) is accepted and converted to its offset.`
|
|
211
211
|
),
|
|
212
212
|
[CODE_WEIGHT_FIELD]: z
|
|
213
213
|
.number()
|
|
214
|
-
.min(shared.
|
|
214
|
+
.min(shared.WEIGHT_DELTA_FLOOR)
|
|
215
215
|
.max(shared.WEIGHT_MAX)
|
|
216
216
|
.default(shared.WEIGHT_UNSET)
|
|
217
217
|
.description(
|
|
218
|
-
`Code font weight (
|
|
218
|
+
`Code font-weight offset; added to each code surface's own weight and independent of the interface weight (the slider spans whatever weights the chosen font can render), ${shared.WEIGHT_UNSET} keeps DSH's own weights. A legacy absolute weight (${shared.WEIGHT_MIN}..${shared.WEIGHT_MAX}) is accepted and converted to its offset.`
|
|
219
219
|
),
|
|
220
220
|
[LINE_HEIGHT_FIELD]: z
|
|
221
221
|
.number()
|