@sebgroup/green-core 1.76.1 → 1.76.3

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.
Files changed (84) hide show
  1. package/components/badge/badge.style.js +3 -3
  2. package/components/button/button.style.css.js +1 -1
  3. package/components/calendar/calendar.styles.js +20 -19
  4. package/components/card/card.component.js +4 -4
  5. package/components/datepicker/datepicker.component.d.ts +4 -0
  6. package/components/datepicker/datepicker.component.js +12 -1
  7. package/components/datepicker/datepicker.styles.js +9 -9
  8. package/components/datepicker/datepicker.trans.styles.scss.js +1 -1
  9. package/components/details/details.styles.js +24 -24
  10. package/components/div/div.component.js +4 -4
  11. package/components/div/div.style.js +3 -3
  12. package/components/divider/divider.component.js +1 -1
  13. package/components/dropdown/dropdown.component.d.ts +4 -0
  14. package/components/dropdown/dropdown.component.js +13 -5
  15. package/components/dropdown/dropdown.styles.js +10 -10
  16. package/components/fab/fab.styles.js +2 -2
  17. package/components/flex/flex.styles.js +1 -1
  18. package/components/img/img.component.js +1 -1
  19. package/components/link/link.styles.js +1 -1
  20. package/components/menu-button/menu-button.styles.js +10 -10
  21. package/components/radio/radio-group/radio-group.component.js +4 -1
  22. package/components/radio/radio-group/radio-group.styles.js +35 -35
  23. package/components/radio/radio.styles.js +2 -2
  24. package/components/rich-text/rich-text.styles.js +31 -30
  25. package/components/segmented-control/segment/segment.style.css.js +1 -1
  26. package/components/segmented-control/segmented-control.style.css.js +1 -1
  27. package/components/select/select.component.d.ts +4 -0
  28. package/components/select/select.component.js +19 -4
  29. package/components/signal/signal.style.js +1 -1
  30. package/components/spacer/spacer.component.js +1 -1
  31. package/components/spinner/spinner.styles.js +4 -4
  32. package/components/text/default-typography.styles.js +22 -22
  33. package/components/text/text.component.js +3 -3
  34. package/components/textarea/textarea.component.d.ts +4 -0
  35. package/components/textarea/textarea.component.js +12 -1
  36. package/components/textarea/textarea.styles.js +3 -1
  37. package/components/theme/chlorophyll-tokens.scss.js +1 -1
  38. package/components/video/video.component.js +1 -1
  39. package/generated/locales/da.d.ts +0 -1
  40. package/generated/locales/da.js +0 -1
  41. package/generated/locales/de.d.ts +0 -1
  42. package/generated/locales/de.js +0 -1
  43. package/generated/locales/fi.d.ts +0 -1
  44. package/generated/locales/fi.js +0 -1
  45. package/generated/locales/fr.d.ts +0 -1
  46. package/generated/locales/fr.js +0 -1
  47. package/generated/locales/it.d.ts +0 -1
  48. package/generated/locales/it.js +0 -1
  49. package/generated/locales/nl.d.ts +0 -1
  50. package/generated/locales/nl.js +0 -1
  51. package/generated/locales/no.d.ts +0 -1
  52. package/generated/locales/no.js +0 -1
  53. package/generated/locales/sv.d.ts +0 -1
  54. package/generated/locales/sv.js +0 -1
  55. package/generated/react/datepicker/index.d.ts +1 -0
  56. package/generated/react/dropdown/index.d.ts +1 -0
  57. package/generated/react/index.d.ts +2 -2
  58. package/generated/react/index.js +2 -2
  59. package/generated/react/select/index.d.ts +1 -0
  60. package/generated/react/textarea/index.d.ts +1 -0
  61. package/package.json +1 -1
  62. package/primitives/field-base/field-base.styles.js +36 -35
  63. package/primitives/field-base/field-base.trans.styles.scss.js +1 -1
  64. package/primitives/form-control-footer/form-control-footer.styles.js +9 -9
  65. package/primitives/form-control-header/form-control-header.styles.js +13 -12
  66. package/primitives/listbox/option.styles.js +18 -18
  67. package/primitives/menu/menu-heading.styles.js +6 -6
  68. package/primitives/ripple/ripple.styles.scss.js +1 -1
  69. package/primitives/selection-controls/selection-field-label.styles.js +3 -3
  70. package/shared-styles/form-control-host.style.js +11 -11
  71. package/tokens/variables.css.js +2 -0
  72. package/tokens/variables.dark.css.js +2 -0
  73. package/tokens/variables.light.css.js +2 -0
  74. package/tokens.style.d.ts +2 -2
  75. package/tokens.style.js +5 -12
  76. package/utils/decorators/style-expression-property.d.ts +1 -1
  77. package/utils/helpers/custom-element-scoping.js +1 -1
  78. package/utils/helpers/style-expression-helpers.js +4 -4
  79. package/tokens/dark.css.js +0 -2
  80. package/tokens/light.css.js +0 -2
  81. package/tokens/motion.css.js +0 -2
  82. package/tokens/shadow.css.js +0 -2
  83. package/tokens/size.css.js +0 -2
  84. package/tokens/text.css.js +0 -2
@@ -7,7 +7,8 @@ const styles = css`
7
7
  display: flex;
8
8
  justify-content: space-between;
9
9
  align-items: center;
10
- line-height: var(--gds-text-line-height-detail-m);
10
+ line-height: var(--gds-sys-text-line-height-detail-m);
11
+ color: var(--gds-sys-color-l2-content-primary);
11
12
 
12
13
  & > div {
13
14
  display: flex;
@@ -16,14 +17,14 @@ const styles = css`
16
17
  }
17
18
 
18
19
  ::slotted(label) {
19
- font-weight: var(--gds-text-weight-book);
20
+ font-weight: var(--gds-sys-text-weight-book);
20
21
  }
21
22
 
22
23
  :host(.size-small) {
23
24
  & slot[name='supporting-text'],
24
25
  & ::slotted(label) {
25
- font-size: var(--gds-text-size-detail-s);
26
- line-height: var(--gds-text-line-height-detail-s);
26
+ font-size: var(--gds-sys-text-size-detail-s);
27
+ line-height: var(--gds-sys-text-line-height-detail-s);
27
28
  }
28
29
  }
29
30
 
@@ -32,23 +33,23 @@ const styles = css`
32
33
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
33
34
  transition-duration: 368ms;
34
35
  transition-property: all;
35
- font-size: var(--gds-text-size-body-s);
36
- line-height: var(--gds-text-line-height-body-s);
37
- border-radius: var(--gds-space-xs);
38
- background-color: var(--gds-color-l3-background-secondary);
39
- color: var(--gds-color-l3-content-tertiary);
36
+ font-size: var(--gds-sys-text-size-body-s);
37
+ line-height: var(--gds-sys-text-line-height-body-s);
38
+ border-radius: var(--gds-sys-space-xs);
39
+ background-color: var(--gds-sys-color-l3-background-secondary);
40
+ color: var(--gds-sys-color-l3-content-tertiary);
40
41
  max-height: var(--_max-height);
41
42
 
42
43
  &[aria-hidden='false'] {
43
- margin: var(--gds-space-2xs) 0 0 0;
44
- padding: var(--gds-space-s) var(--gds-space-m);
44
+ margin: var(--gds-sys-space-2xs) 0 0 0;
45
+ padding: var(--gds-sys-space-s) var(--gds-sys-space-m);
45
46
  }
46
47
 
47
48
  &[aria-hidden='true'] {
48
49
  max-height: 0;
49
50
  opacity: 0;
50
51
  translate: 0 2px;
51
- padding: 0 var(--gds-space-m);
52
+ padding: 0 var(--gds-sys-space-m);
52
53
  margin: 0;
53
54
  overflow: hidden;
54
55
  }
@@ -5,19 +5,19 @@ const style = css`
5
5
 
