@nswds/tokens 3.0.1 → 3.2.0
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/css/breakpoints/global.css +7 -0
- package/dist/css/colors/semantic/hex.css +76 -76
- package/dist/css/colors/semantic/hsl.css +76 -76
- package/dist/css/colors/semantic/oklch.css +76 -76
- package/dist/css/colors/semantic/rgb.css +76 -76
- package/dist/css/colors/themes/masterbrand/hex.css +57 -57
- package/dist/css/colors/themes/masterbrand/hsl.css +57 -57
- package/dist/css/colors/themes/masterbrand/oklch.css +57 -57
- package/dist/css/colors/themes/masterbrand/rgb.css +57 -57
- package/dist/css/radius/global.css +7 -0
- package/dist/css/space/global.css +14 -0
- package/dist/css/typography/global.css +32 -0
- package/dist/index.cjs +999 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +417 -0
- package/dist/index.d.ts +417 -0
- package/dist/index.js +999 -31
- package/dist/index.js.map +1 -1
- package/dist/js/breakpoints/global.js +7 -0
- package/dist/js/radius/global.js +7 -0
- package/dist/js/space/global.js +14 -0
- package/dist/js/typography/global.js +42 -0
- package/dist/json/breakpoints/global.json +9 -0
- package/dist/json/radius/global.json +9 -0
- package/dist/json/space/global.json +16 -0
- package/dist/json/typography/global.json +42 -0
- package/dist/less/breakpoints/global.less +5 -0
- package/dist/less/colors/semantic/hex.less +76 -76
- package/dist/less/colors/semantic/hsl.less +76 -76
- package/dist/less/colors/semantic/oklch.less +76 -76
- package/dist/less/colors/semantic/rgb.less +76 -76
- package/dist/less/colors/themes/masterbrand/hex.less +57 -57
- package/dist/less/colors/themes/masterbrand/hsl.less +57 -57
- package/dist/less/colors/themes/masterbrand/oklch.less +57 -57
- package/dist/less/colors/themes/masterbrand/rgb.less +57 -57
- package/dist/less/radius/global.less +5 -0
- package/dist/less/space/global.less +12 -0
- package/dist/less/typography/global.less +30 -0
- package/dist/scss/breakpoints/global.scss +5 -0
- package/dist/scss/colors/semantic/hex.scss +76 -76
- package/dist/scss/colors/semantic/hsl.scss +76 -76
- package/dist/scss/colors/semantic/oklch.scss +76 -76
- package/dist/scss/colors/semantic/rgb.scss +76 -76
- package/dist/scss/colors/themes/masterbrand/hex.scss +57 -57
- package/dist/scss/colors/themes/masterbrand/hsl.scss +57 -57
- package/dist/scss/colors/themes/masterbrand/oklch.scss +57 -57
- package/dist/scss/colors/themes/masterbrand/rgb.scss +57 -57
- package/dist/scss/radius/global.scss +5 -0
- package/dist/scss/space/global.scss +12 -0
- package/dist/scss/typography/global.scss +30 -0
- package/dist/tailwind/breakpoints/global.css +7 -0
- package/dist/tailwind/radius/global.css +7 -0
- package/dist/tailwind/space/global.css +14 -0
- package/dist/tailwind/typography/global.css +32 -0
- package/dist/tokens/breakpoints.base.json +44 -0
- package/dist/tokens/global/breakpoints/canonical.json +44 -0
- package/dist/tokens/global/radius/canonical.json +44 -0
- package/dist/tokens/global/space/canonical.json +100 -0
- package/dist/tokens/global/typography/canonical.json +240 -0
- package/dist/tokens/radius.base.json +44 -0
- package/dist/tokens/semantic/color/canonical.json +76 -0
- package/dist/tokens/semantic/color/hex.json +76 -0
- package/dist/tokens/semantic/color/hsl.json +76 -0
- package/dist/tokens/semantic/color/oklch.json +76 -0
- package/dist/tokens/semantic/color/rgb.json +76 -0
- package/dist/tokens/space.base.json +100 -0
- package/dist/tokens/themes/color/masterbrand/canonical.json +57 -0
- package/dist/tokens/themes/color/masterbrand/hex.json +57 -0
- package/dist/tokens/themes/color/masterbrand/hsl.json +57 -0
- package/dist/tokens/themes/color/masterbrand/oklch.json +57 -0
- package/dist/tokens/themes/color/masterbrand/rgb.json +57 -0
- package/dist/tokens/typography.base.json +240 -0
- package/dist/ts/breakpoints/global.ts +7 -0
- package/dist/ts/radius/global.ts +7 -0
- package/dist/ts/space/global.ts +14 -0
- package/dist/ts/typography/global.ts +42 -0
- package/package.json +1 -1
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--primary-50: rgb(240, 251, 255);
|
|
3
|
-
--primary-100: rgb(228, 246, 255);
|
|
4
|
-
--primary-150: rgb(215, 242, 254);
|
|
5
|
-
--primary-200: rgb(203, 237, 253);
|
|
6
|
-
--primary-250: rgb(188, 234, 254);
|
|
7
|
-
--primary-300: rgb(173, 231, 255);
|
|
8
|
-
--primary-350: rgb(157, 227, 255);
|
|
9
|
-
--primary-400: rgb(140, 224, 255);
|
|
10
|
-
--primary-450: rgb(90, 201, 255);
|
|
11
|
-
--primary-500: rgb(38, 174, 255);
|
|
12
|
-
--primary-550: rgb(0, 143, 255);
|
|
13
|
-
--primary-600: rgb(20, 108, 253);
|
|
14
|
-
--primary-650: rgb(12, 90, 212);
|
|
15
|
-
--primary-700: rgb(5, 72, 173);
|
|
16
|
-
--primary-750: rgb(2, 54, 136);
|
|
17
|
-
--primary-800: rgb(0, 38, 100);
|
|
18
|
-
--primary-850: rgb(0, 26, 77);
|
|
19
|
-
--primary-900: rgb(0, 16, 55);
|
|
20
|
-
--primary-950: rgb(0, 6, 34);
|
|
21
|
-
--accent-50: rgb(255, 248, 249);
|
|
22
|
-
--accent-100: rgb(255, 242, 244);
|
|
23
|
-
--accent-150: rgb(255, 236, 239);
|
|
24
|
-
--accent-200: rgb(255, 230, 234);
|
|
25
|
-
--accent-250: rgb(255, 219, 224);
|
|
26
|
-
--accent-300: rgb(255, 207, 214);
|
|
27
|
-
--accent-350: rgb(255, 196, 204);
|
|
28
|
-
--accent-400: rgb(255, 184, 193);
|
|
29
|
-
--accent-450: rgb(248, 151, 162);
|
|
30
|
-
--accent-500: rgb(239, 117, 129);
|
|
31
|
-
--accent-550: rgb(228, 79, 95);
|
|
32
|
-
--accent-600: rgb(215, 21, 58);
|
|
33
|
-
--accent-650: rgb(185, 14, 50);
|
|
34
|
-
--accent-700: rgb(155, 7, 42);
|
|
35
|
-
--accent-750: rgb(126, 3, 34);
|
|
36
|
-
--accent-800: rgb(99, 0, 25);
|
|
37
|
-
--accent-850: rgb(76, 0, 16);
|
|
38
|
-
--accent-900: rgb(54, 0, 8);
|
|
39
|
-
--accent-950: rgb(33, 0, 3);
|
|
40
|
-
--grey-50: rgb(250, 250, 250);
|
|
41
|
-
--grey-100: rgb(245, 245, 245);
|
|
42
|
-
--grey-150: rgb(240, 240, 240);
|
|
43
|
-
--grey-200: rgb(235, 235, 235);
|
|
44
|
-
--grey-250: rgb(227, 229, 230);
|
|
45
|
-
--grey-300: rgb(220, 223, 224);
|
|
46
|
-
--grey-350: rgb(212, 217, 219);
|
|
47
|
-
--grey-400: rgb(205, 211, 214);
|
|
48
|
-
--grey-450: rgb(170, 176, 180);
|
|
49
|
-
--grey-500: rgb(136, 143, 146);
|
|
50
|
-
--grey-550: rgb(104, 111, 114);
|
|
51
|
-
--grey-600: rgb(73, 80, 84);
|
|
52
|
-
--grey-650: rgb(63, 69, 73);
|
|
53
|
-
--grey-700: rgb(53, 59, 63);
|
|
54
|
-
--grey-750: rgb(43, 49, 53);
|
|
55
|
-
--grey-800: rgb(34, 39, 43);
|
|
56
|
-
--grey-850: rgb(24, 28, 31);
|
|
57
|
-
--grey-900: rgb(14, 17, 19);
|
|
58
|
-
--grey-950: rgb(5, 7, 9);
|
|
2
|
+
--primary-50: rgb(240, 251, 255); /** Primary brand colour — primary actions, links, and key accents. Step 50: lightest tints for subtle backgrounds and surfaces. */
|
|
3
|
+
--primary-100: rgb(228, 246, 255); /** Primary brand colour — primary actions, links, and key accents. Step 100: lightest tints for subtle backgrounds and surfaces. */
|
|
4
|
+
--primary-150: rgb(215, 242, 254); /** Primary brand colour — primary actions, links, and key accents. Step 150: lightest tints for subtle backgrounds and surfaces. */
|
|
5
|
+
--primary-200: rgb(203, 237, 253); /** Primary brand colour — primary actions, links, and key accents. Step 200: lightest tints for subtle backgrounds and surfaces. */
|
|
6
|
+
--primary-250: rgb(188, 234, 254); /** Primary brand colour — primary actions, links, and key accents. Step 250: lightest tints for subtle backgrounds and surfaces. */
|
|
7
|
+
--primary-300: rgb(173, 231, 255); /** Primary brand colour — primary actions, links, and key accents. Step 300: light tints. */
|
|
8
|
+
--primary-350: rgb(157, 227, 255); /** Primary brand colour — primary actions, links, and key accents. Step 350: light tints. */
|
|
9
|
+
--primary-400: rgb(140, 224, 255); /** Primary brand colour — primary actions, links, and key accents. Step 400: light tints. */
|
|
10
|
+
--primary-450: rgb(90, 201, 255); /** Primary brand colour — primary actions, links, and key accents. Step 450: light tints. */
|
|
11
|
+
--primary-500: rgb(38, 174, 255); /** Primary brand colour — primary actions, links, and key accents. Step 500: base colour. */
|
|
12
|
+
--primary-550: rgb(0, 143, 255); /** Primary brand colour — primary actions, links, and key accents. Step 550: shades for borders and icons. */
|
|
13
|
+
--primary-600: rgb(20, 108, 253); /** Primary brand colour — primary actions, links, and key accents. Step 600: shades for borders and icons. */
|
|
14
|
+
--primary-650: rgb(12, 90, 212); /** Primary brand colour — primary actions, links, and key accents. Step 650: shades for borders and icons. */
|
|
15
|
+
--primary-700: rgb(5, 72, 173); /** Primary brand colour — primary actions, links, and key accents. Step 700: shades for borders and icons. */
|
|
16
|
+
--primary-750: rgb(2, 54, 136); /** Primary brand colour — primary actions, links, and key accents. Step 750: darkest shades for text and high emphasis. */
|
|
17
|
+
--primary-800: rgb(0, 38, 100); /** Primary brand colour — primary actions, links, and key accents. Step 800: darkest shades for text and high emphasis. */
|
|
18
|
+
--primary-850: rgb(0, 26, 77); /** Primary brand colour — primary actions, links, and key accents. Step 850: darkest shades for text and high emphasis. */
|
|
19
|
+
--primary-900: rgb(0, 16, 55); /** Primary brand colour — primary actions, links, and key accents. Step 900: darkest shades for text and high emphasis. */
|
|
20
|
+
--primary-950: rgb(0, 6, 34); /** Primary brand colour — primary actions, links, and key accents. Step 950: darkest shades for text and high emphasis. */
|
|
21
|
+
--accent-50: rgb(255, 248, 249); /** Accent colour — secondary emphasis and supporting highlights. Step 50: lightest tints for subtle backgrounds and surfaces. */
|
|
22
|
+
--accent-100: rgb(255, 242, 244); /** Accent colour — secondary emphasis and supporting highlights. Step 100: lightest tints for subtle backgrounds and surfaces. */
|
|
23
|
+
--accent-150: rgb(255, 236, 239); /** Accent colour — secondary emphasis and supporting highlights. Step 150: lightest tints for subtle backgrounds and surfaces. */
|
|
24
|
+
--accent-200: rgb(255, 230, 234); /** Accent colour — secondary emphasis and supporting highlights. Step 200: lightest tints for subtle backgrounds and surfaces. */
|
|
25
|
+
--accent-250: rgb(255, 219, 224); /** Accent colour — secondary emphasis and supporting highlights. Step 250: lightest tints for subtle backgrounds and surfaces. */
|
|
26
|
+
--accent-300: rgb(255, 207, 214); /** Accent colour — secondary emphasis and supporting highlights. Step 300: light tints. */
|
|
27
|
+
--accent-350: rgb(255, 196, 204); /** Accent colour — secondary emphasis and supporting highlights. Step 350: light tints. */
|
|
28
|
+
--accent-400: rgb(255, 184, 193); /** Accent colour — secondary emphasis and supporting highlights. Step 400: light tints. */
|
|
29
|
+
--accent-450: rgb(248, 151, 162); /** Accent colour — secondary emphasis and supporting highlights. Step 450: light tints. */
|
|
30
|
+
--accent-500: rgb(239, 117, 129); /** Accent colour — secondary emphasis and supporting highlights. Step 500: base colour. */
|
|
31
|
+
--accent-550: rgb(228, 79, 95); /** Accent colour — secondary emphasis and supporting highlights. Step 550: shades for borders and icons. */
|
|
32
|
+
--accent-600: rgb(215, 21, 58); /** Accent colour — secondary emphasis and supporting highlights. Step 600: shades for borders and icons. */
|
|
33
|
+
--accent-650: rgb(185, 14, 50); /** Accent colour — secondary emphasis and supporting highlights. Step 650: shades for borders and icons. */
|
|
34
|
+
--accent-700: rgb(155, 7, 42); /** Accent colour — secondary emphasis and supporting highlights. Step 700: shades for borders and icons. */
|
|
35
|
+
--accent-750: rgb(126, 3, 34); /** Accent colour — secondary emphasis and supporting highlights. Step 750: darkest shades for text and high emphasis. */
|
|
36
|
+
--accent-800: rgb(99, 0, 25); /** Accent colour — secondary emphasis and supporting highlights. Step 800: darkest shades for text and high emphasis. */
|
|
37
|
+
--accent-850: rgb(76, 0, 16); /** Accent colour — secondary emphasis and supporting highlights. Step 850: darkest shades for text and high emphasis. */
|
|
38
|
+
--accent-900: rgb(54, 0, 8); /** Accent colour — secondary emphasis and supporting highlights. Step 900: darkest shades for text and high emphasis. */
|
|
39
|
+
--accent-950: rgb(33, 0, 3); /** Accent colour — secondary emphasis and supporting highlights. Step 950: darkest shades for text and high emphasis. */
|
|
40
|
+
--grey-50: rgb(250, 250, 250); /** Neutral grey — text, borders, surfaces, and dividers. Step 50: lightest tints for subtle backgrounds and surfaces. */
|
|
41
|
+
--grey-100: rgb(245, 245, 245); /** Neutral grey — text, borders, surfaces, and dividers. Step 100: lightest tints for subtle backgrounds and surfaces. */
|
|
42
|
+
--grey-150: rgb(240, 240, 240); /** Neutral grey — text, borders, surfaces, and dividers. Step 150: lightest tints for subtle backgrounds and surfaces. */
|
|
43
|
+
--grey-200: rgb(235, 235, 235); /** Neutral grey — text, borders, surfaces, and dividers. Step 200: lightest tints for subtle backgrounds and surfaces. */
|
|
44
|
+
--grey-250: rgb(227, 229, 230); /** Neutral grey — text, borders, surfaces, and dividers. Step 250: lightest tints for subtle backgrounds and surfaces. */
|
|
45
|
+
--grey-300: rgb(220, 223, 224); /** Neutral grey — text, borders, surfaces, and dividers. Step 300: light tints. */
|
|
46
|
+
--grey-350: rgb(212, 217, 219); /** Neutral grey — text, borders, surfaces, and dividers. Step 350: light tints. */
|
|
47
|
+
--grey-400: rgb(205, 211, 214); /** Neutral grey — text, borders, surfaces, and dividers. Step 400: light tints. */
|
|
48
|
+
--grey-450: rgb(170, 176, 180); /** Neutral grey — text, borders, surfaces, and dividers. Step 450: light tints. */
|
|
49
|
+
--grey-500: rgb(136, 143, 146); /** Neutral grey — text, borders, surfaces, and dividers. Step 500: base colour. */
|
|
50
|
+
--grey-550: rgb(104, 111, 114); /** Neutral grey — text, borders, surfaces, and dividers. Step 550: shades for borders and icons. */
|
|
51
|
+
--grey-600: rgb(73, 80, 84); /** Neutral grey — text, borders, surfaces, and dividers. Step 600: shades for borders and icons. */
|
|
52
|
+
--grey-650: rgb(63, 69, 73); /** Neutral grey — text, borders, surfaces, and dividers. Step 650: shades for borders and icons. */
|
|
53
|
+
--grey-700: rgb(53, 59, 63); /** Neutral grey — text, borders, surfaces, and dividers. Step 700: shades for borders and icons. */
|
|
54
|
+
--grey-750: rgb(43, 49, 53); /** Neutral grey — text, borders, surfaces, and dividers. Step 750: darkest shades for text and high emphasis. */
|
|
55
|
+
--grey-800: rgb(34, 39, 43); /** Neutral grey — text, borders, surfaces, and dividers. Step 800: darkest shades for text and high emphasis. */
|
|
56
|
+
--grey-850: rgb(24, 28, 31); /** Neutral grey — text, borders, surfaces, and dividers. Step 850: darkest shades for text and high emphasis. */
|
|
57
|
+
--grey-900: rgb(14, 17, 19); /** Neutral grey — text, borders, surfaces, and dividers. Step 900: darkest shades for text and high emphasis. */
|
|
58
|
+
--grey-950: rgb(5, 7, 9); /** Neutral grey — text, borders, surfaces, and dividers. Step 950: darkest shades for text and high emphasis. */
|
|
59
59
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--radius-none: 0px; /** Square corners — tables, full-bleed surfaces, and elements flush to container edges. */
|
|
3
|
+
--radius-sm: 4px; /** Small rounding — inputs, buttons, tags, and compact controls. */
|
|
4
|
+
--radius-md: 8px; /** Medium rounding — cards, panels, and modals. */
|
|
5
|
+
--radius-lg: 16px; /** Large rounding — hero surfaces and prominent containers. */
|
|
6
|
+
--radius-pill: 9999px; /** Fully rounded ends — pills, badges, and circular icon buttons. */
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--space-0: 0rem; /** Spacing step 0 on the 4px grid (0px at the default root font size). Use for padding, margins, and gaps. */
|
|
3
|
+
--space-1: 0.25rem; /** Spacing step 1 on the 4px grid (4px at the default root font size). Use for padding, margins, and gaps. */
|
|
4
|
+
--space-2: 0.5rem; /** Spacing step 2 on the 4px grid (8px at the default root font size). Use for padding, margins, and gaps. */
|
|
5
|
+
--space-3: 0.75rem; /** Spacing step 3 on the 4px grid (12px at the default root font size). Use for padding, margins, and gaps. */
|
|
6
|
+
--space-4: 1rem; /** Spacing step 4 on the 4px grid (16px at the default root font size). Use for padding, margins, and gaps. */
|
|
7
|
+
--space-5: 1.25rem; /** Spacing step 5 on the 4px grid (20px at the default root font size). Use for padding, margins, and gaps. */
|
|
8
|
+
--space-6: 1.5rem; /** Spacing step 6 on the 4px grid (24px at the default root font size). Use for padding, margins, and gaps. */
|
|
9
|
+
--space-8: 2rem; /** Spacing step 8 on the 4px grid (32px at the default root font size). Use for padding, margins, and gaps. */
|
|
10
|
+
--space-10: 2.5rem; /** Spacing step 10 on the 4px grid (40px at the default root font size). Use for padding, margins, and gaps. */
|
|
11
|
+
--space-12: 3rem; /** Spacing step 12 on the 4px grid (48px at the default root font size). Use for padding, margins, and gaps. */
|
|
12
|
+
--space-14: 3.5rem; /** Spacing step 14 on the 4px grid (56px at the default root font size). Use for padding, margins, and gaps. */
|
|
13
|
+
--space-16: 4rem; /** Spacing step 16 on the 4px grid (64px at the default root font size). Use for padding, margins, and gaps. */
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-family-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; /** Primary typeface — Public Sans (the NSW Government brand typeface) with system, Helvetica/Arial, and emoji fallbacks. Use for all UI and body text. */
|
|
3
|
+
--font-family-display: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; /** Display typeface — currently the same stack as sans; a separate token so display/heading type can diverge from body text later without a breaking change. */
|
|
4
|
+
--font-family-system: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; /** System typeface — currently the same stack as sans; a separate token for system-chrome contexts (toasts, native-feeling UI) that may diverge later. */
|
|
5
|
+
--font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace; /** Monospace stack — JetBrains Mono with ui-monospace and system fallbacks for code, tabular data, and technical content. */
|
|
6
|
+
--font-size-12: 0.75rem; /** Font size 12px (0.75rem) — the step name is the px value at the default root font size. */
|
|
7
|
+
--font-size-14: 0.875rem; /** Font size 14px (0.875rem) — the step name is the px value at the default root font size. */
|
|
8
|
+
--font-size-16: 1rem; /** Font size 16px (1rem) — the step name is the px value at the default root font size. */
|
|
9
|
+
--font-size-18: 1.125rem; /** Font size 18px (1.125rem) — the step name is the px value at the default root font size. */
|
|
10
|
+
--font-size-20: 1.25rem; /** Font size 20px (1.25rem) — the step name is the px value at the default root font size. */
|
|
11
|
+
--font-size-22: 1.375rem; /** Font size 22px (1.375rem) — the step name is the px value at the default root font size. */
|
|
12
|
+
--font-size-24: 1.5rem; /** Font size 24px (1.5rem) — the step name is the px value at the default root font size. */
|
|
13
|
+
--font-size-30: 1.875rem; /** Font size 30px (1.875rem) — the step name is the px value at the default root font size. */
|
|
14
|
+
--font-size-36: 2.25rem; /** Font size 36px (2.25rem) — the step name is the px value at the default root font size. */
|
|
15
|
+
--font-size-48: 3rem; /** Font size 48px (3rem) — the step name is the px value at the default root font size. */
|
|
16
|
+
--font-size-56: 3.5rem; /** Font size 56px (3.5rem) — the step name is the px value at the default root font size. */
|
|
17
|
+
--font-size-64: 4rem; /** Font size 64px (4rem) — the step name is the px value at the default root font size. */
|
|
18
|
+
--font-weight-light: 300; /** Light (300) — large display text only; avoid at body sizes for legibility. */
|
|
19
|
+
--font-weight-regular: 400; /** Regular (400) — default body text weight. */
|
|
20
|
+
--font-weight-medium: 500; /** Medium (500) — subtle emphasis, labels, and navigation. */
|
|
21
|
+
--font-weight-semibold: 600; /** Semibold (600) — headings and strong emphasis. */
|
|
22
|
+
--font-weight-bold: 700; /** Bold (700) — highest emphasis; key figures and primary headings. */
|
|
23
|
+
--line-height-none: 1; /** Solid (1) — display headings set at their own size (48/48, 56/56, 64/64 in the prose scale). */
|
|
24
|
+
--line-height-tight: 1.2; /** Tight (1.2) — large headings (36/30 in the prose scale). */
|
|
25
|
+
--line-height-snug: 1.3333333; /** Snug (1.3333333) — mid-size headings (32/24, 40/30 in the prose scale). */
|
|
26
|
+
--line-height-base: 1.5; /** Base (1.5) — default for UI text and dense content (24/16, 36/24 in the prose scale); meets WCAG 1.4.12 text-spacing. */
|
|
27
|
+
--line-height-relaxed: 1.6; /** Relaxed (1.6) — subheadings and lead text (32/20 in the prose scale). */
|
|
28
|
+
--line-height-loose: 1.75; /** Loose (1.75) — long-form body text (28/16 in the prose scale). */
|
|
29
|
+
--letter-spacing-tight: -0.0125em; /** Tight tracking (-0.0125em) — large display headings. Value is an em multiplier; string outputs render it with the em unit. */
|
|
30
|
+
--letter-spacing-normal: 0em; /** Normal tracking (0em) — default for body text. Value is an em multiplier; string outputs render it with the em unit. */
|
|
31
|
+
--letter-spacing-wide: 0.025em; /** Wide tracking (0.025em) — small caps, overlines, and small labels. Value is an em multiplier; string outputs render it with the em unit. */
|
|
32
|
+
}
|