@digdir/designsystemet-css 0.11.0-alpha.2 → 0.11.0-alpha.4

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/index.css CHANGED
@@ -3,10 +3,11 @@
3
3
  @layer ds.typography, ds.utils, ds.box, ds.btn;
4
4
 
5
5
  /** Import order defines ordinal specificity for layers */
6
- @import url('./label.css');
7
- @import url('./heading.css');
8
- @import url('./paragraph.css');
9
- @import url('./ingress.css');
6
+ @import url('./typography/label.css');
7
+ @import url('./typography/heading.css');
8
+ @import url('./typography/paragraph.css');
9
+ @import url('./typography/ingress.css');
10
+ @import url('./typography/error-message.css');
10
11
  @import url('./button.css');
11
12
  @import url('./utils.css');
12
13
  @import url('./box.css');
@@ -15,7 +16,6 @@
15
16
  @import url('./accordion.css');
16
17
  @import url('./switch.css');
17
18
  @import url('./checkbox.css');
18
- @import url('./error-message.css');
19
19
  @import url('./radio.css');
20
20
  @import url('./search.css');
21
21
  @import url('./native-select.css');
package/link.css CHANGED
@@ -5,8 +5,8 @@
5
5
  --dsc-link-color-active: var(--ds-color-accent-text-default);
6
6
  --dsc-link-color-active-background: var(--ds-color-accent-surface-default);
7
7
  --dsc-link-color-visited: var(--ds-global-purple-12);
8
- --dsc-link-color-focus: var(--ds-color-accent-text-default);
9
- --dsc-link-color-focus-background: var(--ds-color-neutral-surface-default);
8
+ --dsc-link-color-focus: var(--ds-color-focus-inner);
9
+ --dsc-link-color-focus-background: var(--ds-color-focus-outer);
10
10
 
11
11
  position: relative;
12
12
  color: var(--dsc-link-color);
@@ -19,24 +19,20 @@
19
19
  gap: var(--ds-spacing-1);
20
20
  }
21
21
 