6
6
  @layer base {
7
7
  :host(:not(:last-child)) {
8
- border-bottom: 1px solid var(--gds-color-l2-border-primary);
8
+ border-bottom: 1px solid var(--gds-sys-color-l2-border-primary);
9
9
  }
10
10
 
11
11
  :host div {
12
12
  display: flex;
13
13
  align-items: center;
14
14
  user-select: none;
15
- padding-inline: var(--gds-space-m);
16
- padding-block: var(--gds-space-m);
15
+ padding-inline: var(--gds-sys-space-m);
16
+ padding-block: var(--gds-sys-space-m);
17
17
  cursor: pointer;
18
- font-size: var(--gds-text-size-label-input-large);
19
- font-weight: var(--gds-text-weight-regular);
20
- line-height: var(--gds-text-line-height-label-input-large);
18
+ font-size: var(--gds-sys-text-size-label-input-large);
19
+ font-weight: var(--gds-sys-text-weight-regular);
20
+ line-height: var(--gds-sys-text-line-height-label-input-large);
21
21
  gap: 1ch;
22
22
  max-width: 100%;
23
23
  box-sizing: border-box;
@@ -26,10 +26,10 @@ const style = css`
26
26
  &::before {
27
27
  content: ' ';
28
28
  display: flex;
29
- inset: var(--gds-space-2xs);
29
+ inset: var(--gds-sys-space-2xs);
30
30
  position: absolute;
31
- border: var(--gds-space-3xs) solid currentColor;
32
- border-radius: var(--gds-space-xs);
31
+ border: var(--gds-sys-space-3xs) solid currentColor;
32
+ border-radius: var(--gds-sys-space-xs);
33
33
  opacity: 0;
34
34
  visitility: hidden;
35
35
  pointer-events: none;
@@ -37,19 +37,19 @@ const style = css`
37
37
  }
38
38
 
39
39
  :host([highlighted]) {
40
- background-color: var(--gds-color-l2-background-tertiary);
41
- color: var(--gds-color-l2-content-tertiary);
40
+ background-color: var(--gds-sys-color-l2-background-tertiary);
41
+ color: var(--gds-sys-color-l2-content-tertiary);
42
42
  }
43
43
 
44
44
  :host(:hover:not([highlighted])) div {
45
- background-color: var(--gds-color-l3-background-secondary);
45
+ background-color: var(--gds-sys-color-l3-background-secondary);
46
46
  }
47
47
 
48
48
  :host(:focus-visible) {
49
49
  outline: none;
50
50
 
51
51
  div::before {
52
- inset: var(--gds-space-2xs);
52
+ inset: var(--gds-sys-space-2xs);
53
53
  opacity: 1;
54
54
  visivility: visible;
55
55
  }
@@ -68,17 +68,17 @@ const style = css`
68
68
  box-sizing: border-box;
69
69
  position: relative;
70
70
  aspect-ratio: 1/1;
71
- border-radius: var(--gds-space-2xs);
72
- border: var(--gds-space-3xs) solid currentColor;
73
- padding: var(--gds-space-3xs);
71
+ border-radius: var(--gds-sys-space-2xs);
72
+ border: var(--gds-sys-space-3xs) solid currentColor;
73
+ padding: var(--gds-sys-space-3xs);
74
74
 
75
75
  &.checked {
76
76
  background-color: currentColor;
77
77
 
78
78
  gds-icon-checkmark {
79
79
  &::part(icon) {
80
- color: var(--gds-color-l2-content-tertiary);
81
- stroke-width: var(--gds-space-2xs);
80
+ color: var(--gds-sys-color-l2-content-tertiary);
81
+ stroke-width: var(--gds-sys-space-2xs);
82
82
  }
83
83
  }
84
84
  }
@@ -5,12 +5,12 @@ const style = css`
5
5
  @layer base {
6
6
  :host {
7
7
  cursor: pointer;
8
- color: var(--gds-color-l3-content-secondary);
9
- background-color: var(--gds-color-l3-background-secondary);
10
- font-size: var(--gds-text-size-label-input-medium);
11
- line-height: var(--gds-text-line-height-label-input-medium);
12
- padding-inline: var(--gds-space-m);
13
- padding-block: var(--gds-space-xs);
8
+ color: var(--gds-sys-color-l3-content-secondary);
9
+ background-color: var(--gds-sys-color-l3-background-secondary);
10
+ font-size: var(--gds-sys-text-size-label-input-medium);
11
+ line-height: var(--gds-sys-text-line-height-label-input-medium);
12
+ padding-inline: var(--gds-sys-space-m);
13
+ padding-block: var(--gds-sys-space-xs);
14
14
  }
15
15
  }
16
16
  `;
@@ -1,2 +1,2 @@
1
- const styles = ":host {\n --gds-ripple-motion-name: ripple;\n --gds-ripple-motion: var(--gds-ripple-motion-name) 1.25s\n cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal none running;\n border-radius: var(--gds-space-max);\n contain: strict;\n display: grid;\n place-content: center;\n height: 100%;\n inset: 0;\n overflow: hidden;\n position: absolute;\n width: 100%;\n}\n\ndiv {\n background-color: currentColor;\n border-radius: var(--gds-space-max);\n display: flex;\n height: 100%;\n left: calc((-50% + var(--gds-ripple-left)) / 4);\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%;\n will-change: transform;\n}\n\ndiv.gds-ripple-effect {\n animation: var(--gds-ripple-motion);\n}\n\n@keyframes ripple {\n from {\n opacity: 0.2;\n transform: scale(0.6, 1);\n }\n to {\n opacity: 0;\n transform: scale(1.25);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n :host {\n --gds-ripple-motion-name: none !important;\n }\n}";
1
+ const styles = ":host {\n --gds-ripple-motion-name: ripple;\n --gds-ripple-motion: var(--gds-ripple-motion-name) 1.25s\n cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal none running;\n border-radius: var(--gds-sys-space-max);\n contain: strict;\n display: grid;\n place-content: center;\n height: 100%;\n inset: 0;\n overflow: hidden;\n position: absolute;\n width: 100%;\n}\n\ndiv {\n background-color: currentColor;\n border-radius: var(--gds-sys-space-max);\n display: flex;\n height: 100%;\n left: calc((-50% + var(--gds-ripple-left)) / 4);\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%;\n will-change: transform;\n}\n\ndiv.gds-ripple-effect {\n animation: var(--gds-ripple-motion);\n}\n\n@keyframes ripple {\n from {\n opacity: 0.2;\n transform: scale(0.6, 1);\n }\n to {\n opacity: 0;\n transform: scale(1.25);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n :host {\n --gds-ripple-motion-name: none !important;\n }\n}";
2
2
  export default styles;
@@ -19,7 +19,7 @@ const styles = css`
19
19
 
20
20
  .selection-field-container {
21
21
  display: flex;
22
- gap: var(--gds-space-s);
22
+ gap: var(--gds-sys-space-s);
23
23
  cursor: pointer;
24
24
  }
25
25
 
@@ -31,14 +31,14 @@ const styles = css`
31
31
  }
32
32
 
33
33
  .primary-label {
34
- font-weight: var(--gds-text-weight-book);
34
+ font-weight: var(--gds-sys-text-weight-book);
35
35
  cursor: pointer;
36
36
  }
37
37
 
38
38
  .supporting-text {
39
39
  font-size: var(--_font-size-supporting-text);
40
40
  line-height: var(--_line-height-supporting-text);
41
- font-weight: var(--gds-text-weight-regular);
41
+ font-weight: var(--gds-sys-text-weight-regular);
42
42
  }
43
43
  }
44
44
  `;
@@ -11,20 +11,20 @@ var form_control_host_style_default = css`
11
11
  width: 100%;
12
12
  contain: layout;
13
13
  isolation: isolate;
14
- gap: var(--gds-space-xs);
14
+ gap: var(--gds-sys-space-xs);
15
15
  }
16
16
 
17
17
  :host([size='small']) {
18
- gap: var(--gds-space-2xs);
18
+ gap: var(--gds-sys-space-2xs);
19
19
  }
20
20
 
21
21
  :host([size='small']) .native-control {
22
- font-size: var(--gds-text-size-detail-s);
23
- line-height: var(--gds-text-line-height-detail-s);
22
+ font-size: var(--gds-sys-text-size-detail-s);
23
+ line-height: var(--gds-sys-text-line-height-detail-s);
24
24
  }
25
25
 
26
26
  :host([disabled]) {
27
- color: var(--gds-color-l3-content-disabled);
27
+ color: var(--gds-sys-color-l3-content-disabled);
28
28
  pointer-events: none;
29
29
  }
30
30
 
@@ -38,25 +38,25 @@ var form_control_host_style_default = css`
38
38
  overflow: hidden;
39
39
  padding: unset;
40
40
  width: 100%;
41
- font-size: var(--gds-text-size-detail-m);
42
- line-height: var(--gds-text-line-height-detail-m);
41
+ font-size: var(--gds-sys-text-size-detail-m);
42
+ line-height: var(--gds-sys-text-line-height-detail-m);
43
43
  color: currentColor;
44
44
  text-align: left;
45
45
  }
46
46
 
47
47
  :host([size='small']) slot[name='lead']::slotted(*) {
48
48
  line-height: 18px;
49
- width: var(--gds-space-m);
49
+ width: var(--gds-sys-space-m);
50
50
  }
51
51
 
52
52
  :host([size='small']) slot[name='lead']::slotted(*) {
53
- min-width: var(--gds-space-m);
54
- max-width: var(--gds-space-m);
53
+ min-width: var(--gds-sys-space-m);
54
+ max-width: var(--gds-sys-space-m);
55
55
  display: flex;
56
56
  }
57
57
 
58
58
  slot[name='lead']::slotted(*) {
59
- min-width: var(--gds-space-l);
59
+ min-width: var(--gds-sys-space-l);
60
60
  display: flex;
61
61
  }
62
62
  `;
@@ -0,0 +1,2 @@
1
+ const styles = "/**\n * Do not edit directly, this file was auto-generated.\n */\n\n --gds-sys-state-hover-state-layer-opacity: 0.10;\n --gds-sys-motion-easing-ease-in: cubic-bezier(0.64, 0, 0.78, 0);\n --gds-sys-motion-easing-ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);\n --gds-sys-motion-easing-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n --gds-sys-motion-easing-linear: cubic-bezier(0, 0, 1, 1);\n --gds-sys-motion-duration-fastest: .2s;\n --gds-sys-motion-duration-fast: .4s;\n --gds-sys-motion-duration-default: .5s;\n --gds-sys-motion-duration-slow: 1s;\n --gds-sys-motion-duration-slowest: 1.5s;\n --gds-sys-viewport-xs: 375;\n --gds-sys-viewport-s: 430;\n --gds-sys-viewport-m: 768;\n --gds-sys-viewport-l: 1024;\n --gds-sys-viewport-xl: 1440;\n --gds-sys-viewport-2-xl: 2560;\n --gds-sys-viewport-3-xl: 3840;\n --gds-sys-shadow-xs-offset-x-1: 0;\n --gds-sys-shadow-xs-offset-y-1: 0;\n --gds-sys-shadow-xs-blur-1: 1;\n --gds-sys-shadow-xs-spread-1: 0;\n --gds-sys-shadow-xs-color-1: #000000;\n --gds-sys-shadow-xs-offset-x-2: 0;\n --gds-sys-shadow-xs-offset-y-2: 0;\n --gds-sys-shadow-xs-blur-2: 1;\n --gds-sys-shadow-xs-spread-2: 0;\n --gds-sys-shadow-xs-color-2: #000000;\n --gds-sys-shadow-s-offset-x-1: 0;\n --gds-sys-shadow-s-offset-y-1: 1;\n --gds-sys-shadow-s-blur-1: 3;\n --gds-sys-shadow-s-spread-1: 0;\n --gds-sys-shadow-s-color-1: #000000;\n --gds-sys-shadow-s-offset-x-2: 0;\n --gds-sys-shadow-s-offset-y-2: 1;\n --gds-sys-shadow-s-blur-2: 2;\n --gds-sys-shadow-s-spread-2: 0;\n --gds-sys-shadow-s-color-2: #000000;\n --gds-sys-shadow-m-offset-x-1: 0;\n --gds-sys-shadow-m-offset-y-1: 4;\n --gds-sys-shadow-m-blur-1: 8;\n --gds-sys-shadow-m-spread-1: -2;\n --gds-sys-shadow-m-color-1: #000000;\n --gds-sys-shadow-m-offset-x-2: 0;\n --gds-sys-shadow-m-offset-y-2: 2;\n --gds-sys-shadow-m-blur-2: 4;\n --gds-sys-shadow-m-spread-2: -2;\n --gds-sys-shadow-m-color-2: #000000;\n --gds-sys-shadow-l-offset-x-1: 0;\n --gds-sys-shadow-l-offset-y-1: 12;\n --gds-sys-shadow-l-blur-1: 16;\n --gds-sys-shadow-l-spread-1: -4;\n --gds-sys-shadow-l-color-1: #000000;\n --gds-sys-shadow-l-offset-x-2: 0;\n --gds-sys-shadow-l-offset-y-2: 4;\n --gds-sys-shadow-l-blur-2: 6;\n --gds-sys-shadow-l-spread-2: -2;\n --gds-sys-shadow-l-color-2: #000000;\n --gds-sys-shadow-xl-offset-x-1: 0;\n --gds-sys-shadow-xl-offset-y-1: 20;\n --gds-sys-shadow-xl-blur-1: 24;\n --gds-sys-shadow-xl-spread-1: -4;\n --gds-sys-shadow-xl-color-1: #000000;\n --gds-sys-shadow-xl-offset-x-2: 0;\n --gds-sys-shadow-xl-offset-y-2: 8;\n --gds-sys-shadow-xl-blur-2: 8;\n --gds-sys-shadow-xl-spread-2: -4;\n --gds-sys-shadow-xl-color-2: #000000;\n --gds-sys-text-size-heading-xl: 32px;\n --gds-sys-text-size-heading-l: 28px;\n --gds-sys-text-size-heading-m: 24px;\n --gds-sys-text-size-heading-s: 20px;\n --gds-sys-text-size-heading-xs: 16px;\n --gds-sys-text-size-heading-2xs: 14px;\n --gds-sys-text-size-heading-2xl: 14px;\n --gds-sys-text-size-detail-m: 16px;\n --gds-sys-text-size-detail-s: 14px;\n --gds-sys-text-size-detail-xs: 12px;\n --gds-sys-text-size-body-l: 20px;\n --gds-sys-text-size-body-m: 16px;\n --gds-sys-text-size-body-s: 14px;\n --gds-sys-text-size-display-2xl: 82px;\n --gds-sys-text-size-display-xl: 64px;\n --gds-sys-text-size-display-l: 48px;\n --gds-sys-text-size-display-m: 36px;\n --gds-sys-text-size-display-s: 32px;\n --gds-sys-text-size-preamble-2xl: 32px;\n --gds-sys-text-size-preamble-xl: 28px;\n --gds-sys-text-size-preamble-l: 24px;\n --gds-sys-text-size-preamble-m: 20px;\n --gds-sys-text-size-preamble-s: 18px;\n --gds-sys-text-size-preamble-xs: 16px;\n --gds-sys-text-line-height-heading-xl: 44px;\n --gds-sys-text-line-height-heading-l: 40px;\n --gds-sys-text-line-height-heading-m: 32px;\n --gds-sys-text-line-height-heading-s: 28px;\n --gds-sys-text-line-height-heading-xs: 24px;\n --gds-sys-text-line-height-heading-2xs: 20px;\n --gds-sys-text-line-height-detail-m: 20px;\n --gds-sys-text-line-height-detail-s: 18px;\n --gds-sys-text-line-height-detail-xs: 16px;\n --gds-sys-text-line-height-body-l: 26px;\n --gds-sys-text-line-height-body-m: 24px;\n --gds-sys-text-line-height-body-s: 20px;\n --gds-sys-text-line-height-display-2xl: 90px;\n --gds-sys-text-line-height-display-xl: 72px;\n --gds-sys-text-line-height-display-l: 56px;\n --gds-sys-text-line-height-display-m: 44px;\n --gds-sys-text-line-height-display-s: 40px;\n --gds-sys-text-line-height-preamble-2xl: 40px;\n --gds-sys-text-line-height-preamble-xl: 36px;\n --gds-sys-text-line-height-preamble-l: 32px;\n --gds-sys-text-line-height-preamble-m: 28px;\n --gds-sys-text-line-height-preamble-s: 26px;\n --gds-sys-text-line-height-preamble-xs: 24px;\n --gds-sys-text-weight-light: 300;\n --gds-sys-text-weight-regular: 400;\n --gds-sys-text-weight-book: 450;\n --gds-sys-text-weight-medium: 500;\n --gds-sys-text-weight-bold: 700;\n --gds-sys-space-0: 0px;\n --gds-sys-space-4xs: 1px;\n --gds-sys-space-3xs: 2px;\n --gds-sys-space-2xs: 4px;\n --gds-sys-space-xs: 8px;\n --gds-sys-space-s: 12px;\n --gds-sys-space-m: 16px;\n --gds-sys-space-l: 24px;\n --gds-sys-space-xl: 32px;\n --gds-sys-space-2xl: 40px;\n --gds-sys-space-3xl: 48px;\n --gds-sys-space-4xl: 64px;\n --gds-sys-space-5xl: 80px;\n --gds-sys-space-6xl: 96px;\n --gds-sys-space-7xl: 112px;\n --gds-sys-space-8xl: 120px;\n --gds-sys-space-max: 999px;";
2
+ export default styles;
@@ -0,0 +1,2 @@
1
+ const styles = "/**\n * Do not edit directly, this file was auto-generated.\n */\n\n\n color-scheme: dark;\n --gds-sys-color-l1-background-primary: #0e0e0e;\n --gds-sys-color-l1-background-tertiary: #d7d7d7;\n --gds-sys-color-l1-background-secondary: #131313;\n --gds-sys-color-l1-content-positive: #54b561;\n --gds-sys-color-l1-content-negative: #a63e2a;\n --gds-sys-color-l1-content-primary: #d7d7d7;\n --gds-sys-color-l1-content-secondary: #ababab;\n --gds-sys-color-l1-content-tertiary: #1b1b1b;\n --gds-sys-color-l2-background-primary: #242424;\n --gds-sys-color-l2-background-secondary: #242424;\n --gds-sys-color-l2-background-tertiary: #d7d7d7;\n --gds-sys-color-l2-background-positive: #1d3f22;\n --gds-sys-color-l2-background-negative: #4a1c13;\n --gds-sys-color-l2-background-notice: #152c41;\n --gds-sys-color-l2-background-warning: #4c3212;\n --gds-sys-color-l2-background-information: #353535;\n --gds-sys-color-l2-background-copper-01: #f2efeb;\n --gds-sys-color-l2-background-copper-02: #332a18;\n --gds-sys-color-l2-background-purple-01: #f3eff7;\n --gds-sys-color-l2-background-purple-02: #372b40;\n --gds-sys-color-l2-background-green-01: #ecf6ed;\n --gds-sys-color-l2-background-green-02: #1d3f22;\n --gds-sys-color-l2-background-blue-01: #eaf0f7;\n --gds-sys-color-l2-background-blue-02: #152c41;\n --gds-sys-color-l2-content-primary: #d7d7d7;\n --gds-sys-color-l2-content-secondary: #ababab;\n --gds-sys-color-l2-content-tertiary: #1b1b1b;\n --gds-sys-color-l2-content-positive: #54b561;\n --gds-sys-color-l2-content-negative: #ee8375;\n --gds-sys-color-l2-content-warning: #f3b274;\n --gds-sys-color-l2-content-notice: #78a3d5;\n --gds-sys-color-l2-content-information: #d7d7d7;\n --gds-sys-color-l2-content-copper-01: #1b1b1b;\n --gds-sys-color-l2-content-copper-02: #ffffff;\n --gds-sys-color-l2-content-purple-01: #1b1b1b;\n --gds-sys-color-l2-content-purple-02: #ffffff;\n --gds-sys-color-l2-content-green-01: #1b1b1b;\n --gds-sys-color-l2-content-green-02: #ffffff;\n --gds-sys-color-l2-content-blue-01: #1b1b1b;\n --gds-sys-color-l2-content-blue-02: #ffffff;\n --gds-sys-color-l2-border-primary: #353535;\n --gds-sys-color-l2-border-secondary: #5e5e5e;\n --gds-sys-color-l2-border-tertiary: #2c2c2c;\n --gds-sys-color-l2-border-quarternary: #d7d7d7;\n --gds-sys-color-l2-border-inversed: #1b1b1b;\n --gds-sys-color-l3-background-primary: #d7d7d7;\n --gds-sys-color-l3-background-secondary: #353535;\n --gds-sys-color-l3-background-tertiary: #424242;\n --gds-sys-color-l3-background-quarternary: #0e0e0e;\n --gds-sys-color-l3-background-positive: #54b561;\n --gds-sys-color-l3-background-positive-secondary: #25512b;\n --gds-sys-color-l3-background-positive-badge: #306938;\n --gds-sys-color-l3-background-negative: #c04831;\n --gds-sys-color-l3-background-negative-secondary: #602418;\n --gds-sys-color-l3-background-negative-badge: #4a1c13;\n --gds-sys-color-l3-background-notice: #78a3d5;\n --gds-sys-color-l3-background-notice-secondary: #1a3853;\n --gds-sys-color-l3-background-notice-badge: #214769;\n --gds-sys-color-l3-background-warning: #f3b274;\n --gds-sys-color-l3-background-warning-secondary: #624017;\n --gds-sys-color-l3-background-warning-badge: #744c1b;\n --gds-sys-color-l3-background-information: #d7d7d7;\n --gds-sys-color-l3-background-information-secondary: #424242;\n --gds-sys-color-l3-background-information-badge: #616161;\n --gds-sys-color-l3-background-buy: #3571a6;\n --gds-sys-color-l3-background-copper-01: #e4ded5;\n --gds-sys-color-l3-background-copper-02: #42361f;\n --gds-sys-color-l3-background-purple-01: #e7deee;\n --gds-sys-color-l3-background-purple-02: #473752;\n --gds-sys-color-l3-background-green-01: #d7edd9;\n --gds-sys-color-l3-background-green-02: #25512b;\n --gds-sys-color-l3-background-blue-01: #d3dfef;\n --gds-sys-color-l3-background-blue-02: #1a3853;\n --gds-sys-color-l3-background-disabled: #181818;\n --gds-sys-color-l3-background-disabled-secondary: #1b1b1b;\n --gds-sys-color-l3-content-primary: #1b1b1b;\n --gds-sys-color-l3-content-secondary: #ababab;\n --gds-sys-color-l3-content-tertiary: #d7d7d7;\n --gds-sys-color-l3-content-notice: #78a3d5;\n --gds-sys-color-l3-content-warning: #f3b274;\n --gds-sys-color-l3-content-information: #d7d7d7;\n --gds-sys-color-l3-content-buy: #ffffff;\n --gds-sys-color-l3-content-copper-01: #1b1b1b;\n --gds-sys-color-l3-content-copper-02: #ffffff;\n --gds-sys-color-l3-content-purple-01: #1b1b1b;\n --gds-sys-color-l3-content-purple-02: #ffffff;\n --gds-sys-color-l3-content-green-01: #1b1b1b;\n --gds-sys-color-l3-content-green-02: #ffffff;\n --gds-sys-color-l3-content-blue-01: #1b1b1b;\n --gds-sys-color-l3-content-blue-02: #ffffff;\n --gds-sys-color-l3-content-disabled: #5e5e5e;\n --gds-sys-color-l3-content-positive: #54b561;\n --gds-sys-color-l3-content-negative: #ee8375;\n --gds-sys-color-l3-border-primary: #d7d7d7;\n --gds-sys-color-l3-border-secondary: #ababab;\n --gds-sys-color-l3-border-tertiary: #1b1b1b;\n --gds-sys-color-l3-border-negative: #ee8375;\n --gds-sys-color-l3-states-dark-hover: #ffffff 15%;\n --gds-sys-color-l3-states-dark-pressed: #ffffff 25%;\n --gds-sys-color-l3-states-light-hover: #d7d7d7 10%;\n --gds-sys-color-l3-states-light-pressed: #d7d7d7 20%;\n --gds-sys-color-l3-states-positive-hover: #54b561 10%;\n --gds-sys-color-l3-states-positive-pressed: #54b561 20%;\n --gds-sys-color-l3-states-negative-hover: #ee8375 10%;\n --gds-sys-color-l3-states-negative-pressed: #ee8375 20%;";
2
+ export default styles;
@@ -0,0 +1,2 @@
1
+ const styles = "/**\n * Do not edit directly, this file was auto-generated.\n */\n\n\n color-scheme: light;\n --gds-sys-color-l1-background-primary: #ffffff;\n --gds-sys-color-l1-background-tertiary: #1b1b1b;\n --gds-sys-color-l1-background-secondary: #eeeeee;\n --gds-sys-color-l1-content-positive: #35723d;\n --gds-sys-color-l1-content-negative: #a63e2a;\n --gds-sys-color-l1-content-primary: #1b1b1b;\n --gds-sys-color-l1-content-secondary: #5e5e5e;\n --gds-sys-color-l1-content-tertiary: #ffffff;\n --gds-sys-color-l2-background-primary: #f3f3f3;\n --gds-sys-color-l2-background-secondary: #ffffff;\n --gds-sys-color-l2-background-tertiary: #242424;\n --gds-sys-color-l2-background-positive: #ecf6ed;\n --gds-sys-color-l2-background-negative: #fcecea;\n --gds-sys-color-l2-background-notice: #eaf0f7;\n --gds-sys-color-l2-background-warning: #fcecbc;\n --gds-sys-color-l2-background-information: #e2e2e2;\n --gds-sys-color-l2-background-copper-01: #f2efeb;\n --gds-sys-color-l2-background-copper-02: #332a18;\n --gds-sys-color-l2-background-purple-01: #f3eff7;\n --gds-sys-color-l2-background-purple-02: #372b40;\n --gds-sys-color-l2-background-green-01: #ecf6ed;\n --gds-sys-color-l2-background-green-02: #1d3f22;\n --gds-sys-color-l2-background-blue-01: #eaf0f7;\n --gds-sys-color-l2-background-blue-02: #152c41;\n --gds-sys-color-l2-content-primary: #1b1b1b;\n --gds-sys-color-l2-content-secondary: #5e5e5e;\n --gds-sys-color-l2-content-tertiary: #ffffff;\n --gds-sys-color-l2-content-positive: #35723d;\n --gds-sys-color-l2-content-negative: #a63e2a;\n --gds-sys-color-l2-content-warning: #65581e;\n --gds-sys-color-l2-content-notice: #005fac;\n --gds-sys-color-l2-content-information: #1b1b1b;\n --gds-sys-color-l2-content-copper-01: #1b1b1b;\n --gds-sys-color-l2-content-copper-02: #ffffff;\n --gds-sys-color-l2-content-purple-01: #1b1b1b;\n --gds-sys-color-l2-content-purple-02: #ffffff;\n --gds-sys-color-l2-content-green-01: #1b1b1b;\n --gds-sys-color-l2-content-green-02: #ffffff;\n --gds-sys-color-l2-content-blue-01: #1b1b1b;\n --gds-sys-color-l2-content-blue-02: #ffffff;\n --gds-sys-color-l2-border-primary: #d7d7d7;\n --gds-sys-color-l2-border-secondary: #6f6f6f;\n --gds-sys-color-l2-border-tertiary: #f9f9f9;\n --gds-sys-color-l2-border-quarternary: #1b1b1b;\n --gds-sys-color-l2-border-inversed: #ffffff;\n --gds-sys-color-l3-background-primary: #003824;\n --gds-sys-color-l3-background-secondary: #e2e2e2;\n --gds-sys-color-l3-background-tertiary: #d7d7d7;\n --gds-sys-color-l3-background-quarternary: #ffffff;\n --gds-sys-color-l3-background-positive: #35723d;\n --gds-sys-color-l3-background-positive-secondary: #d7edd9;\n --gds-sys-color-l3-background-positive-badge: #d7edd9;\n --gds-sys-color-l3-background-negative: #a63e2a;\n --gds-sys-color-l3-background-negative-secondary: #fcecea;\n --gds-sys-color-l3-background-negative-badge: #f8d6d3;\n --gds-sys-color-l3-background-notice: #005fac;\n --gds-sys-color-l3-background-notice-secondary: #d3dfef;\n --gds-sys-color-l3-background-notice-badge: #d3dfef;\n --gds-sys-color-l3-background-warning: #65581e;\n --gds-sys-color-l3-background-warning-secondary: #fadf7b;\n --gds-sys-color-l3-background-warning-badge: #fadf7b;\n --gds-sys-color-l3-background-information: #1b1b1b;\n --gds-sys-color-l3-background-information-secondary: #d7d7d7;\n --gds-sys-color-l3-background-information-badge: #d7d7d7;\n --gds-sys-color-l3-background-buy: #2e6290;\n --gds-sys-color-l3-background-copper-01: #e4ded5;\n --gds-sys-color-l3-background-copper-02: #42361f;\n --gds-sys-color-l3-background-purple-01: #e7deee;\n --gds-sys-color-l3-background-purple-02: #473752;\n --gds-sys-color-l3-background-green-01: #d7edd9;\n --gds-sys-color-l3-background-green-02: #25512b;\n --gds-sys-color-l3-background-blue-01: #d3dfef;\n --gds-sys-color-l3-background-blue-02: #1a3853;\n --gds-sys-color-l3-background-disabled: #f9f9f9;\n --gds-sys-color-l3-background-disabled-secondary: #f3f3f3;\n --gds-sys-color-l3-content-primary: #ffffff;\n --gds-sys-color-l3-content-secondary: #5e5e5e;\n --gds-sys-color-l3-content-tertiary: #1b1b1b;\n --gds-sys-color-l3-content-notice: #005fac;\n --gds-sys-color-l3-content-warning: #65581e;\n --gds-sys-color-l3-content-information: #1b1b1b;\n --gds-sys-color-l3-content-buy: #ffffff;\n --gds-sys-color-l3-content-copper-01: #1b1b1b;\n --gds-sys-color-l3-content-copper-02: #ffffff;\n --gds-sys-color-l3-content-purple-01: #1b1b1b;\n --gds-sys-color-l3-content-purple-02: #ffffff;\n --gds-sys-color-l3-content-green-01: #1b1b1b;\n --gds-sys-color-l3-content-green-02: #ffffff;\n --gds-sys-color-l3-content-blue-01: #1b1b1b;\n --gds-sys-color-l3-content-blue-02: #ffffff;\n --gds-sys-color-l3-content-disabled: #ababab;\n --gds-sys-color-l3-content-positive: #35723d;\n --gds-sys-color-l3-content-negative: #a63e2a;\n --gds-sys-color-l3-border-primary: #1b1b1b;\n --gds-sys-color-l3-border-secondary: #6f6f6f;\n --gds-sys-color-l3-border-tertiary: #d7d7d7;\n --gds-sys-color-l3-border-negative: #a63e2a;\n --gds-sys-color-l3-states-dark-hover: #ffffff 15%;\n --gds-sys-color-l3-states-dark-pressed: #ffffff 25%;\n --gds-sys-color-l3-states-light-hover: #1b1b1b 10%;\n --gds-sys-color-l3-states-light-pressed: #1b1b1b 20%;\n --gds-sys-color-l3-states-positive-hover: #35723d 10%;\n --gds-sys-color-l3-states-positive-pressed: #35723d 20%;\n --gds-sys-color-l3-states-negative-hover: #a63e2a 10%;\n --gds-sys-color-l3-states-negative-pressed: #a63e2a 20%;";
2
+ export default styles;
package/tokens.style.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import colorsDark from '../../../dist/libs/tokens/internal/dark.css?inline';
2
- import colorsLight from '../../../dist/libs/tokens/internal/light.css?inline';
1
+ import colorsDark from '../../../dist/libs/tokens/2023/internal/variables.dark.css?inline';
2
+ import colorsLight from '../../../dist/libs/tokens/2023/internal/variables.light.css?inline';
3
3
  declare const tokens: import("lit").CSSResult[];
4
4
  export { tokens, colorsLight, colorsDark };
package/tokens.style.js CHANGED
@@ -1,23 +1,16 @@
1
1
  import "./chunks/chunk.QTSIPXV3.js";
2
2
  import { css, unsafeCSS } from "lit";
3
- import colorsDark from "./tokens/dark.css.js";
4
- import colorsLight from "./tokens/light.css.js";
5
- import motionTokens from "./tokens/motion.css.js";
6
- import shadowTokens from "./tokens/shadow.css.js";
7
- import sizeTokens from "./tokens/size.css.js";
8
- import textTokens from "./tokens/text.css.js";
3
+ import base from "./tokens/variables.css.js";
4
+ import colorsDark from "./tokens/variables.dark.css.js";
5
+ import colorsLight from "./tokens/variables.light.css.js";
9
6
  import { GlobalStylesRegistry } from "./utils/global-styles.js";
10
- const tokens = [
11
- unsafeCSS(sizeTokens),
12
- unsafeCSS(textTokens),
13
- unsafeCSS(motionTokens),
14
- unsafeCSS(shadowTokens)
15
- ];
7
+ const tokens = [unsafeCSS(base)];
16
8
  GlobalStylesRegistry.instance.injectGlobalStyles(
17
9
  "root-tokens",
18
10
  css`
19
11
  :root,
20
12
  :root[gds-theme='light'] {
13
+ ${unsafeCSS(base)}
21
14
  ${unsafeCSS(colorsLight)}
22
15
  }
23
16
  :root[gds-theme='dark'] {
@@ -11,7 +11,7 @@ export type StyleExpressionPropertyOptions = {
11
11
  * attached to a property named `padding`, the default name of the CSS property will
12
12
  * also be `padding`. This option overrides that. */
13
13
  property?: string;
14
- /** A function that takes a value and returns a string. Defaults to `(value) => 'var(--gds-space-${value})'`
14
+ /** A function that takes a value and returns a string. Defaults to `(value) => 'var(--gds-sys-space-${value})'`
15
15
  * This can be used to resolve the values into CSS variables for example. */
16
16
  valueTemplate?: (value: string) => string;
17
17
  /** A function that takes a property name and an array of values and returns a string. Defaults to
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QTSIPXV3.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-304b4b";
3
+ const VER_SUFFIX = "-c1c41a";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])
@@ -4,7 +4,7 @@ function parseColorValue(value, context, level) {
4
4
  return value;
5
5
  }
6
6
  const [colorName, transparency] = value.split("/");
7
- const colorVar = `var(--gds-color-l${level}-${context}-${colorName})`;
7
+ const colorVar = `var(--gds-sys-color-l${level}-${context}-${colorName})`;
8
8
  return transparency ? `color-mix(in srgb, ${colorVar} ${parseFloat(transparency) * 100}%, transparent 0%)` : colorVar;
9
9
  }
10
10
  function forColorTokens(context) {
@@ -15,15 +15,15 @@ function forColorTokens(context) {
15
15
  };
16
16
  }
17
17
  const forSpaceTokens = {
18
- valueTemplate: (value) => `var(--gds-space-${value}, 0)`
18
+ valueTemplate: (value) => `var(--gds-sys-space-${value}, 0)`
19
19
  };
20
20
  const forSpaceTokensAndCustomValues = {
21
- valueTemplate: (value) => `var(--gds-space-${sanitizeVariableName(value)}, ${value})`
21
+ valueTemplate: (value) => `var(--gds-sys-space-${sanitizeVariableName(value)}, ${value})`
22
22
  };
23
23
  const forSpaceTokensSupportingNegative = {
24
24
  valueTemplate: (v) => {
25
25
  const sign = v.startsWith("-") ? "neg" : "pos";
26
- const val = sign == "pos" ? `var(--gds-space-${v})` : `calc(var(--gds-space-${v.substring(1)}) * -1)`;
26
+ const val = sign == "pos" ? `var(--gds-sys-space-${v})` : `calc(var(--gds-sys-space-${v.substring(1)}) * -1)`;
27
27
  return v === "auto" ? "auto" : val;
28
28
  },
29
29
  styleTemplate: (prop, values) => {
@@ -1,2 +0,0 @@
1
- const styles = "/**\n * Do not edit directly\n * Generated on Wed, 16 Apr 2025 11:48:17 GMT\n */\n\ncolor-scheme: dark;\n --gds-color-l1-background-primary: #0e0e0e;\n --gds-color-l1-background-tertiary: #d7d7d7;\n --gds-color-l1-background-secondary: #131313;\n --gds-color-l1-content-positive: #54b561;\n --gds-color-l1-content-negative: #a63e2a;\n --gds-color-l1-content-primary: #d7d7d7;\n --gds-color-l1-content-secondary: #ababab;\n --gds-color-l1-content-tertiary: #1b1b1b;\n --gds-color-l2-background-primary: #242424;\n --gds-color-l2-background-secondary: #242424;\n --gds-color-l2-background-tertiary: #d7d7d7;\n --gds-color-l2-background-positive: #1d3f22;\n --gds-color-l2-background-negative: #4a1c13;\n --gds-color-l2-background-notice: #152c41;\n --gds-color-l2-background-warning: #4c3212;\n --gds-color-l2-background-information: #353535;\n --gds-color-l2-background-copper-01: #f2efeb;\n --gds-color-l2-background-copper-02: #332a18;\n --gds-color-l2-background-purple-01: #f3eff7;\n --gds-color-l2-background-purple-02: #372b40;\n --gds-color-l2-background-green-01: #ecf6ed;\n --gds-color-l2-background-green-02: #1d3f22;\n --gds-color-l2-background-blue-01: #eaf0f7;\n --gds-color-l2-background-blue-02: #152c41;\n --gds-color-l2-content-primary: #d7d7d7;\n --gds-color-l2-content-secondary: #ababab;\n --gds-color-l2-content-tertiary: #1b1b1b;\n --gds-color-l2-content-positive: #54b561;\n --gds-color-l2-content-negative: #ee8375;\n --gds-color-l2-content-warning: #f3b274;\n --gds-color-l2-content-notice: #78a3d5;\n --gds-color-l2-content-information: #d7d7d7;\n --gds-color-l2-content-copper-01: #1b1b1b;\n --gds-color-l2-content-copper-02: #ffffff;\n --gds-color-l2-content-purple-01: #1b1b1b;\n --gds-color-l2-content-purple-02: #ffffff;\n --gds-color-l2-content-green-01: #1b1b1b;\n --gds-color-l2-content-green-02: #ffffff;\n --gds-color-l2-content-blue-01: #1b1b1b;\n --gds-color-l2-content-blue-02: #ffffff;\n --gds-color-l2-border-primary: #353535;\n --gds-color-l2-border-secondary: #5e5e5e;\n --gds-color-l2-border-tertiary: #2c2c2c;\n --gds-color-l2-border-quarternary: #d7d7d7;\n --gds-color-l2-border-inversed: #1b1b1b;\n --gds-color-l3-background-primary: #d7d7d7;\n --gds-color-l3-background-secondary: #353535;\n --gds-color-l3-background-tertiary: #424242;\n --gds-color-l3-background-quarternary: #0e0e0e;\n --gds-color-l3-background-positive: #54b561;\n --gds-color-l3-background-positive-secondary: #25512b;\n --gds-color-l3-background-positive-badge: #306938;\n --gds-color-l3-background-negative: #c04831;\n --gds-color-l3-background-negative-secondary: #602418;\n --gds-color-l3-background-negative-badge: #4A1C13;\n --gds-color-l3-background-notice: #78a3d5;\n --gds-color-l3-background-notice-secondary: #1A3853;\n --gds-color-l3-background-notice-badge: #214769;\n --gds-color-l3-background-warning: #f3b274;\n --gds-color-l3-background-warning-secondary: #624017;\n --gds-color-l3-background-warning-badge: #744C1B;\n --gds-color-l3-background-information: #d7d7d7;\n --gds-color-l3-background-information-secondary: #424242;\n --gds-color-l3-background-information-badge: #616161;\n --gds-color-l3-background-buy: #3571a6;\n --gds-color-l3-background-copper-01: #e4ded5;\n --gds-color-l3-background-copper-02: #42361f;\n --gds-color-l3-background-purple-01: #e7deee;\n --gds-color-l3-background-purple-02: #473752;\n --gds-color-l3-background-green-01: #d7edd9;\n --gds-color-l3-background-green-02: #25512b;\n --gds-color-l3-background-blue-01: #d3dfef;\n --gds-color-l3-background-blue-02: #1a3853;\n --gds-color-l3-background-disabled: #181818;\n --gds-color-l3-background-disabled-secondary: #1b1b1b;\n --gds-color-l3-content-primary: #1b1b1b;\n --gds-color-l3-content-secondary: #ababab;\n --gds-color-l3-content-tertiary: #d7d7d7;\n --gds-color-l3-content-notice: #78a3d5;\n --gds-color-l3-content-warning: #f3b274;\n --gds-color-l3-content-information: #d7d7d7;\n --gds-color-l3-content-buy: #ffffff;\n --gds-color-l3-content-copper-01: #1b1b1b;\n --gds-color-l3-content-copper-02: #ffffff;\n --gds-color-l3-content-purple-01: #1b1b1b;\n --gds-color-l3-content-purple-02: #ffffff;\n --gds-color-l3-content-green-01: #1b1b1b;\n --gds-color-l3-content-green-02: #ffffff;\n --gds-color-l3-content-blue-01: #1b1b1b;\n --gds-color-l3-content-blue-02: #ffffff;\n --gds-color-l3-content-disabled: #5e5e5e;\n --gds-color-l3-content-positive: #54b561;\n --gds-color-l3-content-negative: #ee8375;\n --gds-color-l3-border-primary: #d7d7d7;\n --gds-color-l3-border-secondary: #ababab;\n --gds-color-l3-border-tertiary: #1b1b1b;\n --gds-color-l3-border-negative: #ee8375;\n --gds-color-l3-states-dark-hover: #ffffff 15%;\n --gds-color-l3-states-dark-pressed: #ffffff 25%;\n --gds-color-l3-states-light-hover: #d7d7d7 10%;\n --gds-color-l3-states-light-pressed: #d7d7d7 20%;\n --gds-color-l3-states-positive-hover: #54b561 10%;\n --gds-color-l3-states-positive-pressed: #54b561 20%;\n --gds-color-l3-states-negative-hover: #ee8375 10%;\n --gds-color-l3-states-negative-pressed: #ee8375 20%;\n";
2
- export default styles;
@@ -1,2 +0,0 @@
1
- const styles = "/**\n * Do not edit directly\n * Generated on Wed, 16 Apr 2025 11:48:17 GMT\n */\n\ncolor-scheme: light;\n --gds-color-l1-background-primary: #ffffff;\n --gds-color-l1-background-tertiary: #1b1b1b;\n --gds-color-l1-background-secondary: #eeeeee;\n --gds-color-l1-content-positive: #35723d;\n --gds-color-l1-content-negative: #a63e2a;\n --gds-color-l1-content-primary: #1b1b1b;\n --gds-color-l1-content-secondary: #5e5e5e;\n --gds-color-l1-content-tertiary: #ffffff;\n --gds-color-l2-background-primary: #f3f3f3;\n --gds-color-l2-background-secondary: #ffffff;\n --gds-color-l2-background-tertiary: #242424;\n --gds-color-l2-background-positive: #ecf6ed;\n --gds-color-l2-background-negative: #fcecea;\n --gds-color-l2-background-notice: #eaf0f7;\n --gds-color-l2-background-warning: #fcecbc;\n --gds-color-l2-background-information: #e2e2e2;\n --gds-color-l2-background-copper-01: #f2efeb;\n --gds-color-l2-background-copper-02: #332a18;\n --gds-color-l2-background-purple-01: #f3eff7;\n --gds-color-l2-background-purple-02: #372b40;\n --gds-color-l2-background-green-01: #ecf6ed;\n --gds-color-l2-background-green-02: #1d3f22;\n --gds-color-l2-background-blue-01: #eaf0f7;\n --gds-color-l2-background-blue-02: #152c41;\n --gds-color-l2-content-primary: #1b1b1b;\n --gds-color-l2-content-secondary: #5e5e5e;\n --gds-color-l2-content-tertiary: #ffffff;\n --gds-color-l2-content-positive: #35723d;\n --gds-color-l2-content-negative: #a63e2a;\n --gds-color-l2-content-warning: #65581e;\n --gds-color-l2-content-notice: #005fac;\n --gds-color-l2-content-information: #1b1b1b;\n --gds-color-l2-content-copper-01: #1b1b1b;\n --gds-color-l2-content-copper-02: #ffffff;\n --gds-color-l2-content-purple-01: #1b1b1b;\n --gds-color-l2-content-purple-02: #ffffff;\n --gds-color-l2-content-green-01: #1b1b1b;\n --gds-color-l2-content-green-02: #ffffff;\n --gds-color-l2-content-blue-01: #1b1b1b;\n --gds-color-l2-content-blue-02: #ffffff;\n --gds-color-l2-border-primary: #d7d7d7;\n --gds-color-l2-border-secondary: #6f6f6f;\n --gds-color-l2-border-tertiary: #f9f9f9;\n --gds-color-l2-border-quarternary: #1b1b1b;\n --gds-color-l2-border-inversed: #ffffff;\n --gds-color-l3-background-primary: #1b1b1b;\n --gds-color-l3-background-secondary: #e2e2e2;\n --gds-color-l3-background-tertiary: #d7d7d7;\n --gds-color-l3-background-quarternary: #ffffff;\n --gds-color-l3-background-positive: #35723d;\n --gds-color-l3-background-positive-secondary: #d7edd9;\n --gds-color-l3-background-positive-badge: #d7edd9;\n --gds-color-l3-background-negative: #a63e2a;\n --gds-color-l3-background-negative-secondary: #fcecea;\n --gds-color-l3-background-negative-badge: #f8d6d3;\n --gds-color-l3-background-notice: #005fac;\n --gds-color-l3-background-notice-secondary: #d3dfef;\n --gds-color-l3-background-notice-badge: #d3dfef;\n --gds-color-l3-background-warning: #65581e;\n --gds-color-l3-background-warning-secondary: #fadf7b;\n --gds-color-l3-background-warning-badge: #fadf7b;\n --gds-color-l3-background-information: #1b1b1b;\n --gds-color-l3-background-information-secondary: #d7d7d7;\n --gds-color-l3-background-information-badge: #d7d7d7;\n --gds-color-l3-background-buy: #2e6290;\n --gds-color-l3-background-copper-01: #e4ded5;\n --gds-color-l3-background-copper-02: #42361f;\n --gds-color-l3-background-purple-01: #e7deee;\n --gds-color-l3-background-purple-02: #473752;\n --gds-color-l3-background-green-01: #d7edd9;\n --gds-color-l3-background-green-02: #25512b;\n --gds-color-l3-background-blue-01: #d3dfef;\n --gds-color-l3-background-blue-02: #1a3853;\n --gds-color-l3-background-disabled: #f9f9f9;\n --gds-color-l3-background-disabled-secondary: #f3f3f3;\n --gds-color-l3-content-primary: #ffffff;\n --gds-color-l3-content-secondary: #5e5e5e;\n --gds-color-l3-content-tertiary: #1b1b1b;\n --gds-color-l3-content-notice: #005fac;\n --gds-color-l3-content-warning: #65581e;\n --gds-color-l3-content-information: #1b1b1b;\n --gds-color-l3-content-buy: #ffffff;\n --gds-color-l3-content-copper-01: #1b1b1b;\n --gds-color-l3-content-copper-02: #ffffff;\n --gds-color-l3-content-purple-01: #1b1b1b;\n --gds-color-l3-content-purple-02: #ffffff;\n --gds-color-l3-content-green-01: #1b1b1b;\n --gds-color-l3-content-green-02: #ffffff;\n --gds-color-l3-content-blue-01: #1b1b1b;\n --gds-color-l3-content-blue-02: #ffffff;\n --gds-color-l3-content-disabled: #ababab;\n --gds-color-l3-content-positive: #35723d;\n --gds-color-l3-content-negative: #a63e2a;\n --gds-color-l3-border-primary: #1b1b1b;\n --gds-color-l3-border-secondary: #6f6f6f;\n --gds-color-l3-border-tertiary: #d7d7d7;\n --gds-color-l3-border-negative: #a63e2a;\n --gds-color-l3-states-dark-hover: #ffffff 15%;\n --gds-color-l3-states-dark-pressed: #ffffff 25%;\n --gds-color-l3-states-light-hover: #1b1b1b 10%;\n --gds-color-l3-states-light-pressed: #1b1b1b 20%;\n --gds-color-l3-states-positive-hover: #35723d 10%;\n --gds-color-l3-states-positive-pressed: #35723d 20%;\n --gds-color-l3-states-negative-hover: #a63e2a 10%;\n --gds-color-l3-states-negative-pressed: #a63e2a 20%;\n";
2
- export default styles;
@@ -1,2 +0,0 @@
1
- const styles = "/**\n * Do not edit directly\n * Generated on Wed, 16 Apr 2025 11:48:17 GMT\n */\n\n:host {\n --gds-sys-motion-duration-slowest: 1.5s;\n --gds-sys-motion-duration-slow: 1s;\n --gds-sys-motion-duration-default: .5s;\n --gds-sys-motion-duration-fast: .4s;\n --gds-sys-motion-duration-fastest: .2s;\n --gds-sys-motion-easing-linear: cubic-bezier(0, 0, 1, 1);\n --gds-sys-motion-easing-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n --gds-sys-motion-easing-ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);\n --gds-sys-motion-easing-ease-in: cubic-bezier(0.64, 0, 0.78, 0);\n}\n";
2
- export default styles;
@@ -1,2 +0,0 @@
1
- const styles = "/**\n * Do not edit directly\n * Generated on Wed, 16 Apr 2025 11:48:17 GMT\n */\n\n:host {\n--gds-shadow-xs: 0px 0px 1px 0px rgba(0, 0, 0, 0.1), 0px 0px 1px 0px rgba(0, 0, 0, 0.1);\n--gds-shadow-s: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);\n--gds-shadow-m: 0px 4px 8px -2px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.06);\n--gds-shadow-l: 0px 12px 16px -4px rgba(0, 0, 0, 0.08), 0px 4px 6px -2px rgba(0, 0, 0, 0.03);\n--gds-shadow-xl: 0px 20px 24px -4px rgba(0, 0, 0, 0.08), 0px 8px 8px -4px rgba(0, 0, 0, 0.03);\n}\n";
2
- export default styles;
@@ -1,2 +0,0 @@
1
- const styles = "/**\n * Do not edit directly\n * Generated on Wed, 16 Apr 2025 11:48:17 GMT\n */\n\n:host {\n --gds-space-max: 999px;\n --gds-space-8xl: 120px;\n --gds-space-7xl: 112px;\n --gds-space-6xl: 96px;\n --gds-space-5xl: 80px;\n --gds-space-4xl: 64px;\n --gds-space-3xl: 48px;\n --gds-space-2xl: 40px;\n --gds-space-xl: 32px;\n --gds-space-l: 24px;\n --gds-space-m: 16px;\n --gds-space-s: 12px;\n --gds-space-xs: 8px;\n --gds-space-2xs: 4px;\n --gds-space-3xs: 2px;\n --gds-space-4xs: 1px;\n --gds-space-0: 0px;\n}\n";
2
- export default styles;
@@ -1,2 +0,0 @@
1
- const styles = "/**\n * Do not edit directly\n * Generated on Wed, 16 Apr 2025 11:48:17 GMT\n */\n\n:host {\n --gds-text-weight-bold: 700;\n --gds-text-weight-medium: 500;\n --gds-text-weight-book: 450;\n --gds-text-weight-regular: 400;\n --gds-text-weight-light: 300;\n --gds-text-size-preamble-xs: 1rem;\n --gds-text-size-preamble-s: 1.125rem;\n --gds-text-size-preamble-m: 1.25rem;\n --gds-text-size-preamble-l: 1.5rem;\n --gds-text-size-preamble-xl: 1.75rem;\n --gds-text-size-preamble-2xl: 2rem;\n --gds-text-size-display-s: 2rem;\n --gds-text-size-display-m: 2.25rem;\n --gds-text-size-display-l: 3rem;\n --gds-text-size-display-xl: 4rem;\n --gds-text-size-display-2xl: 5.125rem;\n --gds-text-size-body-s: 0.875rem;\n --gds-text-size-body-m: 1rem;\n --gds-text-size-body-l: 1.25rem;\n --gds-text-size-detail-xs: 0.75rem;\n --gds-text-size-detail-s: 0.875rem;\n --gds-text-size-detail-m: 1rem;\n --gds-text-size-heading-2xl: 0.875rem;\n --gds-text-size-heading-2xs: 0.875rem;\n --gds-text-size-heading-xs: 1rem;\n --gds-text-size-heading-s: 1.25rem;\n --gds-text-size-heading-m: 1.5rem;\n --gds-text-size-heading-l: 1.75rem;\n --gds-text-size-heading-xl: 2rem;\n --gds-text-line-height-preamble-xs: 1.5rem;\n --gds-text-line-height-preamble-s: 1.625rem;\n --gds-text-line-height-preamble-m: 1.75rem;\n --gds-text-line-height-preamble-l: 2rem;\n --gds-text-line-height-preamble-xl: 2.25rem;\n --gds-text-line-height-preamble-2xl: 2.5rem;\n --gds-text-line-height-display-s: 2.5rem;\n --gds-text-line-height-display-m: 2.75rem;\n --gds-text-line-height-display-l: 3.5rem;\n --gds-text-line-height-display-xl: 4.5rem;\n --gds-text-line-height-display-2xl: 5.625rem;\n --gds-text-line-height-body-s: 1.25rem;\n --gds-text-line-height-body-m: 1.5rem;\n --gds-text-line-height-body-l: 1.625rem;\n --gds-text-line-height-detail-xs: 1rem;\n --gds-text-line-height-detail-s: 1.125rem;\n --gds-text-line-height-detail-m: 1.25rem;\n --gds-text-line-height-heading-2xs: 1.25rem;\n --gds-text-line-height-heading-xs: 1.5rem;\n --gds-text-line-height-heading-s: 1.75rem;\n --gds-text-line-height-heading-m: 2rem;\n --gds-text-line-height-heading-l: 2.5rem;\n --gds-text-line-height-heading-xl: 2.75rem;\n}\n";
2
- export default styles;