@ledgerhq/lumen-design-core 0.1.11 → 0.1.13
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 +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/lib/cssVar/cssVar.d.ts +9 -0
- package/dist/lib/cssVar/cssVar.d.ts.map +1 -0
- package/dist/lib/cssVar/cssVar.js +1 -0
- package/dist/lib/cssVar/cssVar.test.d.ts +2 -0
- package/dist/lib/cssVar/cssVar.test.d.ts.map +1 -0
- package/dist/lib/cssVar/cssVar.test.js +42 -0
- package/dist/lib/themes/css/enterprise/theme.dark-css.d.ts +446 -1
- package/dist/lib/themes/css/enterprise/theme.dark-css.d.ts.map +1 -1
- package/dist/lib/themes/css/enterprise/theme.dark-css.js +21 -7
- package/dist/lib/themes/css/enterprise/theme.light-css.d.ts +446 -1
- package/dist/lib/themes/css/enterprise/theme.light-css.d.ts.map +1 -1
- package/dist/lib/themes/css/enterprise/theme.light-css.js +22 -8
- package/dist/lib/themes/css/index.d.ts +6422 -10
- package/dist/lib/themes/css/index.d.ts.map +1 -1
- package/dist/lib/themes/css/ledger-live/theme.dark-css.d.ts +446 -1
- package/dist/lib/themes/css/ledger-live/theme.dark-css.d.ts.map +1 -1
- package/dist/lib/themes/css/ledger-live/theme.dark-css.js +21 -7
- package/dist/lib/themes/css/ledger-live/theme.light-css.d.ts +446 -1
- package/dist/lib/themes/css/ledger-live/theme.light-css.d.ts.map +1 -1
- package/dist/lib/themes/css/ledger-live/theme.light-css.js +22 -8
- package/dist/lib/themes/css/primitives-css.d.ts +755 -1
- package/dist/lib/themes/css/primitives-css.d.ts.map +1 -1
- package/dist/lib/themes/css/primitives-css.js +10 -0
- package/dist/lib/themes/css/tokenIntegrity.test.d.ts +2 -0
- package/dist/lib/themes/css/tokenIntegrity.test.d.ts.map +1 -0
- package/dist/lib/themes/css/tokenIntegrity.test.js +137 -0
- package/dist/lib/themes/css/typographies/typography.lg-css.d.ts +71 -1
- package/dist/lib/themes/css/typographies/typography.lg-css.d.ts.map +1 -1
- package/dist/lib/themes/css/typographies/typography.md-css.d.ts +71 -1
- package/dist/lib/themes/css/typographies/typography.md-css.d.ts.map +1 -1
- package/dist/lib/themes/css/typographies/typography.sm-css.d.ts +71 -1
- package/dist/lib/themes/css/typographies/typography.sm-css.d.ts.map +1 -1
- package/dist/lib/themes/css/typographies/typography.xl-css.d.ts +71 -1
- package/dist/lib/themes/css/typographies/typography.xl-css.d.ts.map +1 -1
- package/dist/lib/themes/css/typographies/typography.xs-css.d.ts +71 -1
- package/dist/lib/themes/css/typographies/typography.xs-css.d.ts.map +1 -1
- package/dist/lib/themes/css/websites/theme.dark-css.d.ts +446 -1
- package/dist/lib/themes/css/websites/theme.dark-css.d.ts.map +1 -1
- package/dist/lib/themes/css/websites/theme.dark-css.js +21 -7
- package/dist/lib/themes/css/websites/theme.light-css.d.ts +446 -1
- package/dist/lib/themes/css/websites/theme.light-css.d.ts.map +1 -1
- package/dist/lib/themes/css/websites/theme.light-css.js +22 -8
- package/dist/lib/themes/js/enterprise/theme.d.ts +51 -0
- package/dist/lib/themes/js/enterprise/theme.d.ts.map +1 -1
- package/dist/lib/themes/js/enterprise/theme.dark.d.ts +9 -0
- package/dist/lib/themes/js/enterprise/theme.dark.d.ts.map +1 -1
- package/dist/lib/themes/js/enterprise/theme.dark.js +9 -0
- package/dist/lib/themes/js/enterprise/theme.js +2 -0
- package/dist/lib/themes/js/enterprise/theme.light.d.ts +9 -0
- package/dist/lib/themes/js/enterprise/theme.light.d.ts.map +1 -1
- package/dist/lib/themes/js/enterprise/theme.light.js +9 -0
- package/dist/lib/themes/js/ledger-live/theme.d.ts +51 -0
- package/dist/lib/themes/js/ledger-live/theme.d.ts.map +1 -1
- package/dist/lib/themes/js/ledger-live/theme.dark.d.ts +9 -0
- package/dist/lib/themes/js/ledger-live/theme.dark.d.ts.map +1 -1
- package/dist/lib/themes/js/ledger-live/theme.dark.js +9 -0
- package/dist/lib/themes/js/ledger-live/theme.js +2 -0
- package/dist/lib/themes/js/ledger-live/theme.light.d.ts +9 -0
- package/dist/lib/themes/js/ledger-live/theme.light.d.ts.map +1 -1
- package/dist/lib/themes/js/ledger-live/theme.light.js +9 -0
- package/dist/lib/themes/js/primitives/primitive.colors.d.ts +10 -0
- package/dist/lib/themes/js/primitives/primitive.colors.d.ts.map +1 -1
- package/dist/lib/themes/js/primitives/primitive.colors.js +10 -0
- package/dist/lib/themes/js/types.d.ts +1 -0
- package/dist/lib/themes/js/types.d.ts.map +1 -1
- package/dist/lib/themes/js/websites/theme.d.ts +51 -0
- package/dist/lib/themes/js/websites/theme.d.ts.map +1 -1
- package/dist/lib/themes/js/websites/theme.dark.d.ts +9 -0
- package/dist/lib/themes/js/websites/theme.dark.d.ts.map +1 -1
- package/dist/lib/themes/js/websites/theme.dark.js +9 -0
- package/dist/lib/themes/js/websites/theme.js +2 -0
- package/dist/lib/themes/js/websites/theme.light.d.ts +9 -0
- package/dist/lib/themes/js/websites/theme.light.d.ts.map +1 -1
- package/dist/lib/themes/js/websites/theme.light.js +9 -0
- package/dist/lib/utils/createCustomPlugin.js +3 -3
- package/dist/lib/utils/createPrimitivesPlugin.d.ts.map +1 -1
- package/dist/lib/utils/createPrimitivesPlugin.js +1 -0
- package/package.json +1 -1
- package/symbols/icons/airplane.svg +1 -1
- package/symbols/icons/ar.svg +2 -2
- package/symbols/icons/arrow-down-right.svg +1 -1
- package/symbols/icons/arrow-down.svg +1 -1
- package/symbols/icons/arrow-left.svg +1 -1
- package/symbols/icons/arrow-right.svg +1 -1
- package/symbols/icons/arrow-up-right.svg +1 -1
- package/symbols/icons/basket-put-in.svg +1 -1
- package/symbols/icons/bluetooth-circle-fill.svg +3 -3
- package/symbols/icons/cart.svg +1 -1
- package/symbols/icons/chart-5.svg +1 -1
- package/symbols/icons/check.svg +1 -1
- package/symbols/icons/chevron-ascending.svg +2 -2
- package/symbols/icons/chevron-down.svg +1 -1
- package/symbols/icons/chevron-left.svg +1 -1
- package/symbols/icons/chevron-right.svg +1 -1
- package/symbols/icons/chevron-up-down.svg +2 -2
- package/symbols/icons/chevron-up.svg +1 -1
- package/symbols/icons/clear.svg +1 -1
- package/symbols/icons/clip.svg +1 -1
- package/symbols/icons/clock-fill.svg +1 -4
- package/symbols/icons/close.svg +1 -1
- package/symbols/icons/cloud-download.svg +1 -1
- package/symbols/icons/cloud-upload.svg +1 -1
- package/symbols/icons/coin-alert.svg +1 -1
- package/symbols/icons/coin-percent.svg +1 -1
- package/symbols/icons/coins-add-plus.svg +1 -1
- package/symbols/icons/coins-check.svg +1 -1
- package/symbols/icons/coins-cross.svg +1 -1
- package/symbols/icons/coins-crypto.svg +1 -1
- package/symbols/icons/coins-eye.svg +1 -1
- package/symbols/icons/color-palette.svg +1 -1
- package/symbols/icons/computer-mobile.svg +1 -1
- package/symbols/icons/credit-card.svg +1 -1
- package/symbols/icons/crypto-bitcoin-coin.svg +1 -1
- package/symbols/icons/csv.svg +1 -1
- package/symbols/icons/cursor-touch.svg +1 -1
- package/symbols/icons/database-lock.svg +1 -1
- package/symbols/icons/discord.svg +1 -1
- package/symbols/icons/dollar.svg +1 -1
- package/symbols/icons/download.svg +1 -1
- package/symbols/icons/downloadData.json +1 -1
- package/symbols/icons/exchange-fill.svg +1 -1
- package/symbols/icons/exchange.svg +1 -1
- package/symbols/icons/exit-logout.svg +1 -1
- package/symbols/icons/expand.svg +1 -1
- package/symbols/icons/experiment-2.svg +1 -1
- package/symbols/icons/external-link.svg +1 -1
- package/symbols/icons/feather.svg +1 -1
- package/symbols/icons/file-download.svg +1 -1
- package/symbols/icons/filter-sort.svg +2 -2
- package/symbols/icons/gift.svg +1 -1
- package/symbols/icons/github.svg +1 -1
- package/symbols/icons/group-users-add.svg +1 -1
- package/symbols/icons/group-users.svg +1 -1
- package/symbols/icons/hand-card.svg +1 -1
- package/symbols/icons/hat-school.svg +1 -1
- package/symbols/icons/heart.svg +1 -1
- package/symbols/icons/incognito.svg +1 -1
- package/symbols/icons/infinite-fill.svg +1 -1
- package/symbols/icons/infinite.svg +1 -1
- package/symbols/icons/language.svg +1 -1
- package/symbols/icons/list-eye.svg +1 -1
- package/symbols/icons/mail.svg +1 -1
- package/symbols/icons/medal-1.svg +1 -1
- package/symbols/icons/medal-2.svg +1 -1
- package/symbols/icons/menu-burger.svg +1 -1
- package/symbols/icons/message-chat.svg +1 -1
- package/symbols/icons/mobile-arrow.svg +1 -1
- package/symbols/icons/monitor-password.svg +1 -1
- package/symbols/icons/moon.svg +1 -1
- package/symbols/icons/more-horizontal.svg +1 -1
- package/symbols/icons/more-vertical.svg +1 -1
- package/symbols/icons/nano-gen5.svg +1 -1
- package/symbols/icons/nft-hide.svg +1 -1
- package/symbols/icons/nft.svg +1 -1
- package/symbols/icons/parachute.svg +1 -1
- package/symbols/icons/pen-edit.svg +1 -1
- package/symbols/icons/percentage.svg +1 -1
- package/symbols/icons/picture-image.svg +1 -1
- package/symbols/icons/piggy-bank.svg +1 -1
- package/symbols/icons/placeholder-cicle-fill.svg +1 -1
- package/symbols/icons/placeholder.svg +1 -1
- package/symbols/icons/planet.svg +1 -1
- package/symbols/icons/plus.svg +1 -1
- package/symbols/icons/range.svg +1 -1
- package/symbols/icons/recovery-key.svg +1 -1
- package/symbols/icons/reddit.svg +4 -4
- package/symbols/icons/reduce.svg +1 -1
- package/symbols/icons/refresh-back.svg +1 -1
- package/symbols/icons/refresh.svg +1 -1
- package/symbols/icons/repair.svg +1 -1
- package/symbols/icons/screens.svg +1 -1
- package/symbols/icons/server-database-fail.svg +1 -1
- package/symbols/icons/shapes.svg +4 -4
- package/symbols/icons/share.svg +1 -1
- package/symbols/icons/shield-check.svg +1 -1
- package/symbols/icons/shield-lock.svg +1 -1
- package/symbols/icons/shield-more.svg +1 -1
- package/symbols/icons/slideshow.svg +1 -1
- package/symbols/icons/speed-fast.svg +1 -1
- package/symbols/icons/speed-low.svg +1 -1
- package/symbols/icons/speed-medium.svg +1 -1
- package/symbols/icons/star-fill.svg +1 -1
- package/symbols/icons/star-half.svg +2 -2
- package/symbols/icons/star.svg +1 -1
- package/symbols/icons/sun.svg +1 -1
- package/symbols/icons/switch-2.svg +1 -1
- package/symbols/icons/telegram.svg +1 -1
- package/symbols/icons/tools.svg +1 -1
- package/symbols/icons/transfer-horizontal.svg +1 -1
- package/symbols/icons/transfer-vertical.svg +1 -1
- package/symbols/icons/triangle-up.svg +1 -1
- package/symbols/icons/truck.svg +1 -1
- package/symbols/icons/usb.svg +1 -1
- package/symbols/icons/user-arrow-right.svg +1 -1
- package/symbols/icons/user-check.svg +1 -1
- package/symbols/icons/user-delete.svg +1 -1
- package/symbols/icons/user.svg +1 -1
- package/symbols/icons/wallet-input.svg +1 -1
- package/symbols/icons/wallet-search.svg +1 -1
- package/symbols/icons/wallet.svg +1 -1
- package/symbols/icons/warning-fill.svg +1 -1
- package/symbols/icons/warning.svg +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives-css.d.ts","sourceRoot":"","sources":["../../../../src/lib/themes/css/primitives-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"primitives-css.d.ts","sourceRoot":"","sources":["../../../../src/lib/themes/css/primitives-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkvBiD,CAAC"}
|
|
@@ -35,6 +35,9 @@ export const tokens = {
|
|
|
35
35
|
'--color-light-grey-075-0': '#fdfdfd00',
|
|
36
36
|
'--color-light-grey-075': '#fdfdfd',
|
|
37
37
|
'--color-light-grey-100-0': '#fafafa00',
|
|
38
|
+
'--color-light-grey-200-0': '#f1f1f100',
|
|
39
|
+
'--color-light-grey-300-50': '#e8e8e880',
|
|
40
|
+
'--color-light-grey-600-0': '#76767600',
|
|
38
41
|
'--color-light-grey-950-0': '#00000000',
|
|
39
42
|
'--color-light-grey-950-3': '#00000008',
|
|
40
43
|
'--color-light-grey-950-5': '#0000000d',
|
|
@@ -93,6 +96,7 @@ export const tokens = {
|
|
|
93
96
|
'--color-light-green-050': '#f4fbf2',
|
|
94
97
|
'--color-light-green-600-0': '#47883a00',
|
|
95
98
|
'--color-light-green-600-10': '#47883a1a',
|
|
99
|
+
'--color-light-green-600-50': '#47883a80',
|
|
96
100
|
'--color-light-yellow-100': '#fff3d5',
|
|
97
101
|
'--color-light-yellow-200': '#ffe7ac',
|
|
98
102
|
'--color-light-yellow-300': '#ffd373',
|
|
@@ -123,6 +127,7 @@ export const tokens = {
|
|
|
123
127
|
'--color-light-red-600-10': '#c242441a',
|
|
124
128
|
'--color-light-red-600-20': '#c2424433',
|
|
125
129
|
'--color-light-red-600-30': '#c242444d',
|
|
130
|
+
'--color-light-red-600-50': '#c2424480',
|
|
126
131
|
'--color-light-crypto-aion': '#212529',
|
|
127
132
|
'--color-light-crypto-aion-0': '#21252900',
|
|
128
133
|
'--color-light-crypto-algorand': '#000000',
|
|
@@ -315,6 +320,9 @@ export const tokens = {
|
|
|
315
320
|
'--color-dark-grey-075-0': '#10101000',
|
|
316
321
|
'--color-dark-grey-075': '#101010',
|
|
317
322
|
'--color-dark-grey-100-0': '#15151500',
|
|
323
|
+
'--color-dark-grey-200-0': '#1f1f1f00',
|
|
324
|
+
'--color-dark-grey-300-50': '#3c3c3c80',
|
|
325
|
+
'--color-dark-grey-500-0': '#71707000',
|
|
318
326
|
'--color-dark-grey-950-0': '#ffffff00',
|
|
319
327
|
'--color-dark-grey-950-3': '#ffffff08',
|
|
320
328
|
'--color-dark-grey-950-5': '#ffffff0d',
|
|
@@ -374,6 +382,7 @@ export const tokens = {
|
|
|
374
382
|
'--color-dark-green-600-0': '#6ec85c00',
|
|
375
383
|
'--color-dark-green-600-10': '#6ec85c1a',
|
|
376
384
|
'--color-dark-green-600-15': '#6ec85c26',
|
|
385
|
+
'--color-dark-green-600-50': '#6ec85c80',
|
|
377
386
|
'--color-dark-yellow-100': '#63420f',
|
|
378
387
|
'--color-dark-yellow-200': '#885a14',
|
|
379
388
|
'--color-dark-yellow-300': '#ae731a',
|
|
@@ -404,6 +413,7 @@ export const tokens = {
|
|
|
404
413
|
'--color-dark-red-600-15': '#f8727426',
|
|
405
414
|
'--color-dark-red-600-30': '#f872744d',
|
|
406
415
|
'--color-dark-red-600-40': '#f8727466',
|
|
416
|
+
'--color-dark-red-600-50': '#f8727480',
|
|
407
417
|
'--color-dark-crypto-aion': '#212529',
|
|
408
418
|
'--color-dark-crypto-aion-0': '#21252900',
|
|
409
419
|
'--color-dark-crypto-algorand': '#000000',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokenIntegrity.test.d.ts","sourceRoot":"","sources":["../../../../src/lib/themes/css/tokenIntegrity.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import postcss from 'postcss';
|
|
4
|
+
import { describe, it, expect } from 'vitest';
|
|
5
|
+
import { tokens as enterpriseDarkTokens } from './enterprise/theme.dark-css';
|
|
6
|
+
import { tokens as enterpriseLightTokens } from './enterprise/theme.light-css';
|
|
7
|
+
import { tokens as llDarkTokens } from './ledger-live/theme.dark-css';
|
|
8
|
+
import { tokens as llLightTokens } from './ledger-live/theme.light-css';
|
|
9
|
+
import { tokens as primitivesTokens } from './primitives-css';
|
|
10
|
+
import { tokens as typographyLgTokens } from './typographies/typography.lg-css';
|
|
11
|
+
import { tokens as typographyMdTokens } from './typographies/typography.md-css';
|
|
12
|
+
import { tokens as typographySmTokens } from './typographies/typography.sm-css';
|
|
13
|
+
import { tokens as typographyXlTokens } from './typographies/typography.xl-css';
|
|
14
|
+
import { tokens as typographyXsTokens } from './typographies/typography.xs-css';
|
|
15
|
+
import { tokens as websitesDarkTokens } from './websites/theme.dark-css';
|
|
16
|
+
import { tokens as websitesLightTokens } from './websites/theme.light-css';
|
|
17
|
+
// -- Helpers ------------------------------------------------------------------
|
|
18
|
+
function parseCssDeclarations(cssContent) {
|
|
19
|
+
const root = postcss.parse(cssContent);
|
|
20
|
+
const declarations = new Map();
|
|
21
|
+
root.walkDecls((decl) => {
|
|
22
|
+
declarations.set(decl.prop, decl.value);
|
|
23
|
+
});
|
|
24
|
+
return declarations;
|
|
25
|
+
}
|
|
26
|
+
function readCssFile(relativePath) {
|
|
27
|
+
return fs.readFileSync(path.resolve(__dirname, relativePath), 'utf-8');
|
|
28
|
+
}
|
|
29
|
+
// -- CSS files: valid syntax --------------------------------------------------
|
|
30
|
+
const cssFiles = [
|
|
31
|
+
'primitives.css',
|
|
32
|
+
'ledger-live/variables.light.css',
|
|
33
|
+
'ledger-live/variables.dark.css',
|
|
34
|
+
'enterprise/variables.light.css',
|
|
35
|
+
'enterprise/variables.dark.css',
|
|
36
|
+
'websites/variables.light.css',
|
|
37
|
+
'websites/variables.dark.css',
|
|
38
|
+
'typographies/typography.xs.css',
|
|
39
|
+
'typographies/typography.sm.css',
|
|
40
|
+
'typographies/typography.md.css',
|
|
41
|
+
'typographies/typography.lg.css',
|
|
42
|
+
'typographies/typography.xl.css',
|
|
43
|
+
];
|
|
44
|
+
describe('CSS files parse without errors', () => {
|
|
45
|
+
it.each(cssFiles)('%s', (file) => {
|
|
46
|
+
const content = readCssFile(`./${file}`);
|
|
47
|
+
expect(() => postcss.parse(content)).not.toThrow();
|
|
48
|
+
const declarations = parseCssDeclarations(content);
|
|
49
|
+
expect(declarations.size).toBeGreaterThan(0);
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
// -- TS token files: structural integrity -------------------------------------
|
|
53
|
+
const tsTokenFiles = [
|
|
54
|
+
{ name: 'primitives-css', tokens: primitivesTokens },
|
|
55
|
+
{ name: 'ledger-live/theme.light-css', tokens: llLightTokens },
|
|
56
|
+
{ name: 'ledger-live/theme.dark-css', tokens: llDarkTokens },
|
|
57
|
+
{ name: 'enterprise/theme.light-css', tokens: enterpriseLightTokens },
|
|
58
|
+
{ name: 'enterprise/theme.dark-css', tokens: enterpriseDarkTokens },
|
|
59
|
+
{ name: 'websites/theme.light-css', tokens: websitesLightTokens },
|
|
60
|
+
{ name: 'websites/theme.dark-css', tokens: websitesDarkTokens },
|
|
61
|
+
{ name: 'typographies/typography.xs-css', tokens: typographyXsTokens },
|
|
62
|
+
{ name: 'typographies/typography.sm-css', tokens: typographySmTokens },
|
|
63
|
+
{ name: 'typographies/typography.md-css', tokens: typographyMdTokens },
|
|
64
|
+
{ name: 'typographies/typography.lg-css', tokens: typographyLgTokens },
|
|
65
|
+
{ name: 'typographies/typography.xl-css', tokens: typographyXlTokens },
|
|
66
|
+
];
|
|
67
|
+
describe.each(tsTokenFiles)('$name — TS token integrity', ({ tokens }) => {
|
|
68
|
+
const topKey = Object.keys(tokens)[0];
|
|
69
|
+
const tokenMap = tokens[topKey];
|
|
70
|
+
it('has exactly one top-level selector key', () => {
|
|
71
|
+
expect(Object.keys(tokens)).toHaveLength(1);
|
|
72
|
+
});
|
|
73
|
+
it('token map is not empty', () => {
|
|
74
|
+
expect(Object.keys(tokenMap).length).toBeGreaterThan(0);
|
|
75
|
+
});
|
|
76
|
+
it('all keys are valid CSS custom properties', () => {
|
|
77
|
+
for (const key of Object.keys(tokenMap)) {
|
|
78
|
+
expect(key, `"${key}" is not a valid CSS custom property`).toMatch(/^--[a-z0-9-]+$/);
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
it('no value is empty, undefined, or null', () => {
|
|
82
|
+
for (const [key, value] of Object.entries(tokenMap)) {
|
|
83
|
+
expect(value, `${key} is undefined/null`).toBeDefined();
|
|
84
|
+
expect(String(value), `${key} is empty`).not.toBe('');
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
// -- Sanity checks on well-known primitive values -----------------------------
|
|
89
|
+
describe('primitives — core value sanity checks', () => {
|
|
90
|
+
const root = primitivesTokens[':root'];
|
|
91
|
+
it('light white is #ffffff', () => {
|
|
92
|
+
expect(root['--color-light-constant-050']).toBe('#ffffff');
|
|
93
|
+
});
|
|
94
|
+
it('dark black is #000000', () => {
|
|
95
|
+
expect(root['--color-dark-constant-950']).toBe('#000000');
|
|
96
|
+
});
|
|
97
|
+
it('spacing-0 is 0px', () => {
|
|
98
|
+
expect(root['--spacing-0']).toBe('0px');
|
|
99
|
+
});
|
|
100
|
+
it('spacing-16 is 16px', () => {
|
|
101
|
+
expect(root['--spacing-16']).toBe('16px');
|
|
102
|
+
});
|
|
103
|
+
it('border-radius-full is 10000px', () => {
|
|
104
|
+
expect(root['--border-radius-full']).toBe('10000px');
|
|
105
|
+
});
|
|
106
|
+
it('font-family is Inter', () => {
|
|
107
|
+
expect(root['--font-family-font']).toBe('Inter');
|
|
108
|
+
});
|
|
109
|
+
it('font-weight-bold is 700', () => {
|
|
110
|
+
expect(root['--font-weight-bold']).toBe('700');
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
// -- Sanity checks on well-known semantic theme values ------------------------
|
|
114
|
+
describe('ledger-live light theme — core value sanity checks', () => {
|
|
115
|
+
const root = llLightTokens[':root'];
|
|
116
|
+
it('canvas background references a light primitive', () => {
|
|
117
|
+
expect(root['--color-background-canvas']).toMatch(/^var\(--color-light-.+\)$/);
|
|
118
|
+
});
|
|
119
|
+
it('color-text-base references a light primitive', () => {
|
|
120
|
+
expect(root['--color-text-base']).toMatch(/^var\(--color-light-.+\)$/);
|
|
121
|
+
});
|
|
122
|
+
it('text-base aliases to color-text-base', () => {
|
|
123
|
+
expect(root['--text-base']).toBe('var(--color-text-base)');
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
describe('ledger-live dark theme — core value sanity checks', () => {
|
|
127
|
+
const dark = llDarkTokens['.dark'];
|
|
128
|
+
it('canvas background references a dark primitive', () => {
|
|
129
|
+
expect(dark['--color-background-canvas']).toMatch(/^var\(--color-dark-.+\)$/);
|
|
130
|
+
});
|
|
131
|
+
it('color-text-base references a dark primitive', () => {
|
|
132
|
+
expect(dark['--color-text-base']).toMatch(/^var\(--color-dark-.+\)$/);
|
|
133
|
+
});
|
|
134
|
+
it('text-base aliases to color-text-base', () => {
|
|
135
|
+
expect(dark['--text-base']).toBe('var(--color-text-base)');
|
|
136
|
+
});
|
|
137
|
+
});
|
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
|
-
export declare const tokens:
|
|
4
|
+
export declare const tokens: {
|
|
5
|
+
readonly '@media (min-width: theme("screens.lg"))': {
|
|
6
|
+
readonly '--font-style-responsive-display-1-size': "var(--font-size-112)";
|
|
7
|
+
readonly '--font-style-responsive-display-1-weight': "var(--font-weight-bold)";
|
|
8
|
+
readonly '--font-style-responsive-display-1-line-height': "var(--font-line-height-112)";
|
|
9
|
+
readonly '--font-style-responsive-display-1-letter-spacing': "var(--font-letter-spacing-112)";
|
|
10
|
+
readonly '--font-style-responsive-display-2-size': "var(--font-size-80)";
|
|
11
|
+
readonly '--font-style-responsive-display-2-weight': "var(--font-weight-semi-bold)";
|
|
12
|
+
readonly '--font-style-responsive-display-2-line-height': "var(--font-line-height-80)";
|
|
13
|
+
readonly '--font-style-responsive-display-2-letter-spacing': "var(--font-letter-spacing-80)";
|
|
14
|
+
readonly '--font-style-responsive-display-3-size': "var(--font-size-64)";
|
|
15
|
+
readonly '--font-style-responsive-display-3-weight': "var(--font-weight-semi-bold)";
|
|
16
|
+
readonly '--font-style-responsive-display-3-line-height': "var(--font-line-height-64)";
|
|
17
|
+
readonly '--font-style-responsive-display-3-letter-spacing': "var(--font-letter-spacing-64)";
|
|
18
|
+
readonly '--font-style-responsive-display-4-size': "var(--font-size-52)";
|
|
19
|
+
readonly '--font-style-responsive-display-4-weight': "var(--font-weight-semi-bold)";
|
|
20
|
+
readonly '--font-style-responsive-display-4-line-height': "var(--font-line-height-52)";
|
|
21
|
+
readonly '--font-style-responsive-display-4-letter-spacing': "var(--font-letter-spacing-52)";
|
|
22
|
+
readonly '--font-style-heading-0-size': "var(--font-size-48)";
|
|
23
|
+
readonly '--font-style-heading-0-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
24
|
+
readonly '--font-style-heading-0-weight-medium': "var(--font-weight-medium)";
|
|
25
|
+
readonly '--font-style-heading-0-line-height': "var(--font-line-height-48)";
|
|
26
|
+
readonly '--font-style-heading-0-letter-spacing': "var(--font-letter-spacing-48)";
|
|
27
|
+
readonly '--font-style-heading-1-size': "var(--font-size-40)";
|
|
28
|
+
readonly '--font-style-heading-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
29
|
+
readonly '--font-style-heading-1-weight-medium': "var(--font-weight-medium)";
|
|
30
|
+
readonly '--font-style-heading-1-line-height': "var(--font-line-height-40)";
|
|
31
|
+
readonly '--font-style-heading-1-letter-spacing': "var(--font-letter-spacing-40)";
|
|
32
|
+
readonly '--font-style-heading-2-size': "var(--font-size-28)";
|
|
33
|
+
readonly '--font-style-heading-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
34
|
+
readonly '--font-style-heading-2-weight-medium': "var(--font-weight-medium)";
|
|
35
|
+
readonly '--font-style-heading-2-line-height': "var(--font-line-height-28)";
|
|
36
|
+
readonly '--font-style-heading-2-letter-spacing': "var(--font-letter-spacing-28)";
|
|
37
|
+
readonly '--font-style-heading-3-size': "var(--font-size-24)";
|
|
38
|
+
readonly '--font-style-heading-3-size-2': "var(--font-size-32)";
|
|
39
|
+
readonly '--font-style-heading-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
40
|
+
readonly '--font-style-heading-3-weight-medium': "var(--font-weight-medium)";
|
|
41
|
+
readonly '--font-style-heading-3-line-height': "var(--font-line-height-24)";
|
|
42
|
+
readonly '--font-style-heading-3-letter-spacing': "var(--font-letter-spacing-24)";
|
|
43
|
+
readonly '--font-style-heading-4-size': "var(--font-size-20)";
|
|
44
|
+
readonly '--font-style-heading-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
45
|
+
readonly '--font-style-heading-4-weight-medium': "var(--font-weight-medium)";
|
|
46
|
+
readonly '--font-style-heading-4-line-height': "var(--font-line-height-20)";
|
|
47
|
+
readonly '--font-style-heading-4-letter-spacing': "var(--font-letter-spacing-20)";
|
|
48
|
+
readonly '--font-style-heading-5-size': "var(--font-size-18)";
|
|
49
|
+
readonly '--font-style-heading-5-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
50
|
+
readonly '--font-style-heading-5-weight-medium': "var(--font-weight-medium)";
|
|
51
|
+
readonly '--font-style-heading-5-line-height': "var(--font-line-height-18)";
|
|
52
|
+
readonly '--font-style-heading-5-letter-spacing': "var(--font-letter-spacing-18)";
|
|
53
|
+
readonly '--font-style-body-1-size': "var(--font-size-16)";
|
|
54
|
+
readonly '--font-style-body-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
55
|
+
readonly '--font-style-body-1-weight-medium': "var(--font-weight-medium)";
|
|
56
|
+
readonly '--font-style-body-1-line-height': "var(--font-line-height-16)";
|
|
57
|
+
readonly '--font-style-body-1-letter-spacing': "var(--font-letter-spacing-16)";
|
|
58
|
+
readonly '--font-style-body-2-size': "var(--font-size-14)";
|
|
59
|
+
readonly '--font-style-body-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
60
|
+
readonly '--font-style-body-2-weight-medium': "var(--font-weight-medium)";
|
|
61
|
+
readonly '--font-style-body-2-line-height': "var(--font-line-height-14)";
|
|
62
|
+
readonly '--font-style-body-2-letter-spacing': "var(--font-letter-spacing-14)";
|
|
63
|
+
readonly '--font-style-body-3-size': "var(--font-size-12)";
|
|
64
|
+
readonly '--font-style-body-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
65
|
+
readonly '--font-style-body-3-weight-medium': "var(--font-weight-medium)";
|
|
66
|
+
readonly '--font-style-body-3-line-height': "var(--font-line-height-12)";
|
|
67
|
+
readonly '--font-style-body-3-letter-spacing': "var(--font-letter-spacing-12)";
|
|
68
|
+
readonly '--font-style-body-4-size': "var(--font-size-10)";
|
|
69
|
+
readonly '--font-style-body-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
70
|
+
readonly '--font-style-body-4-weight-medium': "var(--font-weight-medium)";
|
|
71
|
+
readonly '--font-style-body-4-line-height': "var(--font-line-height-10)";
|
|
72
|
+
readonly '--font-style-body-4-letter-spacing': "var(--font-letter-spacing-10)";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
5
75
|
//# sourceMappingURL=typography.lg-css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.lg-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.lg-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"typography.lg-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.lg-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EiD,CAAC"}
|
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
|
-
export declare const tokens:
|
|
4
|
+
export declare const tokens: {
|
|
5
|
+
readonly '@media (min-width: theme("screens.md"))': {
|
|
6
|
+
readonly '--font-style-responsive-display-1-size': "var(--font-size-112)";
|
|
7
|
+
readonly '--font-style-responsive-display-1-weight': "var(--font-weight-bold)";
|
|
8
|
+
readonly '--font-style-responsive-display-1-line-height': "var(--font-line-height-112)";
|
|
9
|
+
readonly '--font-style-responsive-display-1-letter-spacing': "var(--font-letter-spacing-112)";
|
|
10
|
+
readonly '--font-style-responsive-display-2-size': "var(--font-size-80)";
|
|
11
|
+
readonly '--font-style-responsive-display-2-weight': "var(--font-weight-semi-bold)";
|
|
12
|
+
readonly '--font-style-responsive-display-2-line-height': "var(--font-line-height-80)";
|
|
13
|
+
readonly '--font-style-responsive-display-2-letter-spacing': "var(--font-letter-spacing-80)";
|
|
14
|
+
readonly '--font-style-responsive-display-3-size': "var(--font-size-64)";
|
|
15
|
+
readonly '--font-style-responsive-display-3-weight': "var(--font-weight-semi-bold)";
|
|
16
|
+
readonly '--font-style-responsive-display-3-line-height': "var(--font-line-height-64)";
|
|
17
|
+
readonly '--font-style-responsive-display-3-letter-spacing': "var(--font-letter-spacing-64)";
|
|
18
|
+
readonly '--font-style-responsive-display-4-size': "var(--font-size-52)";
|
|
19
|
+
readonly '--font-style-responsive-display-4-weight': "var(--font-weight-semi-bold)";
|
|
20
|
+
readonly '--font-style-responsive-display-4-line-height': "var(--font-line-height-52)";
|
|
21
|
+
readonly '--font-style-responsive-display-4-letter-spacing': "var(--font-letter-spacing-52)";
|
|
22
|
+
readonly '--font-style-heading-0-size': "var(--font-size-48)";
|
|
23
|
+
readonly '--font-style-heading-0-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
24
|
+
readonly '--font-style-heading-0-weight-medium': "var(--font-weight-medium)";
|
|
25
|
+
readonly '--font-style-heading-0-line-height': "var(--font-line-height-48)";
|
|
26
|
+
readonly '--font-style-heading-0-letter-spacing': "var(--font-letter-spacing-48)";
|
|
27
|
+
readonly '--font-style-heading-1-size': "var(--font-size-40)";
|
|
28
|
+
readonly '--font-style-heading-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
29
|
+
readonly '--font-style-heading-1-weight-medium': "var(--font-weight-medium)";
|
|
30
|
+
readonly '--font-style-heading-1-line-height': "var(--font-line-height-40)";
|
|
31
|
+
readonly '--font-style-heading-1-letter-spacing': "var(--font-letter-spacing-40)";
|
|
32
|
+
readonly '--font-style-heading-2-size': "var(--font-size-28)";
|
|
33
|
+
readonly '--font-style-heading-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
34
|
+
readonly '--font-style-heading-2-weight-medium': "var(--font-weight-medium)";
|
|
35
|
+
readonly '--font-style-heading-2-line-height': "var(--font-line-height-28)";
|
|
36
|
+
readonly '--font-style-heading-2-letter-spacing': "var(--font-letter-spacing-28)";
|
|
37
|
+
readonly '--font-style-heading-3-size': "var(--font-size-24)";
|
|
38
|
+
readonly '--font-style-heading-3-size-2': "var(--font-size-32)";
|
|
39
|
+
readonly '--font-style-heading-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
40
|
+
readonly '--font-style-heading-3-weight-medium': "var(--font-weight-medium)";
|
|
41
|
+
readonly '--font-style-heading-3-line-height': "var(--font-line-height-24)";
|
|
42
|
+
readonly '--font-style-heading-3-letter-spacing': "var(--font-letter-spacing-24)";
|
|
43
|
+
readonly '--font-style-heading-4-size': "var(--font-size-20)";
|
|
44
|
+
readonly '--font-style-heading-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
45
|
+
readonly '--font-style-heading-4-weight-medium': "var(--font-weight-medium)";
|
|
46
|
+
readonly '--font-style-heading-4-line-height': "var(--font-line-height-20)";
|
|
47
|
+
readonly '--font-style-heading-4-letter-spacing': "var(--font-letter-spacing-20)";
|
|
48
|
+
readonly '--font-style-heading-5-size': "var(--font-size-18)";
|
|
49
|
+
readonly '--font-style-heading-5-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
50
|
+
readonly '--font-style-heading-5-weight-medium': "var(--font-weight-medium)";
|
|
51
|
+
readonly '--font-style-heading-5-line-height': "var(--font-line-height-18)";
|
|
52
|
+
readonly '--font-style-heading-5-letter-spacing': "var(--font-letter-spacing-18)";
|
|
53
|
+
readonly '--font-style-body-1-size': "var(--font-size-16)";
|
|
54
|
+
readonly '--font-style-body-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
55
|
+
readonly '--font-style-body-1-weight-medium': "var(--font-weight-medium)";
|
|
56
|
+
readonly '--font-style-body-1-line-height': "var(--font-line-height-16)";
|
|
57
|
+
readonly '--font-style-body-1-letter-spacing': "var(--font-letter-spacing-16)";
|
|
58
|
+
readonly '--font-style-body-2-size': "var(--font-size-14)";
|
|
59
|
+
readonly '--font-style-body-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
60
|
+
readonly '--font-style-body-2-weight-medium': "var(--font-weight-medium)";
|
|
61
|
+
readonly '--font-style-body-2-line-height': "var(--font-line-height-14)";
|
|
62
|
+
readonly '--font-style-body-2-letter-spacing': "var(--font-letter-spacing-14)";
|
|
63
|
+
readonly '--font-style-body-3-size': "var(--font-size-12)";
|
|
64
|
+
readonly '--font-style-body-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
65
|
+
readonly '--font-style-body-3-weight-medium': "var(--font-weight-medium)";
|
|
66
|
+
readonly '--font-style-body-3-line-height': "var(--font-line-height-12)";
|
|
67
|
+
readonly '--font-style-body-3-letter-spacing': "var(--font-letter-spacing-12)";
|
|
68
|
+
readonly '--font-style-body-4-size': "var(--font-size-10)";
|
|
69
|
+
readonly '--font-style-body-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
70
|
+
readonly '--font-style-body-4-weight-medium': "var(--font-weight-medium)";
|
|
71
|
+
readonly '--font-style-body-4-line-height': "var(--font-line-height-10)";
|
|
72
|
+
readonly '--font-style-body-4-letter-spacing': "var(--font-letter-spacing-10)";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
5
75
|
//# sourceMappingURL=typography.md-css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.md-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.md-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"typography.md-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.md-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EiD,CAAC"}
|
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
|
-
export declare const tokens:
|
|
4
|
+
export declare const tokens: {
|
|
5
|
+
readonly '@media (min-width: theme("screens.sm"))': {
|
|
6
|
+
readonly '--font-style-responsive-display-1-size': "var(--font-size-80)";
|
|
7
|
+
readonly '--font-style-responsive-display-1-weight': "var(--font-weight-bold)";
|
|
8
|
+
readonly '--font-style-responsive-display-1-line-height': "var(--font-line-height-80)";
|
|
9
|
+
readonly '--font-style-responsive-display-1-letter-spacing': "var(--font-letter-spacing-80)";
|
|
10
|
+
readonly '--font-style-responsive-display-2-size': "var(--font-size-64)";
|
|
11
|
+
readonly '--font-style-responsive-display-2-weight': "var(--font-weight-semi-bold)";
|
|
12
|
+
readonly '--font-style-responsive-display-2-line-height': "var(--font-line-height-64)";
|
|
13
|
+
readonly '--font-style-responsive-display-2-letter-spacing': "var(--font-letter-spacing-64)";
|
|
14
|
+
readonly '--font-style-responsive-display-3-size': "var(--font-size-52)";
|
|
15
|
+
readonly '--font-style-responsive-display-3-weight': "var(--font-weight-semi-bold)";
|
|
16
|
+
readonly '--font-style-responsive-display-3-line-height': "var(--font-line-height-52)";
|
|
17
|
+
readonly '--font-style-responsive-display-3-letter-spacing': "var(--font-letter-spacing-52)";
|
|
18
|
+
readonly '--font-style-responsive-display-4-size': "var(--font-size-40)";
|
|
19
|
+
readonly '--font-style-responsive-display-4-weight': "var(--font-weight-semi-bold)";
|
|
20
|
+
readonly '--font-style-responsive-display-4-line-height': "var(--font-line-height-40)";
|
|
21
|
+
readonly '--font-style-responsive-display-4-letter-spacing': "var(--font-letter-spacing-40)";
|
|
22
|
+
readonly '--font-style-heading-0-size': "var(--font-size-48)";
|
|
23
|
+
readonly '--font-style-heading-0-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
24
|
+
readonly '--font-style-heading-0-weight-medium': "var(--font-weight-medium)";
|
|
25
|
+
readonly '--font-style-heading-0-line-height': "var(--font-line-height-48)";
|
|
26
|
+
readonly '--font-style-heading-0-letter-spacing': "var(--font-letter-spacing-48)";
|
|
27
|
+
readonly '--font-style-heading-1-size': "var(--font-size-40)";
|
|
28
|
+
readonly '--font-style-heading-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
29
|
+
readonly '--font-style-heading-1-weight-medium': "var(--font-weight-medium)";
|
|
30
|
+
readonly '--font-style-heading-1-line-height': "var(--font-line-height-40)";
|
|
31
|
+
readonly '--font-style-heading-1-letter-spacing': "var(--font-letter-spacing-40)";
|
|
32
|
+
readonly '--font-style-heading-2-size': "var(--font-size-28)";
|
|
33
|
+
readonly '--font-style-heading-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
34
|
+
readonly '--font-style-heading-2-weight-medium': "var(--font-weight-medium)";
|
|
35
|
+
readonly '--font-style-heading-2-line-height': "var(--font-line-height-28)";
|
|
36
|
+
readonly '--font-style-heading-2-letter-spacing': "var(--font-letter-spacing-28)";
|
|
37
|
+
readonly '--font-style-heading-3-size': "var(--font-size-24)";
|
|
38
|
+
readonly '--font-style-heading-3-size-2': "var(--font-size-28)";
|
|
39
|
+
readonly '--font-style-heading-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
40
|
+
readonly '--font-style-heading-3-weight-medium': "var(--font-weight-medium)";
|
|
41
|
+
readonly '--font-style-heading-3-line-height': "var(--font-line-height-24)";
|
|
42
|
+
readonly '--font-style-heading-3-letter-spacing': "var(--font-letter-spacing-24)";
|
|
43
|
+
readonly '--font-style-heading-4-size': "var(--font-size-20)";
|
|
44
|
+
readonly '--font-style-heading-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
45
|
+
readonly '--font-style-heading-4-weight-medium': "var(--font-weight-medium)";
|
|
46
|
+
readonly '--font-style-heading-4-line-height': "var(--font-line-height-20)";
|
|
47
|
+
readonly '--font-style-heading-4-letter-spacing': "var(--font-letter-spacing-20)";
|
|
48
|
+
readonly '--font-style-heading-5-size': "var(--font-size-18)";
|
|
49
|
+
readonly '--font-style-heading-5-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
50
|
+
readonly '--font-style-heading-5-weight-medium': "var(--font-weight-medium)";
|
|
51
|
+
readonly '--font-style-heading-5-line-height': "var(--font-line-height-18)";
|
|
52
|
+
readonly '--font-style-heading-5-letter-spacing': "var(--font-letter-spacing-18)";
|
|
53
|
+
readonly '--font-style-body-1-size': "var(--font-size-16)";
|
|
54
|
+
readonly '--font-style-body-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
55
|
+
readonly '--font-style-body-1-weight-medium': "var(--font-weight-medium)";
|
|
56
|
+
readonly '--font-style-body-1-line-height': "var(--font-line-height-16)";
|
|
57
|
+
readonly '--font-style-body-1-letter-spacing': "var(--font-letter-spacing-16)";
|
|
58
|
+
readonly '--font-style-body-2-size': "var(--font-size-14)";
|
|
59
|
+
readonly '--font-style-body-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
60
|
+
readonly '--font-style-body-2-weight-medium': "var(--font-weight-medium)";
|
|
61
|
+
readonly '--font-style-body-2-line-height': "var(--font-line-height-14)";
|
|
62
|
+
readonly '--font-style-body-2-letter-spacing': "var(--font-letter-spacing-14)";
|
|
63
|
+
readonly '--font-style-body-3-size': "var(--font-size-12)";
|
|
64
|
+
readonly '--font-style-body-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
65
|
+
readonly '--font-style-body-3-weight-medium': "var(--font-weight-medium)";
|
|
66
|
+
readonly '--font-style-body-3-line-height': "var(--font-line-height-12)";
|
|
67
|
+
readonly '--font-style-body-3-letter-spacing': "var(--font-letter-spacing-12)";
|
|
68
|
+
readonly '--font-style-body-4-size': "var(--font-size-10)";
|
|
69
|
+
readonly '--font-style-body-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
70
|
+
readonly '--font-style-body-4-weight-medium': "var(--font-weight-medium)";
|
|
71
|
+
readonly '--font-style-body-4-line-height': "var(--font-line-height-10)";
|
|
72
|
+
readonly '--font-style-body-4-letter-spacing': "var(--font-letter-spacing-10)";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
5
75
|
//# sourceMappingURL=typography.sm-css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.sm-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.sm-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"typography.sm-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.sm-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EiD,CAAC"}
|
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
|
-
export declare const tokens:
|
|
4
|
+
export declare const tokens: {
|
|
5
|
+
readonly '@media (min-width: theme("screens.xl"))': {
|
|
6
|
+
readonly '--font-style-responsive-display-1-size': "var(--font-size-112)";
|
|
7
|
+
readonly '--font-style-responsive-display-1-weight': "var(--font-weight-bold)";
|
|
8
|
+
readonly '--font-style-responsive-display-1-line-height': "var(--font-line-height-112)";
|
|
9
|
+
readonly '--font-style-responsive-display-1-letter-spacing': "var(--font-letter-spacing-112)";
|
|
10
|
+
readonly '--font-style-responsive-display-2-size': "var(--font-size-80)";
|
|
11
|
+
readonly '--font-style-responsive-display-2-weight': "var(--font-weight-semi-bold)";
|
|
12
|
+
readonly '--font-style-responsive-display-2-line-height': "var(--font-line-height-80)";
|
|
13
|
+
readonly '--font-style-responsive-display-2-letter-spacing': "var(--font-letter-spacing-80)";
|
|
14
|
+
readonly '--font-style-responsive-display-3-size': "var(--font-size-64)";
|
|
15
|
+
readonly '--font-style-responsive-display-3-weight': "var(--font-weight-semi-bold)";
|
|
16
|
+
readonly '--font-style-responsive-display-3-line-height': "var(--font-line-height-64)";
|
|
17
|
+
readonly '--font-style-responsive-display-3-letter-spacing': "var(--font-letter-spacing-64)";
|
|
18
|
+
readonly '--font-style-responsive-display-4-size': "var(--font-size-52)";
|
|
19
|
+
readonly '--font-style-responsive-display-4-weight': "var(--font-weight-semi-bold)";
|
|
20
|
+
readonly '--font-style-responsive-display-4-line-height': "var(--font-line-height-52)";
|
|
21
|
+
readonly '--font-style-responsive-display-4-letter-spacing': "var(--font-letter-spacing-52)";
|
|
22
|
+
readonly '--font-style-heading-0-size': "var(--font-size-48)";
|
|
23
|
+
readonly '--font-style-heading-0-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
24
|
+
readonly '--font-style-heading-0-weight-medium': "var(--font-weight-medium)";
|
|
25
|
+
readonly '--font-style-heading-0-line-height': "var(--font-line-height-48)";
|
|
26
|
+
readonly '--font-style-heading-0-letter-spacing': "var(--font-letter-spacing-48)";
|
|
27
|
+
readonly '--font-style-heading-1-size': "var(--font-size-40)";
|
|
28
|
+
readonly '--font-style-heading-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
29
|
+
readonly '--font-style-heading-1-weight-medium': "var(--font-weight-medium)";
|
|
30
|
+
readonly '--font-style-heading-1-line-height': "var(--font-line-height-40)";
|
|
31
|
+
readonly '--font-style-heading-1-letter-spacing': "var(--font-letter-spacing-40)";
|
|
32
|
+
readonly '--font-style-heading-2-size': "var(--font-size-28)";
|
|
33
|
+
readonly '--font-style-heading-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
34
|
+
readonly '--font-style-heading-2-weight-medium': "var(--font-weight-medium)";
|
|
35
|
+
readonly '--font-style-heading-2-line-height': "var(--font-line-height-28)";
|
|
36
|
+
readonly '--font-style-heading-2-letter-spacing': "var(--font-letter-spacing-28)";
|
|
37
|
+
readonly '--font-style-heading-3-size': "var(--font-size-24)";
|
|
38
|
+
readonly '--font-style-heading-3-size-2': "var(--font-size-32)";
|
|
39
|
+
readonly '--font-style-heading-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
40
|
+
readonly '--font-style-heading-3-weight-medium': "var(--font-weight-medium)";
|
|
41
|
+
readonly '--font-style-heading-3-line-height': "var(--font-line-height-24)";
|
|
42
|
+
readonly '--font-style-heading-3-letter-spacing': "var(--font-letter-spacing-24)";
|
|
43
|
+
readonly '--font-style-heading-4-size': "var(--font-size-20)";
|
|
44
|
+
readonly '--font-style-heading-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
45
|
+
readonly '--font-style-heading-4-weight-medium': "var(--font-weight-medium)";
|
|
46
|
+
readonly '--font-style-heading-4-line-height': "var(--font-line-height-20)";
|
|
47
|
+
readonly '--font-style-heading-4-letter-spacing': "var(--font-letter-spacing-20)";
|
|
48
|
+
readonly '--font-style-heading-5-size': "var(--font-size-18)";
|
|
49
|
+
readonly '--font-style-heading-5-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
50
|
+
readonly '--font-style-heading-5-weight-medium': "var(--font-weight-medium)";
|
|
51
|
+
readonly '--font-style-heading-5-line-height': "var(--font-line-height-18)";
|
|
52
|
+
readonly '--font-style-heading-5-letter-spacing': "var(--font-letter-spacing-18)";
|
|
53
|
+
readonly '--font-style-body-1-size': "var(--font-size-16)";
|
|
54
|
+
readonly '--font-style-body-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
55
|
+
readonly '--font-style-body-1-weight-medium': "var(--font-weight-medium)";
|
|
56
|
+
readonly '--font-style-body-1-line-height': "var(--font-line-height-16)";
|
|
57
|
+
readonly '--font-style-body-1-letter-spacing': "var(--font-letter-spacing-16)";
|
|
58
|
+
readonly '--font-style-body-2-size': "var(--font-size-14)";
|
|
59
|
+
readonly '--font-style-body-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
60
|
+
readonly '--font-style-body-2-weight-medium': "var(--font-weight-medium)";
|
|
61
|
+
readonly '--font-style-body-2-line-height': "var(--font-line-height-14)";
|
|
62
|
+
readonly '--font-style-body-2-letter-spacing': "var(--font-letter-spacing-14)";
|
|
63
|
+
readonly '--font-style-body-3-size': "var(--font-size-12)";
|
|
64
|
+
readonly '--font-style-body-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
65
|
+
readonly '--font-style-body-3-weight-medium': "var(--font-weight-medium)";
|
|
66
|
+
readonly '--font-style-body-3-line-height': "var(--font-line-height-12)";
|
|
67
|
+
readonly '--font-style-body-3-letter-spacing': "var(--font-letter-spacing-12)";
|
|
68
|
+
readonly '--font-style-body-4-size': "var(--font-size-10)";
|
|
69
|
+
readonly '--font-style-body-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
70
|
+
readonly '--font-style-body-4-weight-medium': "var(--font-weight-medium)";
|
|
71
|
+
readonly '--font-style-body-4-line-height': "var(--font-line-height-10)";
|
|
72
|
+
readonly '--font-style-body-4-letter-spacing': "var(--font-letter-spacing-10)";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
5
75
|
//# sourceMappingURL=typography.xl-css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.xl-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.xl-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"typography.xl-css.d.ts","sourceRoot":"","sources":["../../../../../src/lib/themes/css/typographies/typography.xl-css.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EiD,CAAC"}
|
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
|
-
export declare const tokens:
|
|
4
|
+
export declare const tokens: {
|
|
5
|
+
readonly ':root': {
|
|
6
|
+
readonly '--font-style-responsive-display-1-size': "var(--font-size-64)";
|
|
7
|
+
readonly '--font-style-responsive-display-1-weight': "var(--font-weight-bold)";
|
|
8
|
+
readonly '--font-style-responsive-display-1-line-height': "var(--font-line-height-64)";
|
|
9
|
+
readonly '--font-style-responsive-display-1-letter-spacing': "var(--font-letter-spacing-64)";
|
|
10
|
+
readonly '--font-style-responsive-display-2-size': "var(--font-size-40)";
|
|
11
|
+
readonly '--font-style-responsive-display-2-weight': "var(--font-weight-semi-bold)";
|
|
12
|
+
readonly '--font-style-responsive-display-2-line-height': "var(--font-line-height-40)";
|
|
13
|
+
readonly '--font-style-responsive-display-2-letter-spacing': "var(--font-letter-spacing-40)";
|
|
14
|
+
readonly '--font-style-responsive-display-3-size': "var(--font-size-36)";
|
|
15
|
+
readonly '--font-style-responsive-display-3-weight': "var(--font-weight-semi-bold)";
|
|
16
|
+
readonly '--font-style-responsive-display-3-line-height': "var(--font-line-height-36)";
|
|
17
|
+
readonly '--font-style-responsive-display-3-letter-spacing': "var(--font-letter-spacing-36)";
|
|
18
|
+
readonly '--font-style-responsive-display-4-size': "var(--font-size-32)";
|
|
19
|
+
readonly '--font-style-responsive-display-4-weight': "var(--font-weight-semi-bold)";
|
|
20
|
+
readonly '--font-style-responsive-display-4-line-height': "var(--font-line-height-32)";
|
|
21
|
+
readonly '--font-style-responsive-display-4-letter-spacing': "var(--font-letter-spacing-32)";
|
|
22
|
+
readonly '--font-style-heading-0-size': "var(--font-size-48)";
|
|
23
|
+
readonly '--font-style-heading-0-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
24
|
+
readonly '--font-style-heading-0-weight-medium': "var(--font-weight-medium)";
|
|
25
|
+
readonly '--font-style-heading-0-line-height': "var(--font-line-height-48)";
|
|
26
|
+
readonly '--font-style-heading-0-letter-spacing': "var(--font-letter-spacing-48)";
|
|
27
|
+
readonly '--font-style-heading-1-size': "var(--font-size-40)";
|
|
28
|
+
readonly '--font-style-heading-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
29
|
+
readonly '--font-style-heading-1-weight-medium': "var(--font-weight-medium)";
|
|
30
|
+
readonly '--font-style-heading-1-line-height': "var(--font-line-height-40)";
|
|
31
|
+
readonly '--font-style-heading-1-letter-spacing': "var(--font-letter-spacing-40)";
|
|
32
|
+
readonly '--font-style-heading-2-size': "var(--font-size-28)";
|
|
33
|
+
readonly '--font-style-heading-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
34
|
+
readonly '--font-style-heading-2-weight-medium': "var(--font-weight-medium)";
|
|
35
|
+
readonly '--font-style-heading-2-line-height': "var(--font-line-height-28)";
|
|
36
|
+
readonly '--font-style-heading-2-letter-spacing': "var(--font-letter-spacing-28)";
|
|
37
|
+
readonly '--font-style-heading-3-size': "var(--font-size-24)";
|
|
38
|
+
readonly '--font-style-heading-3-size-2': "var(--font-size-24)";
|
|
39
|
+
readonly '--font-style-heading-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
40
|
+
readonly '--font-style-heading-3-weight-medium': "var(--font-weight-medium)";
|
|
41
|
+
readonly '--font-style-heading-3-line-height': "var(--font-line-height-24)";
|
|
42
|
+
readonly '--font-style-heading-3-letter-spacing': "var(--font-letter-spacing-24)";
|
|
43
|
+
readonly '--font-style-heading-4-size': "var(--font-size-20)";
|
|
44
|
+
readonly '--font-style-heading-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
45
|
+
readonly '--font-style-heading-4-weight-medium': "var(--font-weight-medium)";
|
|
46
|
+
readonly '--font-style-heading-4-line-height': "var(--font-line-height-20)";
|
|
47
|
+
readonly '--font-style-heading-4-letter-spacing': "var(--font-letter-spacing-20)";
|
|
48
|
+
readonly '--font-style-heading-5-size': "var(--font-size-18)";
|
|
49
|
+
readonly '--font-style-heading-5-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
50
|
+
readonly '--font-style-heading-5-weight-medium': "var(--font-weight-medium)";
|
|
51
|
+
readonly '--font-style-heading-5-line-height': "var(--font-line-height-18)";
|
|
52
|
+
readonly '--font-style-heading-5-letter-spacing': "var(--font-letter-spacing-18)";
|
|
53
|
+
readonly '--font-style-body-1-size': "var(--font-size-16)";
|
|
54
|
+
readonly '--font-style-body-1-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
55
|
+
readonly '--font-style-body-1-weight-medium': "var(--font-weight-medium)";
|
|
56
|
+
readonly '--font-style-body-1-line-height': "var(--font-line-height-16)";
|
|
57
|
+
readonly '--font-style-body-1-letter-spacing': "var(--font-letter-spacing-16)";
|
|
58
|
+
readonly '--font-style-body-2-size': "var(--font-size-14)";
|
|
59
|
+
readonly '--font-style-body-2-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
60
|
+
readonly '--font-style-body-2-weight-medium': "var(--font-weight-medium)";
|
|
61
|
+
readonly '--font-style-body-2-line-height': "var(--font-line-height-14)";
|
|
62
|
+
readonly '--font-style-body-2-letter-spacing': "var(--font-letter-spacing-14)";
|
|
63
|
+
readonly '--font-style-body-3-size': "var(--font-size-12)";
|
|
64
|
+
readonly '--font-style-body-3-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
65
|
+
readonly '--font-style-body-3-weight-medium': "var(--font-weight-medium)";
|
|
66
|
+
readonly '--font-style-body-3-line-height': "var(--font-line-height-12)";
|
|
67
|
+
readonly '--font-style-body-3-letter-spacing': "var(--font-letter-spacing-12)";
|
|
68
|
+
readonly '--font-style-body-4-size': "var(--font-size-10)";
|
|
69
|
+
readonly '--font-style-body-4-weight-semi-bold': "var(--font-weight-semi-bold)";
|
|
70
|
+
readonly '--font-style-body-4-weight-medium': "var(--font-weight-medium)";
|
|
71
|
+
readonly '--font-style-body-4-line-height': "var(--font-line-height-10)";
|
|
72
|
+
readonly '--font-style-body-4-letter-spacing': "var(--font-letter-spacing-10)";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
5
75
|
//# sourceMappingURL=typography.xs-css.d.ts.map
|