22
- .ds-link__accent {
22
+ .ds-link--accent {
23
23
  --dsc-link-color: var(--ds-color-accent-text-subtle);
24
24
  --dsc-link-color-hover: var(--ds-color-accent-text-default);
25
25
  --dsc-link-color-active: var(--ds-color-accent-text-default);
26
26
  --dsc-link-color-active-background: var(--ds-color-accent-surface-default);
27
27
  --dsc-link-color-visited: var(--ds-global-purple-12);
28
- --dsc-link-color-focus: var(--ds-focus-inner);
29
- --dsc-link-color-focus-background: var(--ds-focus-outer);
30
28
  }
31
29
 
32
- .ds-link__neutral {
30
+ .ds-link--neutral {
33
31
  --dsc-link-color: var(--ds-color-neutral-text-default);
34
32
  --dsc-link-color-hover: var(--ds-color-neutral-text-subtle);
35
33
  --dsc-link-color-active: var(--ds-color-neutral-text-subtle);
36
34
  --dsc-link-color-active-background: var(--ds-color-neutral-surface-default);
37
35
  --dsc-link-color-visited: var(--ds-global-purple-12);
38
- --dsc-link-color-focus: var(--ds-focus-inner);
39
- --dsc-link-color-focus-background: var(--ds-focus-outer);
40
36
  }
41
37
 
42
38
  .ds-link:visited {
package/native-select.css CHANGED
@@ -22,7 +22,6 @@
22
22
 
23
23
  .ds-native-select {
24
24
  position: relative;
25
- font: inherit;
26
25
  font-family: inherit;
27
26
  box-sizing: border-box;
28
27
  padding: 0 var(--ds-spacing-2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/designsystemet-css",
3
- "version": "0.11.0-alpha.2",
3
+ "version": "0.11.0-alpha.4",
4
4
  "description": "CSS for Designsystemet",
5
5
  "author": "Designsystemet team",
6
6
  "repository": "https://github.com/digdir/designsystemet",
@@ -39,5 +39,5 @@
39
39
  "postcss-import": "^16.0.1",
40
40
  "rimraf": "^5.0.5"
41
41
  },
42
- "gitHead": "92430c5083e185ada96522d28ff1c5bd2811de88"
42
+ "gitHead": "87591aa2ce0bbcb4fc451ddcbb2ae9f15cfcfeca"
43
43
  }
package/radio.css CHANGED
@@ -86,9 +86,9 @@
86
86
  .ds-radio:has(.ds-radio__input:focus-visible) {
87
87
  --dsc-focus-border-width: 3px;
88
88
 
89
- outline: var(--dsc-focus-border-width) solid var(--ds-focus-outer);
89
+ outline: var(--dsc-focus-border-width) solid var(--ds-color-focus-outer);
90
90
  outline-offset: var(--dsc-focus-border-width);
91
- box-shadow: 0 0 0 var(--dsc-focus-border-width) var(--ds-focus-inner);
91
+ box-shadow: 0 0 0 var(--dsc-focus-border-width) var(--ds-color-focus-inner);
92
92
  border-radius: var(--ds-border-radius-md);
93
93
  }
94
94
 
package/search.css CHANGED
@@ -52,7 +52,6 @@
52
52
  }
53
53
 
54
54
  .ds-search__input {
55
- font: inherit;
56
55
  font-family: inherit;
57
56
  position: relative;
58
57
  box-sizing: border-box;
package/skiplink.css CHANGED
@@ -37,8 +37,8 @@
37
37
  position: relative;
38
38
  border-radius: var(--ds-border-radius-md);
39
39
  min-height: var(--ds-sizing-10);
40
- outline: var(--dsc-skiplink-border-width) solid var(--ds-color-neutral-text-default);
40
+ outline: var(--dsc-skiplink-border-width) solid var(--ds-color-focus-outer);
41
41
  outline-offset: var(--dsc-skiplink-border-width);
42
- box-shadow: 0 0 0 var(--dsc-skiplink-border-width) var(--ds-color-neutral-background-default);
42
+ box-shadow: 0 0 0 var(--dsc-skiplink-border-width) var(--ds-color-focus-inner);
43
43
  }
44
44
  }
package/switch.css CHANGED
@@ -156,9 +156,9 @@
156
156
  }
157
157
 
158
158
  /* .ds-switch__input:focus-visible + .ds-switch__label .ds-switch__track {
159
- outline: var(--dsc-switch-focus-border-width) solid var(--ds-focus-outer);
159
+ outline: var(--dsc-switch-focus-border-width) solid var(--ds-color-focus-outer);
160
160
  outline-offset: var(--dsc-switch-focus-border-width);
161
- box-shadow: 0 0 0 var(--dsc-switch-focus-border-width) var(--ds-focus-inner);
161
+ box-shadow: 0 0 0 var(--dsc-switch-focus-border-width) var(--ds-color-focus-inner);
162
162
  } */
163
163
 
