@datatechsolutions/tympan-tokens 0.5.0 → 0.5.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/dist/index.d.ts +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/print-presets.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datatechsolutions/tympan-tokens",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Tympan design tokens: W3C DTCG source (colour, space, radius, type, elevation and glass, motion, z) and an OKLCH theme generator, with the tympan, fakhir, astrlabe, neutral and high-contrast presets in light and dark (plus opt-in UI themes derived from the print book styles), built to --ty-* CSS custom properties, JSON and a TypeScript export.",
|
|
5
5
|
"license": "FSL-1.1-ALv2",
|
|
6
6
|
"author": "Natalia Mesquita",
|
package/src/print-presets.ts
CHANGED
|
@@ -273,6 +273,8 @@ export interface PrintMarca {
|
|
|
273
273
|
largura?: number
|
|
274
274
|
/** Image used in black and white print (default: the same `src`, greyed by CSS). */
|
|
275
275
|
srcPb?: string
|
|
276
|
+
/** Image for dark backgrounds (dark covers, openings on the ink field). */
|
|
277
|
+
srcNegativo?: string
|
|
276
278
|
}
|
|
277
279
|
|
|
278
280
|
/** Page format and print finishing. */
|
|
@@ -295,6 +297,8 @@ export interface PrintFolio {
|
|
|
295
297
|
cabeco?: 'externo' | 'centro' | 'nenhum'
|
|
296
298
|
/** Text before the folio number, e.g. "p. ". */
|
|
297
299
|
prefixoFolio?: string
|
|
300
|
+
/** A mark in the running foot of every normal page: 'editora' = `marcas.editora`, 'selo' = `marcas.selo` (the minimal one); default none. */
|
|
301
|
+
marca?: 'editora' | 'selo' | 'nenhuma'
|
|
298
302
|
}
|
|
299
303
|
|
|
300
304
|
/** A local font file (offline, deterministic builds and EPUB): one @font-face. */
|