164
164
  /**
@@ -167,9 +167,9 @@
167
167
  .ds-switch:has(.ds-switch__input:focus-visible) {
168
168
  --dsc-focus-border-width: 3px;
169
169
 
170
- outline: var(--dsc-focus-border-width) solid var(--ds-focus-outer);
170
+ outline: var(--dsc-focus-border-width) solid var(--ds-color-focus-outer);
171
171
  outline-offset: var(--dsc-focus-border-width);
172
- box-shadow: 0 0 0 var(--dsc-focus-border-width) var(--ds-focus-inner);
172
+ box-shadow: 0 0 0 var(--dsc-focus-border-width) var(--ds-color-focus-inner);
173
173
  border-radius: var(--ds-border-radius-md);
174
174
  }
175
175
 
package/table.css CHANGED
@@ -33,7 +33,6 @@
33
33
  .ds-table__head {
34
34
  z-index: 0;
35
35
  box-sizing: border-box;
36
- font: inherit;
37
36
  font-family: inherit;
38
37
  border-spacing: 0;
39
38
  font-weight: 500;
@@ -42,7 +41,6 @@
42
41
 
43
42
  .ds-table__header__cell {
44
43
  padding: var(--dsc-table-padding);
45
- font: inherit;
46
44
  font-family: inherit;
47
45
  background-color: var(--ds-color-neutral-background-default);
48
46
  border-spacing: 0;
@@ -63,7 +61,6 @@
63
61
  position: relative;
64
62
  width: 100%;
65
63
  border: none;
66
- font: inherit;
67
64
  font-family: inherit;
68
65
  display: flex;
69
66
  cursor: pointer;
package/tabs.css CHANGED
@@ -16,6 +16,7 @@
16
16
  cursor: pointer;
17
17
  color: var(--ds-color-neutral-text-subtle);
18
18
  position: relative;
19
+ font-family: inherit;
19
20
  }
20
21
 
21
22
  .ds-tabs__content {
@@ -23,21 +24,6 @@
23
24
  color: var(--ds-color-neutral-text-default);
24
25
  }
25
26
 
26
- .ds-tabs--sm .ds-tabs__tab,
27
- .ds-tabs--sm .ds-tabs__content {
28
- font: var(--ds-typography-paragraph-short-sm);
29
- }
30
-
31
- .ds-tabs--md .ds-tabs__tab,
32
- .ds-tabs--md .ds-tabs__content {
33
- font: var(--ds-typography-paragraph-short-md);
34
- }
35
-
36
- .ds-tabs--lg .ds-tabs__tab,
37
- .ds-tabs--lg .ds-tabs__content {
38
- font: var(--ds-typography-paragraph-short-lg);
39
- }
40
-
41
27
  .ds-tabs--sm .ds-tabs__tab {
42
28
  padding: var(--ds-spacing-2) var(--ds-spacing-4);
43
29
  }
package/textarea.css CHANGED
@@ -27,7 +27,6 @@
27
27
  }
28
28
 
29
29
  .ds-textarea__input {
30
- font: inherit;
31
30
  font-family: inherit;
32
31
  position: relative;
33
32
  box-sizing: border-box;
package/textfield.css CHANGED
@@ -5,17 +5,16 @@
5
5
  }
6
6
 
7
7
  .ds-textfield__adornment {
8
- color: var(--ds-color-neutral-border-strong);
8
+ color: var(--ds-color-neutral-text-subtle);
9
9
  background: var(--ds-color-neutral-background-subtle);
10
10
  padding: 9px var(--ds-spacing-4);
11
11
  border-radius: var(--ds-border-radius-md);
12
- border: solid 1px var(--ds-color-neutral-border-strong);
12
+ border: solid 1px var(--ds-color-neutral-border-default);
13
13
  box-sizing: border-box;
14
14
  display: inline-block;
15
15
  }
16
16
 
17
17
  .ds-textfield__input {
18
- font: inherit;
19
18
  font-family: inherit;
20
19
  position: relative;
21
20
  box-sizing: border-box;
package/tooltip.css CHANGED
@@ -6,8 +6,6 @@
6
6
  padding: var(--ds-spacing-1) var(--ds-spacing-2);
7
7
  color: var(--ds-color-neutral-background-default);
8
8
  border-radius: var(--ds-border-radius-md);
9
- font: var(--ds-typography-paragraph-xs);
10
- font-family: inherit;
11
9
  }
12
10
 
13
11
  .ds-tooltip__arrow {
package/utils.css CHANGED
@@ -19,9 +19,9 @@
19
19
  .ds-focus:focus-visible {
20
20
  --dsc-focus-border-width: 3px;
21
21
 
22
- outline: var(--dsc-focus-border-width) solid var(--ds-focus-outer);
22
+ outline: var(--dsc-focus-border-width) solid var(--ds-color-focus-outer);
23
23
  outline-offset: var(--dsc-focus-border-width);
24
- box-shadow: 0 0 0 var(--dsc-focus-border-width) var(--ds-focus-inner);
24
+ box-shadow: 0 0 0 var(--dsc-focus-border-width) var(--ds-color-focus-inner);
25
25
  }
26
26
 
27
27
  @layer animate-height {
@@ -1 +0,0 @@
1
- @layer ds.typography.error-message{.ds-error-message{--dsc-bottom-spacing:var(--ds-spacing-5);margin:0}.ds-error-message--error{color:var(--ds-color-danger-text-subtle)}.ds-error-message--spacing{margin-bottom:var(--dsc-bottom-spacing)}.ds-error-message--lg{--dsc-bottom-spacing:var(--ds-spacing-5);font:var(--ds-typography-error_message-lg);font-family:inherit}.ds-error-message--md{--dsc-bottom-spacing:var(--ds-spacing-5);font:var(--ds-typography-error_message-md);font-family:inherit}.ds-error-message--sm{--dsc-bottom-spacing:var(--ds-spacing-4);font:var(--ds-typography-error_message-sm);font-family:inherit}.ds-error-message--xs{--dsc-bottom-spacing:var(--ds-spacing-3);font:var(--ds-typography-error_message-xs);font-family:inherit}}
package/dist/heading.css DELETED
@@ -1 +0,0 @@
1
- @layer ds.typography.heading{.ds-heading{--dsc-bottom-spacing:var(--ds-spacing-6);color:var(--ds-color-neutral-text-default);margin:0}.ds-heading--spacing{margin-bottom:var(--dsc-bottom-spacing)}.ds-heading--2xl{--dsc-bottom-spacing:var(--ds-spacing-7);font:var(--ds-typography-heading-2xl);font-family:inherit}.ds-heading--xl{--dsc-bottom-spacing:var(--ds-spacing-6);font:var(--ds-typography-heading-xl);font-family:inherit}.ds-heading--lg{--dsc-bottom-spacing:var(--ds-spacing-5);font:var(--ds-typography-heading-lg);font-family:inherit}.ds-heading--md{--dsc-bottom-spacing:var(--ds-spacing-4);font:var(--ds-typography-heading-md);font-family:inherit}.ds-heading--sm{--dsc-bottom-spacing:var(--ds-spacing-3);font:var(--ds-typography-heading-sm);font-family:inherit}.ds-heading--xs{--dsc-bottom-spacing:var(--ds-spacing-2);font:var(--ds-typography-heading-xs);font-family:inherit}.ds-heading--2xs{--dsc-bottom-spacing:var(--ds-spacing-1);font:var(--ds-typography-heading-2xs);font-family:inherit}}
package/dist/ingress.css DELETED
@@ -1 +0,0 @@
1
- @layer ds.typography.ingress{.ds-ingress{--dsc-bottom-spacing:var(--ds-spacing-5);color:var(--ds-color-neutral-text-default);margin:0}.ds-ingress--spacing{margin-bottom:var(--dsc-bottom-spacing)}.ds-ingress--md{--dsc-bottom-spacing:var(--ds-spacing-5);font:var(--ds-typography-ingress-md);font-family:inherit}.ds-ingress--lg{--dsc-bottom-spacing:var(--ds-spacing-6);font:var(--ds-typography-ingress-lg);font-family:inherit}.ds-ingress--sm{--dsc-bottom-spacing:var(--ds-spacing-7);font:var(--ds-typography-ingress-sm);font-family:inherit}.ds-ingress--xs{--dsc-bottom-spacing:var(--ds-spacing-8);font:var(--ds-typography-ingress-xs);font-family:inherit}}
package/dist/label.css DELETED
@@ -1 +0,0 @@
1
- @layer ds.typography.label{.ds-label{--dsc-bottom-spacing:var(--ds-spacing-1);color:var(--ds-color-neutral-text-default);display:inline-block;margin:0;padding:0}.ds-label--spacing{margin-bottom:var(--dsc-bottom-spacing)}.ds-label--lg{font:var(--ds-typography-label-lg);font-family:inherit}.ds-label--md{font:var(--ds-typography-label-md);font-family:inherit}.ds-label--sm{font:var(--ds-typography-label-sm);font-family:inherit}.ds-label--xs{font:var(--ds-typography-label-xs);font-family:inherit}.ds-label--regular-weight{font-weight:400}.ds-label--medium-weight{font-weight:500}.ds-label--semibold-weight{font-weight:600}}
@@ -1 +0,0 @@
1
- @layer ds.typography.paragraph{.ds-paragraph{--dsc-bottom-spacing:var(--ds-spacing-5);color:var(--ds-color-neutral-text-default);margin:0}.ds-paragraph--spacing{margin-bottom:var(--dsc-bottom-spacing)}.ds-paragraph--lg{--dsc-bottom-spacing:var(--ds-spacing-6);font:var(--ds-typography-paragraph-lg);font-family:inherit}.ds-paragraph--lg.ds-paragraph--short{font:var(--ds-typography-paragraph-short-lg);font-family:inherit}.ds-paragraph--lg.ds-paragraph--long{line-height:var(--ds-typography-paragraph-long-lg)}.ds-paragraph--md{--dsc-bottom-spacing:var(--ds-spacing-5);font:var(--ds-typography-paragraph-md);font-family:inherit}.ds-paragraph--md.ds-paragraph--short{--dsc-bottom-spacing:var(--ds-spacing-5);font:var(--ds-typography-paragraph-short-md);font-family:inherit}.ds-paragraph--md.ds-paragraph--long{line-height:var(--ds-typography-paragraph-long-md)}.ds-paragraph--sm{--dsc-bottom-spacing:var(--ds-spacing-4);font:var(--ds-typography-paragraph-sm);font-family:inherit}.ds-paragraph--sm.ds-paragraph--short{--dsc-bottom-spacing:var(--ds-spacing-4);font:var(--ds-typography-paragraph-short-sm);font-family:inherit}.ds-paragraph--sm.ds-paragraph--long{line-height:var(--ds-typography-paragraph-long-sm)}.ds-paragraph--xs{--dsc-bottom-spacing:var(--ds-spacing-3);font:var(--ds-typography-paragraph-xs);font-family:inherit}.ds-paragraph--xs.ds-paragraph--short{--dsc-bottom-spacing:var(--ds-spacing-3);font:var(--ds-typography-paragraph-short-xs);font-family:inherit}.ds-paragraph--xs.ds-paragraph--long{line-height:var(--ds-typography-paragraph-long-xs)}}
package/error-message.css DELETED
@@ -1,43 +0,0 @@
1
- @layer ds.typography.error-message {
2
- .ds-error-message {
3
- --dsc-bottom-spacing: var(--ds-spacing-5);
4
-
5
- margin: 0;
6
- }
7
-
8
- .ds-error-message--error {
9
- color: var(--ds-color-danger-text-subtle);
10
- }
11
-
12
- .ds-error-message--spacing {
13
- margin-bottom: var(--dsc-bottom-spacing);
14
- }
15
-
16
- .ds-error-message--lg {
17
- --dsc-bottom-spacing: var(--ds-spacing-5);
18
-
19
- font: var(--ds-typography-error_message-lg);
20
- font-family: inherit;
21
- }
22
-
23
- .ds-error-message--md {
24
- --dsc-bottom-spacing: var(--ds-spacing-5);
25
-
26
- font: var(--ds-typography-error_message-md);
27
- font-family: inherit;
28
- }
29
-
30
- .ds-error-message--sm {
31
- --dsc-bottom-spacing: var(--ds-spacing-4);
32
-
33
- font: var(--ds-typography-error_message-sm);
34
- font-family: inherit;
35
- }
36
-
37
- .ds-error-message--xs {
38
- --dsc-bottom-spacing: var(--ds-spacing-3);
39
-
40
- font: var(--ds-typography-error_message-xs);
41
- font-family: inherit;
42
- }
43
- }
package/heading.css DELETED
@@ -1,61 +0,0 @@
1
- @layer ds.typography.heading {
2
- .ds-heading {
3
- --dsc-bottom-spacing: var(--ds-spacing-6);
4
-
5
- margin: 0;
6
- color: var(--ds-color-neutral-text-default);
7
- }
8
-
9
- .ds-heading--spacing {
10
- margin-bottom: var(--dsc-bottom-spacing);
11
- }
12
-
13
- .ds-heading--2xl {
14
- --dsc-bottom-spacing: var(--ds-spacing-7);
15
-
16
- font: var(--ds-typography-heading-2xl);
17
- font-family: inherit;
18
- }
19
-
20
- .ds-heading--xl {
21
- --dsc-bottom-spacing: var(--ds-spacing-6);
22
-
23
- font: var(--ds-typography-heading-xl);
24
- font-family: inherit;
25
- }
26
-
27
- .ds-heading--lg {
28
- --dsc-bottom-spacing: var(--ds-spacing-5);
29
-
30
- font: var(--ds-typography-heading-lg);
31
- font-family: inherit;
32
- }
33
-
34
- .ds-heading--md {
35
- --dsc-bottom-spacing: var(--ds-spacing-4);
36
-
37
- font: var(--ds-typography-heading-md);
38
- font-family: inherit;
39
- }
40
-
41
- .ds-heading--sm {
42
- --dsc-bottom-spacing: var(--ds-spacing-3);
43
-
44
- font: var(--ds-typography-heading-sm);
45
- font-family: inherit;
46
- }
47
-
48
- .ds-heading--xs {
49
- --dsc-bottom-spacing: var(--ds-spacing-2);
50
-
51
- font: var(--ds-typography-heading-xs);
52
- font-family: inherit;
53
- }
54
-
55
- .ds-heading--2xs {
56
- --dsc-bottom-spacing: var(--ds-spacing-1);
57
-
58
- font: var(--ds-typography-heading-2xs);
59
- font-family: inherit;
60
- }
61
- }
package/ingress.css DELETED
@@ -1,40 +0,0 @@
1
- @layer ds.typography.ingress {
2
- .ds-ingress {
3
- --dsc-bottom-spacing: var(--ds-spacing-5);
4
-
5
- margin: 0;
6
- color: var(--ds-color-neutral-text-default);
7
- }
8
-
9
- .ds-ingress--spacing {
10
- margin-bottom: var(--dsc-bottom-spacing);
11
- }
12
-
13
- .ds-ingress--md {
14
- --dsc-bottom-spacing: var(--ds-spacing-5);
15
-
16
- font: var(--ds-typography-ingress-md);
17
- font-family: inherit;
18
- }
19
-
20
- .ds-ingress--lg {
21
- --dsc-bottom-spacing: var(--ds-spacing-6);
22
-
23
- font: var(--ds-typography-ingress-lg);
24
- font-family: inherit;
25
- }
26
-
27
- .ds-ingress--sm {
28
- --dsc-bottom-spacing: var(--ds-spacing-7);
29
-
30
- font: var(--ds-typography-ingress-sm);
31
- font-family: inherit;
32
- }
33
-
34
- .ds-ingress--xs {
35
- --dsc-bottom-spacing: var(--ds-spacing-8);
36
-
37
- font: var(--ds-typography-ingress-xs);
38
- font-family: inherit;
39
- }
40
- }
package/label.css DELETED
@@ -1,46 +0,0 @@
1
- @layer ds.typography.label {
2
- .ds-label {
3
- --dsc-bottom-spacing: var(--ds-spacing-1);
4
-
5
- display: inline-block;
6
- margin: 0;
7
- padding: 0;
8
- color: var(--ds-color-neutral-text-default);
9
- }
10
-
11
- .ds-label--spacing {
12
- margin-bottom: var(--dsc-bottom-spacing);
13
- }
14
-
15
- .ds-label--lg {
16
- font: var(--ds-typography-label-lg);
17
- font-family: inherit;
18
- }
19
-
20
- .ds-label--md {
21
- font: var(--ds-typography-label-md);
22
- font-family: inherit;
23
- }
24
-
25
- .ds-label--sm {
26
- font: var(--ds-typography-label-sm);
27
- font-family: inherit;
28
- }
29
-
30
- .ds-label--xs {
31
- font: var(--ds-typography-label-xs);
32
- font-family: inherit;
33
- }
34
-
35
- .ds-label--regular-weight {
36
- font-weight: 400;
37
- }
38
-
39
- .ds-label--medium-weight {
40
- font-weight: 500;
41
- }
42
-
43
- .ds-label--semibold-weight {
44
- font-weight: 600;
45
- }
46
- }
package/paragraph.css DELETED
@@ -1,82 +0,0 @@
1
- @layer ds.typography.paragraph {
2
- .ds-paragraph {
3
- --dsc-bottom-spacing: var(--ds-spacing-5);
4
-
5
- color: var(--ds-color-neutral-text-default);
6
- margin: 0;
7
- }
8
-
9
- .ds-paragraph--spacing {
10
- margin-bottom: var(--dsc-bottom-spacing);
11
- }
12
-
13
- .ds-paragraph--lg {
14
- --dsc-bottom-spacing: var(--ds-spacing-6);
15
-
16
- font: var(--ds-typography-paragraph-lg);
17
- font-family: inherit;
18
- }
19
-
20
- .ds-paragraph--lg.ds-paragraph--short {
21
- font: var(--ds-typography-paragraph-short-lg);
22
- font-family: inherit;
23
- }
24
-
25
- .ds-paragraph--lg.ds-paragraph--long {
26
- line-height: var(--ds-typography-paragraph-long-lg);
27
- }
28
-
29
- .ds-paragraph--md {
30
- --dsc-bottom-spacing: var(--ds-spacing-5);
31
-
32
- font: var(--ds-typography-paragraph-md);
33
- font-family: inherit;
34
- }
35
-
36
- .ds-paragraph--md.ds-paragraph--short {
37
- --dsc-bottom-spacing: var(--ds-spacing-5);
38
-
39
- font: var(--ds-typography-paragraph-short-md);
40
- font-family: inherit;
41
- }
42
-
43
- .ds-paragraph--md.ds-paragraph--long {
44
- line-height: var(--ds-typography-paragraph-long-md);
45
- }
46
-
47
- .ds-paragraph--sm {
48
- --dsc-bottom-spacing: var(--ds-spacing-4);
49
-
50
- font: var(--ds-typography-paragraph-sm);
51
- font-family: inherit;
52
- }
53
-
54
- .ds-paragraph--sm.ds-paragraph--short {
55
- --dsc-bottom-spacing: var(--ds-spacing-4);
56
-
57
- font: var(--ds-typography-paragraph-short-sm);
58
- font-family: inherit;
59
- }
60
-
61
- .ds-paragraph--sm.ds-paragraph--long {
62
- line-height: var(--ds-typography-paragraph-long-sm);
63
- }
64
-
65
- .ds-paragraph--xs {
66
- --dsc-bottom-spacing: var(--ds-spacing-3);
67
-
68
- font: var(--ds-typography-paragraph-xs);
69
- font-family: inherit;
70
- }
71
-
72
- .ds-paragraph--xs.ds-paragraph--short {
73
- --dsc-bottom-spacing: var(--ds-spacing-3);
74
-
75
- font: var(--ds-typography-paragraph-short-xs);
76
- font-family: inherit;
77
- }
78
-
79
- .ds-paragraph--xs.ds-paragraph--long {
80
- line-height: var(--ds-typography-paragraph-long-xs);
81
- }
82
- }