@navikt/ds-css 7.21.1 → 7.23.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.
Files changed (251) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/darkside/accordion.darkside.css +8 -8
  3. package/darkside/action-menu.darkside.css +7 -7
  4. package/darkside/alert.darkside.css +7 -38
  5. package/darkside/button.darkside.css +85 -174
  6. package/darkside/chat.darkside.css +23 -24
  7. package/darkside/chips.darkside.css +14 -48
  8. package/darkside/date.darkside.css +16 -16
  9. package/darkside/dropdown.darkside.css +3 -3
  10. package/darkside/expansioncard.darkside.css +14 -10
  11. package/darkside/form/combobox.darkside.css +14 -14
  12. package/darkside/form/confirmation-panel.darkside.css +3 -3
  13. package/darkside/form/error-summary.darkside.css +1 -1
  14. package/darkside/form/file-upload.darkside.css +15 -15
  15. package/darkside/form/form-progress.darkside.css +1 -1
  16. package/darkside/form/form-summary.darkside.css +5 -5
  17. package/darkside/form/radio-checkbox.darkside.css +10 -30
  18. package/darkside/form/search.darkside.css +5 -5
  19. package/darkside/form/select.darkside.css +4 -4
  20. package/darkside/form/switch.darkside.css +17 -28
  21. package/darkside/form/text-field.darkside.css +3 -3
  22. package/darkside/form/textarea.darkside.css +3 -3
  23. package/darkside/guide-panel.darkside.css +5 -5
  24. package/darkside/help-text.darkside.css +8 -8
  25. package/darkside/link.darkside.css +10 -14
  26. package/darkside/list.darkside.css +8 -11
  27. package/darkside/loader.darkside.css +8 -26
  28. package/darkside/modal.darkside.css +1 -1
  29. package/darkside/pagination.darkside.css +0 -5
  30. package/darkside/panel.darkside.css +1 -1
  31. package/darkside/popover.darkside.css +1 -1
  32. package/darkside/primitives/box.darkside.css +19 -19
  33. package/darkside/progress-bar.darkside.css +2 -2
  34. package/darkside/read-more.darkside.css +6 -6
  35. package/darkside/skeleton.darkside.css +3 -3
  36. package/darkside/stepper.darkside.css +12 -12
  37. package/darkside/table.darkside.css +9 -9
  38. package/darkside/tabs.darkside.css +5 -7
  39. package/darkside/tag.darkside.css +28 -85
  40. package/darkside/timeline.darkside.css +21 -93
  41. package/darkside/toggle-group.darkside.css +5 -17
  42. package/darkside/tooltip.darkside.css +2 -2
  43. package/darkside/typography.darkside.css +18 -0
  44. package/dist/component/alert.min.css +1 -1
  45. package/dist/component/chat.min.css +1 -1
  46. package/dist/component/date.min.css +1 -1
  47. package/dist/component/expansioncard.min.css +1 -1
  48. package/dist/component/form.min.css +1 -1
  49. package/dist/component/list.css +8 -12
  50. package/dist/component/list.min.css +1 -1
  51. package/dist/component/modal.min.css +1 -1
  52. package/dist/component/primitives.css +13 -13
  53. package/dist/component/primitives.min.css +1 -1
  54. package/dist/component/skeleton.min.css +1 -1
  55. package/dist/component/stepper.min.css +1 -1
  56. package/dist/component/tabs.min.css +1 -1
  57. package/dist/component/tag.min.css +1 -1
  58. package/dist/component/timeline.min.css +1 -1
  59. package/dist/component/togglegroup.min.css +1 -1
  60. package/dist/components.css +21 -25
  61. package/dist/components.min.css +3 -3
  62. package/dist/darkside/component/accordion.css +8 -8
  63. package/dist/darkside/component/accordion.min.css +1 -1
  64. package/dist/darkside/component/actionmenu.css +7 -7
  65. package/dist/darkside/component/actionmenu.min.css +1 -1
  66. package/dist/darkside/component/alert.css +7 -37
  67. package/dist/darkside/component/alert.min.css +1 -1
  68. package/dist/darkside/component/button.css +71 -135
  69. package/dist/darkside/component/button.min.css +1 -1
  70. package/dist/darkside/component/chat.css +20 -17
  71. package/dist/darkside/component/chat.min.css +1 -1
  72. package/dist/darkside/component/chips.css +18 -52
  73. package/dist/darkside/component/chips.min.css +1 -1
  74. package/dist/darkside/component/date.css +16 -16
  75. package/dist/darkside/component/date.min.css +1 -1
  76. package/dist/darkside/component/dropdown.css +3 -3
  77. package/dist/darkside/component/dropdown.min.css +1 -1
  78. package/dist/darkside/component/expansioncard.css +14 -10
  79. package/dist/darkside/component/expansioncard.min.css +1 -1
  80. package/dist/darkside/component/form.css +80 -105
  81. package/dist/darkside/component/form.min.css +1 -1
  82. package/dist/darkside/component/guidepanel.css +5 -5
  83. package/dist/darkside/component/guidepanel.min.css +1 -1
  84. package/dist/darkside/component/helptext.css +8 -8
  85. package/dist/darkside/component/helptext.min.css +1 -1
  86. package/dist/darkside/component/link.css +10 -14
  87. package/dist/darkside/component/link.min.css +1 -1
  88. package/dist/darkside/component/list.css +8 -22
  89. package/dist/darkside/component/list.min.css +1 -1
  90. package/dist/darkside/component/loader.css +8 -20
  91. package/dist/darkside/component/loader.min.css +1 -1
  92. package/dist/darkside/component/modal.css +1 -1
  93. package/dist/darkside/component/modal.min.css +1 -1
  94. package/dist/darkside/component/pagination.css +0 -5
  95. package/dist/darkside/component/pagination.min.css +1 -1
  96. package/dist/darkside/component/panel.css +1 -1
  97. package/dist/darkside/component/panel.min.css +1 -1
  98. package/dist/darkside/component/popover.css +1 -1
  99. package/dist/darkside/component/popover.min.css +1 -1
  100. package/dist/darkside/component/primitives.css +19 -19
  101. package/dist/darkside/component/primitives.min.css +1 -1
  102. package/dist/darkside/component/progressbar.css +2 -2
  103. package/dist/darkside/component/progressbar.min.css +1 -1
  104. package/dist/darkside/component/readmore.css +6 -6
  105. package/dist/darkside/component/readmore.min.css +1 -1
  106. package/dist/darkside/component/skeleton.css +3 -3
  107. package/dist/darkside/component/skeleton.min.css +1 -1
  108. package/dist/darkside/component/stepper.css +12 -12
  109. package/dist/darkside/component/stepper.min.css +1 -1
  110. package/dist/darkside/component/table.css +9 -9
  111. package/dist/darkside/component/table.min.css +1 -1
  112. package/dist/darkside/component/tabs.css +2 -2
  113. package/dist/darkside/component/tabs.min.css +1 -1
  114. package/dist/darkside/component/tag.css +29 -75
  115. package/dist/darkside/component/tag.min.css +1 -1
  116. package/dist/darkside/component/timeline.css +22 -94
  117. package/dist/darkside/component/timeline.min.css +1 -1
  118. package/dist/darkside/component/togglegroup.css +5 -14
  119. package/dist/darkside/component/togglegroup.min.css +1 -1
  120. package/dist/darkside/component/tooltip.css +2 -2
  121. package/dist/darkside/component/tooltip.min.css +1 -1
  122. package/dist/darkside/component/typography.css +16 -0
  123. package/dist/darkside/component/typography.min.css +1 -1
  124. package/dist/darkside/components.css +412 -704
  125. package/dist/darkside/components.min.css +1 -1
  126. package/dist/darkside/global/tokens.css +824 -819
  127. package/dist/darkside/global/tokens.min.css +1 -1
  128. package/dist/darkside/index.css +1224 -1511
  129. package/dist/darkside/index.min.css +1 -1
  130. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/accordion.css +8 -8
  131. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/accordion.min.css +1 -1
  132. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/actionmenu.css +7 -7
  133. package/dist/darkside/version/7.23.0/component/actionmenu.min.css +1 -0
  134. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/alert.css +7 -37
  135. package/dist/darkside/version/7.23.0/component/alert.min.css +1 -0
  136. package/dist/darkside/version/7.23.0/component/button.css +208 -0
  137. package/dist/darkside/version/7.23.0/component/button.min.css +1 -0
  138. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/chat.css +20 -17
  139. package/dist/darkside/version/7.23.0/component/chat.min.css +1 -0
  140. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/chips.css +18 -52
  141. package/dist/darkside/version/7.23.0/component/chips.min.css +1 -0
  142. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/date.css +16 -16
  143. package/dist/darkside/version/7.23.0/component/date.min.css +1 -0
  144. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/dropdown.css +3 -3
  145. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/dropdown.min.css +1 -1
  146. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/expansioncard.css +14 -10
  147. package/dist/darkside/version/7.23.0/component/expansioncard.min.css +1 -0
  148. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/form.css +80 -105
  149. package/dist/darkside/version/7.23.0/component/form.min.css +1 -0
  150. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/guidepanel.css +5 -5
  151. package/dist/darkside/version/7.23.0/component/guidepanel.min.css +1 -0
  152. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/helptext.css +8 -8
  153. package/dist/darkside/version/7.23.0/component/helptext.min.css +1 -0
  154. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/link.css +10 -14
  155. package/dist/darkside/version/7.23.0/component/link.min.css +1 -0
  156. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/list.css +8 -22
  157. package/dist/darkside/version/7.23.0/component/list.min.css +1 -0
  158. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/loader.css +8 -20
  159. package/dist/darkside/version/7.23.0/component/loader.min.css +1 -0
  160. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/modal.css +1 -1
  161. package/dist/darkside/version/7.23.0/component/modal.min.css +1 -0
  162. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/pagination.css +0 -5
  163. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/pagination.min.css +1 -1
  164. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/panel.css +1 -1
  165. package/dist/darkside/version/7.23.0/component/panel.min.css +1 -0
  166. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/popover.css +1 -1
  167. package/dist/darkside/version/7.23.0/component/popover.min.css +1 -0
  168. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/primitives.css +19 -19
  169. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/primitives.min.css +1 -1
  170. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/progressbar.css +2 -2
  171. package/dist/darkside/version/7.23.0/component/progressbar.min.css +1 -0
  172. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/readmore.css +6 -6
  173. package/dist/darkside/version/7.23.0/component/readmore.min.css +1 -0
  174. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/skeleton.css +3 -3
  175. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/skeleton.min.css +1 -1
  176. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/stepper.css +12 -12
  177. package/dist/darkside/version/7.23.0/component/stepper.min.css +1 -0
  178. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/table.css +9 -9
  179. package/dist/darkside/version/7.23.0/component/table.min.css +1 -0
  180. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/tabs.css +2 -2
  181. package/dist/darkside/version/7.23.0/component/tabs.min.css +1 -0
  182. package/dist/darkside/version/7.23.0/component/tag.css +83 -0
  183. package/dist/darkside/version/7.23.0/component/tag.min.css +1 -0
  184. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/timeline.css +22 -94
  185. package/dist/darkside/version/7.23.0/component/timeline.min.css +1 -0
  186. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/togglegroup.css +5 -14
  187. package/dist/darkside/version/7.23.0/component/togglegroup.min.css +1 -0
  188. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/tooltip.css +2 -2
  189. package/dist/darkside/version/7.23.0/component/tooltip.min.css +1 -0
  190. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/typography.css +16 -0
  191. package/dist/darkside/version/{7.21.1 → 7.23.0}/component/typography.min.css +1 -1
  192. package/dist/darkside/version/{7.21.1 → 7.23.0}/components.css +412 -704
  193. package/dist/darkside/version/7.23.0/components.min.css +1 -0
  194. package/dist/darkside/version/{7.21.1 → 7.23.0}/global/tokens.css +824 -819
  195. package/dist/darkside/version/7.23.0/global/tokens.min.css +1 -0
  196. package/dist/darkside/version/{7.21.1 → 7.23.0}/index.css +1224 -1511
  197. package/dist/darkside/version/7.23.0/index.min.css +1 -0
  198. package/dist/global/baseline.min.css +1 -1
  199. package/dist/global/tokens.css +329 -324
  200. package/dist/global/tokens.min.css +1 -1
  201. package/dist/index.css +350 -349
  202. package/dist/index.min.css +4 -4
  203. package/list.css +8 -11
  204. package/package.json +6 -5
  205. package/primitives/box.css +13 -13
  206. package/dist/darkside/version/7.21.1/component/actionmenu.min.css +0 -1
  207. package/dist/darkside/version/7.21.1/component/alert.min.css +0 -1
  208. package/dist/darkside/version/7.21.1/component/button.css +0 -272
  209. package/dist/darkside/version/7.21.1/component/button.min.css +0 -1
  210. package/dist/darkside/version/7.21.1/component/chat.min.css +0 -1
  211. package/dist/darkside/version/7.21.1/component/chips.min.css +0 -1
  212. package/dist/darkside/version/7.21.1/component/date.min.css +0 -1
  213. package/dist/darkside/version/7.21.1/component/expansioncard.min.css +0 -1
  214. package/dist/darkside/version/7.21.1/component/form.min.css +0 -1
  215. package/dist/darkside/version/7.21.1/component/guidepanel.min.css +0 -1
  216. package/dist/darkside/version/7.21.1/component/helptext.min.css +0 -1
  217. package/dist/darkside/version/7.21.1/component/link.min.css +0 -1
  218. package/dist/darkside/version/7.21.1/component/list.min.css +0 -1
  219. package/dist/darkside/version/7.21.1/component/loader.min.css +0 -1
  220. package/dist/darkside/version/7.21.1/component/modal.min.css +0 -1
  221. package/dist/darkside/version/7.21.1/component/panel.min.css +0 -1
  222. package/dist/darkside/version/7.21.1/component/popover.min.css +0 -1
  223. package/dist/darkside/version/7.21.1/component/progressbar.min.css +0 -1
  224. package/dist/darkside/version/7.21.1/component/readmore.min.css +0 -1
  225. package/dist/darkside/version/7.21.1/component/stepper.min.css +0 -1
  226. package/dist/darkside/version/7.21.1/component/table.min.css +0 -1
  227. package/dist/darkside/version/7.21.1/component/tabs.min.css +0 -1
  228. package/dist/darkside/version/7.21.1/component/tag.css +0 -129
  229. package/dist/darkside/version/7.21.1/component/tag.min.css +0 -1
  230. package/dist/darkside/version/7.21.1/component/timeline.min.css +0 -1
  231. package/dist/darkside/version/7.21.1/component/togglegroup.min.css +0 -1
  232. package/dist/darkside/version/7.21.1/component/tooltip.min.css +0 -1
  233. package/dist/darkside/version/7.21.1/components.min.css +0 -1
  234. package/dist/darkside/version/7.21.1/global/tokens.min.css +0 -1
  235. package/dist/darkside/version/7.21.1/index.min.css +0 -1
  236. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/copybutton.css +0 -0
  237. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/copybutton.min.css +0 -0
  238. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/internalheader.css +0 -0
  239. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/internalheader.min.css +0 -0
  240. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/linkpanel.css +0 -0
  241. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/linkpanel.min.css +0 -0
  242. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/theme.css +0 -0
  243. /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/theme.min.css +0 -0
  244. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/baseline.css +0 -0
  245. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/baseline.min.css +0 -0
  246. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/fonts.css +0 -0
  247. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/fonts.min.css +0 -0
  248. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/print.css +0 -0
  249. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/print.min.css +0 -0
  250. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/reset.css +0 -0
  251. /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/reset.min.css +0 -0
@@ -57,7 +57,7 @@
57
57
  left: 0;
58
58
  width: 100%;
59
59
  height: calc(100% - var(--__axc-switch-block-padding) * 2);
60
- border-radius: var(--ax-border-radius-medium);
60
+ border-radius: var(--ax-radius-4);
61
61
  outline: 3px solid var(--ax-border-focus);
62
62
  outline-offset: 3px;
63
63
  pointer-events: none;
@@ -68,11 +68,6 @@
68
68
  }
69
69
  }
70
70
 
71
- .aksel-switch__input:hover ~ .aksel-switch__label-wrapper,
72
- .aksel-switch__label-wrapper:hover {
73
- color: var(--ax-text-accent-subtle);
74
- }
75
-
76
71
  .aksel-switch__input:disabled:hover ~ .aksel-switch__label-wrapper {
77
72
  color: inherit;
78
73
  }
@@ -85,24 +80,28 @@
85
80
  position: absolute;
86
81
  top: var(--ax-space-12);
87
82
  left: 0;
88
- border-radius: var(--ax-border-radius-full);
83
+ border-radius: var(--ax-radius-full);
89
84
  border: 2px solid var(--ax-border-neutral);
90
85
  transition-property: background-color, border-color;
91
86
  transition-duration: 100ms;
92
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
87
+ transition-timing-function: ease;
93
88
 
94
89
  .aksel-switch--small > & {
95
90
  top: var(--ax-space-4);
96
91
  }
97
92
 
98
93
  .aksel-switch__input:checked ~ & {
99
- background-color: var(--ax-bg-accent-strong-pressed);
100
- border-color: var(--ax-bg-accent-strong-pressed);
94
+ background-color: var(--ax-bg-strong-pressed);
95
+ border-color: var(--ax-bg-strong-pressed);
96
+ }
97
+
98
+ .aksel-switch__input:hover ~ & {
99
+ background-color: var(--ax-bg-neutral-moderate-hover);
101
100
  }
102
101
 
103
102
  .aksel-switch__input:hover:checked ~ & {
104
- background-color: var(--ax-bg-accent-strong-hover);
105
- border-color: var(--ax-bg-accent-strong-hover);
103
+ background-color: var(--ax-bg-strong-hover);
104
+ border-color: var(--ax-bg-strong-hover);
106
105
  }
107
106
 
108
107
  .aksel-switch__input:disabled ~ & {
@@ -111,8 +110,8 @@
111
110
  }
112
111
 
113
112
  .aksel-switch__input:checked:disabled ~ & {
114
- background-color: var(--ax-bg-accent-strong-pressed);
115
- border-color: var(--ax-bg-accent-strong-pressed);
113
+ background-color: var(--ax-bg-strong-pressed);
114
+ border-color: var(--ax-bg-strong-pressed);
116
115
  }
117
116
 
118
117
  .aksel-switch--standalone > .aksel-switch__input:focus ~ & {
@@ -124,7 +123,7 @@
124
123
  /* ------------------------------ Switch Thumb ------------------------------ */
125
124
  .aksel-switch__thumb {
126
125
  background-color: var(--ax-bg-neutral-strong);
127
- border-radius: var(--ax-border-radius-full);
126
+ border-radius: var(--ax-radius-full);
128
127
  width: 1.125rem;
129
128
  height: 1.125rem;
130
129
  position: absolute;
@@ -139,7 +138,7 @@
139
138
  .aksel-switch__input:checked ~ .aksel-switch__track > & {
140
139
  background-color: var(--ax-bg-raised);
141
140
  transform: translateX(1.25rem);
142
- color: var(--ax-text-accent-subtle);
141
+ color: var(--ax-text-subtle);
143
142
  width: 1.25rem;
144
143
  height: 1.25rem;
145
144
  left: 0;
@@ -160,11 +159,11 @@
160
159
 
161
160
  @media (hover: hover) and (pointer: fine) {
162
161
  .aksel-switch__input:hover:not(:disabled) ~ .aksel-switch__track > .aksel-switch__thumb {
163
- transform: translateX(0.0625rem);
162
+ transform: translateX(0.17rem);
164
163
  }
165
164
 
166
165
  .aksel-switch__input:checked:hover:not(:disabled) ~ .aksel-switch__track > .aksel-switch__thumb {
167
- transform: translateX(1.19rem);
166
+ transform: translateX(1.1rem);
168
167
  }
169
168
  }
170
169
 
@@ -207,11 +206,6 @@
207
206
  cursor: default;
208
207
  }
209
208
 
210
- & > .aksel-switch__input:hover ~ .aksel-switch__label-wrapper,
211
- & .aksel-switch__label-wrapper:hover {
212
- color: var(--ax-text-neutral);
213
- }
214
-
215
209
  & .aksel-switch__label {
216
210
  display: inline-flex;
217
211
  }
@@ -238,11 +232,6 @@
238
232
 
239
233
  /* ------------------------ Switch Forced colors mode ----------------------- */
240
234
  @media (forced-colors: active) {
241
- .aksel-switch__input:hover ~ .aksel-switch__label-wrapper,
242
- .aksel-switch__label-wrapper:hover {
243
- color: highlight;
244
- }
245
-
246
235
  .aksel-switch__thumb,
247
236
  .aksel-switch--readonly .aksel-switch__thumb {
248
237
  background-color: fieldtext !important;
@@ -2,18 +2,18 @@
2
2
  appearance: none;
3
3
  padding: var(--ax-space-8);
4
4
  background: var(--ax-bg-input);
5
- border-radius: var(--ax-border-radius-large);
5
+ border-radius: var(--ax-radius-8);
6
6
  border: 1px solid var(--ax-border-neutral);
7
7
  min-height: 3rem;
8
8
  width: 100%;
9
9
  color: var(--ax-text-neutral);
10
10
 
11
11
  &:hover {
12
- border-color: var(--ax-border-accent-strong);
12
+ border-color: var(--ax-border-strong);
13
13
  }
14
14
 
15
15
  &:focus-visible {
16
- border-color: var(--ax-border-accent-strong);
16
+ border-color: var(--ax-border-strong);
17
17
  outline: 3px solid var(--ax-border-focus);
18
18
  outline-offset: 3px;
19
19
  }
@@ -4,7 +4,7 @@
4
4
  appearance: none;
5
5
  padding: var(--ax-space-8);
6
6
  background-color: var(--ax-bg-input);
7
- border-radius: var(--ax-border-radius-large);
7
+ border-radius: var(--ax-radius-8);
8
8
  border: 1px solid var(--ax-border-neutral);
9
9
  resize: none;
10
10
  width: 100%;
@@ -16,13 +16,13 @@
16
16
  }
17
17
 
18
18
  &:hover {
19
- border-color: var(--ax-border-accent-strong);
19
+ border-color: var(--ax-border-strong);
20
20
  }
21
21
 
22
22
  &:focus-visible {
23
23
  outline: 3px solid var(--ax-border-focus);
24
24
  outline-offset: 3px;
25
- border-color: var(--ax-border-accent-strong);
25
+ border-color: var(--ax-border-strong);
26
26
  }
27
27
 
28
28
  &:disabled {
@@ -34,8 +34,8 @@
34
34
 
35
35
  .aksel-guide {
36
36
  box-sizing: border-box;
37
- border: 2px solid var(--ax-border-info);
38
- border-radius: var(--ax-border-radius-full);
37
+ border: 2px solid var(--ax-border-default);
38
+ border-radius: var(--ax-radius-full);
39
39
  overflow: hidden;
40
40
  width: var(--__axc-guide-panel-guide-size);
41
41
  height: var(--__axc-guide-panel-guide-size);
@@ -50,8 +50,8 @@
50
50
 
51
51
  .aksel-guide-panel__content {
52
52
  background-color: var(--ax-bg-raised);
53
- border: 2px solid var(--ax-border-info);
54
- border-radius: var(--ax-border-radius-xlarge);
53
+ border: 2px solid var(--ax-border-default);
54
+ border-radius: var(--ax-radius-12);
55
55
  position: relative;
56
56
 
57
57
  .aksel-guide-panel:is([data-poster="true"], [data-responsive="true"]) > & {
@@ -72,7 +72,7 @@
72
72
 
73
73
  .aksel-guide-panel__content-inner {
74
74
  padding: var(--ax-space-16);
75
- border-radius: var(--ax-border-radius-xlarge);
75
+ border-radius: var(--ax-radius-12);
76
76
  background-color: var(--ax-bg-raised);
77
77
  position: relative;
78
78
  height: 100%;
@@ -3,24 +3,24 @@
3
3
  border: 0;
4
4
  cursor: pointer;
5
5
  background-color: transparent;
6
- border-radius: var(--ax-border-radius-full);
6
+ border-radius: var(--ax-radius-full);
7
7
  display: flex;
8
8
  justify-content: center;
9
9
  align-items: center;
10
- color: var(--ax-bg-info-strong);
10
+ color: var(--ax-bg-strong);
11
11
  font-size: 1.25rem;
12
12
  padding: calc(var(--ax-space-4) / 2);
13
13
  }
14
14
 
15
15
  .aksel-help-text__icon {
16
- border-radius: var(--ax-border-radius-full);
16
+ border-radius: var(--ax-radius-full);
17
17
  }
18
18
 
19
19
  .aksel-help-text__popover.aksel-popover {
20
- background-color: var(--ax-bg-info-moderate);
20
+ background-color: var(--ax-bg-moderate);
21
21
  max-width: min(65ch, calc(100vw - var(--ax-space-24)));
22
- border-radius: var(--ax-border-radius-large);
23
- border: 1px solid var(--ax-border-info);
22
+ border-radius: var(--ax-radius-8);
23
+ border: 1px solid var(--ax-border-default);
24
24
  }
25
25
 
26
26
  .aksel-help-text__icon--filled {
@@ -33,11 +33,11 @@
33
33
 
34
34
  .aksel-help-text__button:where(:hover, :focus-visible, [aria-expanded="true"]) > .aksel-help-text__icon--filled {
35
35
  display: inherit;
36
- color: var(--ax-bg-info-strong-hover);
36
+ color: var(--ax-bg-strong-hover);
37
37
  }
38
38
 
39
39
  .aksel-help-text__button[aria-expanded="true"] > .aksel-help-text__icon--filled {
40
- color: var(--ax-bg-info-strong-pressed);
40
+ color: var(--ax-bg-strong-pressed);
41
41
  }
42
42
 
43
43
  @media (forced-colors: active) {
@@ -1,5 +1,5 @@
1
1
  .aksel-link {
2
- color: var(--ax-text-accent-subtle);
2
+ color: var(--ax-text-subtle);
3
3
  display: inline-flex;
4
4
  align-items: center;
5
5
  gap: var(--ax-space-2);
@@ -18,6 +18,14 @@
18
18
  border-radius: 1px;
19
19
  }
20
20
 
21
+ &[data-color="neutral"] {
22
+ color: var(--ax-text-default);
23
+ }
24
+
25
+ &[data-variant="subtle"] {
26
+ color: var(--ax-text-subtle);
27
+ }
28
+
21
29
  &.aksel-link--inline-text {
22
30
  display: inline;
23
31
 
@@ -47,18 +55,6 @@
47
55
  .aksel-alert:not(.aksel-alert--inline),
48
56
  .aksel-confirmation-panel {
49
57
  & .aksel-link {
50
- color: var(--ax-text-neutral);
58
+ color: var(--ax-text-default);
51
59
  }
52
60
  }
53
-
54
- .aksel-link--action {
55
- color: var(--ax-text-accent-subtle);
56
- }
57
-
58
- .aksel-link--neutral {
59
- color: var(--ax-text-neutral);
60
- }
61
-
62
- .aksel-link--subtle {
63
- color: var(--ax-text-neutral-subtle);
64
- }
@@ -38,22 +38,19 @@
38
38
  }
39
39
 
40
40
  /* SAFARI HACK START */
41
- /* stylelint-disable selector-type-no-unknown */
42
41
 
43
- _::-webkit-full-page-media,
44
- _:future,
45
- :root .aksel-list ol {
46
- padding-left: 2.1rem;
47
- }
42
+ /* biome-ignore lint/a11y/useGenericFontNames: Hack for targeting Safari */
43
+ @supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
44
+ .aksel-list ol {
45
+ padding-left: 2.1rem;
46
+ }
48
47
 
49
- _::-webkit-full-page-media,
50
- _:future,
51
- :root .aksel-list ol .aksel-list__item {
52
- padding-left: 0;
48
+ .aksel-list ol .aksel-list__item {
49
+ padding-left: 0;
50
+ }
53
51
  }
54
52
 
55
53
  /* SAFARI HACK END */
56
- /* stylelint-enable selector-type-no-unknown */
57
54
 
58
55
  .aksel-list__item {
59
56
  margin-block-end: var(--ax-space-8);
@@ -61,39 +61,21 @@
61
61
  animation: loader-dasharray 1.5s ease-in-out infinite;
62
62
  stroke-dasharray: 80px, 200px;
63
63
  stroke-dashoffset: 0;
64
- stroke: var(--ax-border-neutral-strong);
64
+ stroke: var(--ax-border-strong);
65
65
  stroke-linecap: round;
66
66
  stroke-width: var(--__axc-loader-stroke-width);
67
- }
68
-
69
- .aksel-loader__background {
70
- stroke: var(--ax-border-neutral-subtleA);
71
- stroke-width: var(--__axc-loader-stroke-width);
72
- }
73
67
 
74
- .aksel-loader--neutral {
75
- & .aksel-loader__foreground {
76
- stroke: var(--ax-border-neutral-strong);
68
+ .aksel-loader[data-variant="inverted"] & {
69
+ stroke: var(--ax-border-subtle);
77
70
  }
78
71
  }
79
72
 
80
- .aksel-loader--interaction {
81
- & .aksel-loader__foreground {
82
- stroke: var(--ax-border-accent-strong);
83
- }
84
-
85
- & .aksel-loader__background {
86
- stroke: var(--ax-border-accent-subtleA);
87
- }
88
- }
89
-
90
- .aksel-loader--inverted {
91
- & .aksel-loader__foreground {
92
- stroke: var(--ax-border-neutral-subtle);
93
- }
73
+ .aksel-loader__background {
74
+ stroke: var(--ax-border-subtleA);
75
+ stroke-width: var(--__axc-loader-stroke-width);
94
76
 
95
- & .aksel-loader__background {
96
- stroke: var(--ax-border-neutral-strong);
77
+ .aksel-loader[data-variant="inverted"] & {
78
+ stroke: var(--ax-border-strong);
97
79
  }
98
80
  }
99
81
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  background-color: var(--__axc-modal-bg);
9
9
  border: 1px solid var(--ax-border-neutral-subtleA);
10
- border-radius: var(--ax-border-radius-xlarge);
10
+ border-radius: var(--ax-radius-12);
11
11
  box-shadow: var(--ax-shadow-dialog);
12
12
  padding: 0;
13
13
  position: fixed;
@@ -31,11 +31,6 @@
31
31
  width: 1.5rem;
32
32
  }
33
33
 
34
- .aksel-pagination__item[data-selected="true"] {
35
- background-color: var(--ax-bg-neutral-strong-pressed);
36
- color: var(--ax-text-neutral-contrast);
37
- }
38
-
39
34
  .aksel-pagination--invisible {
40
35
  visibility: hidden;
41
36
  }
@@ -1,7 +1,7 @@
1
1
  .aksel-panel {
2
2
  background-color: var(--ax-bg-default);
3
3
  padding: var(--ax-space-16);
4
- border-radius: var(--ax-border-radius-small);
4
+ border-radius: var(--ax-radius-2);
5
5
  border: 1px solid transparent;
6
6
  }
7
7
 
@@ -3,7 +3,7 @@
3
3
  background: var(--ax-bg-raised);
4
4
  box-shadow: var(--ax-shadow-dialog);
5
5
  border: 1px solid var(--ax-border-neutral-subtleA);
6
- border-radius: var(--ax-border-radius-xlarge);
6
+ border-radius: var(--ax-radius-12);
7
7
 
8
8
  /* Creates a small gutter between screen-edges on smaller devices */
9
9
  max-width: calc(100vw - var(--ax-space-24));
@@ -17,16 +17,16 @@
17
17
  border-width: var(--__axc-box-border-width, 0);
18
18
  }
19
19
 
20
- .aksel-box-border-radius {
21
- --__axc-box-border-radius-xs: initial;
22
- --__axc-box-border-radius-sm: var(--__axc-box-border-radius-xs);
23
- --__axc-box-border-radius-md: var(--__axc-box-border-radius-sm);
24
- --__axc-box-border-radius-lg: var(--__axc-box-border-radius-md);
25
- --__axc-box-border-radius-xl: var(--__axc-box-border-radius-lg);
26
- --__axc-box-border-radius-2xl: var(--__axc-box-border-radius-xl);
27
- --__axc-box-border-radius: var(--__axc-box-border-radius-xs);
20
+ .aksel-box-radius {
21
+ --__axc-box-radius-xs: initial;
22
+ --__axc-box-radius-sm: var(--__axc-box-radius-xs);
23
+ --__axc-box-radius-md: var(--__axc-box-radius-sm);
24
+ --__axc-box-radius-lg: var(--__axc-box-radius-md);
25
+ --__axc-box-radius-xl: var(--__axc-box-radius-lg);
26
+ --__axc-box-radius-2xl: var(--__axc-box-radius-xl);
27
+ --__axc-box-radius: var(--__axc-box-radius-xs);
28
28
 
29
- border-radius: var(--__axc-box-border-radius);
29
+ border-radius: var(--__axc-box-radius);
30
30
  }
31
31
 
32
32
  .aksel-box-shadow {
@@ -36,31 +36,31 @@
36
36
  }
37
37
 
38
38
  @media (min-width: 480px) {
39
- .aksel-box-border-radius {
40
- --__axc-box-border-radius: var(--__axc-box-border-radius-sm);
39
+ .aksel-box-radius {
40
+ --__axc-box-radius: var(--__axc-box-radius-sm);
41
41
  }
42
42
  }
43
43
 
44
44
  @media (min-width: 768px) {
45
- .aksel-box-border-radius {
46
- --__axc-box-border-radius: var(--__axc-box-border-radius-md);
45
+ .aksel-box-radius {
46
+ --__axc-box-radius: var(--__axc-box-radius-md);
47
47
  }
48
48
  }
49
49
 
50
50
  @media (min-width: 1024px) {
51
- .aksel-box-border-radius {
52
- --__axc-box-border-radius: var(--__axc-box-border-radius-lg);
51
+ .aksel-box-radius {
52
+ --__axc-box-radius: var(--__axc-box-radius-lg);
53
53
  }
54
54
  }
55
55
 
56
56
  @media (min-width: 1280px) {
57
- .aksel-box-border-radius {
58
- --__axc-box-border-radius: var(--__axc-box-border-radius-xl);
57
+ .aksel-box-radius {
58
+ --__axc-box-radius: var(--__axc-box-radius-xl);
59
59
  }
60
60
  }
61
61
 
62
62
  @media (min-width: 1440px) {
63
- .aksel-box-border-radius {
64
- --__axc-box-border-radius: var(--__axc-box-border-radius-2xl);
63
+ .aksel-box-radius {
64
+ --__axc-box-radius: var(--__axc-box-radius-2xl);
65
65
  }
66
66
  }
@@ -1,7 +1,7 @@
1
1
  .aksel-progress-bar {
2
2
  background: var(--ax-bg-neutral-moderateA);
3
3
  position: relative;
4
- border-radius: var(--ax-border-radius-full);
4
+ border-radius: var(--ax-radius-full);
5
5
  overflow: hidden;
6
6
  box-shadow: inset 0 0 0 1px var(--ax-border-neutral-subtleA);
7
7
  }
@@ -26,7 +26,7 @@
26
26
  --__ac-progress-bar-translate: initial;
27
27
 
28
28
  transform: translateX(var(--__ac-progress-bar-translate));
29
- background: var(--ax-bg-info-strong);
29
+ background: var(--ax-bg-strong);
30
30
  transform-origin: left;
31
31
  position: absolute;
32
32
  top: 0;
@@ -14,7 +14,7 @@
14
14
  display: flex;
15
15
  align-items: flex-start;
16
16
  gap: var(--ax-space-4);
17
- color: var(--ax-text-accent-subtle);
17
+ color: var(--ax-text-subtle);
18
18
  padding-inline: var(--__axc-read-more-pi-start) var(--__axc-read-more-pi-end);
19
19
  padding-block: var(--__axc-read-more-pb);
20
20
  text-align: start;
@@ -31,7 +31,7 @@
31
31
 
32
32
  .aksel-read-more:is([data-volume="low"], :not([data-volume])) {
33
33
  & .aksel-read-more__button {
34
- border-radius: var(--ax-border-radius-medium);
34
+ border-radius: var(--ax-radius-4);
35
35
 
36
36
  &:hover {
37
37
  background-color: var(--ax-bg-neutral-moderate-hoverA);
@@ -41,12 +41,12 @@
41
41
 
42
42
  .aksel-read-more[data-volume="high"] {
43
43
  & .aksel-read-more__button {
44
- background-color: var(--ax-bg-accent-moderate);
45
- border-radius: var(--ax-border-radius-full);
44
+ background-color: var(--ax-bg-moderate);
45
+ border-radius: var(--ax-radius-full);
46
46
 
47
47
  &:hover {
48
- background-color: var(--ax-bg-accent-moderate-hoverA);
49
- color: var(--ax-text-accent);
48
+ background-color: var(--ax-bg-moderate-hoverA);
49
+ color: var(--ax-text-default);
50
50
  }
51
51
  }
52
52
 
@@ -29,7 +29,7 @@
29
29
  height: auto;
30
30
  transform-origin: 0 55%;
31
31
  transform: scale(1, 0.6);
32
- border-radius: var(--ax-border-radius-large);
32
+ border-radius: var(--ax-radius-8);
33
33
 
34
34
  &:empty::before {
35
35
  content: "\00a0";
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  .aksel-skeleton--circle {
40
- border-radius: var(--ax-border-radius-full);
40
+ border-radius: var(--ax-radius-full);
41
41
  }
42
42
 
43
43
  .aksel-skeleton--rectangle {
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  .aksel-skeleton--rounded {
48
- border-radius: var(--ax-border-radius-xlarge);
48
+ border-radius: var(--ax-radius-12);
49
49
  }
50
50
 
51
51
  @keyframes akselSkeletonAnimation {
@@ -3,7 +3,7 @@
3
3
  --__axc-stepper-border-width: 2px;
4
4
  --__axc-stepper-line-length: 1rem;
5
5
 
6
- color: var(--ax-text-accent-subtle);
6
+ color: var(--ax-text-subtle);
7
7
  font-weight: var(--ax-font-weight-bold);
8
8
  line-height: 1;
9
9
  list-style: none;
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  .aksel-stepper__line {
25
- background-color: var(--ax-border-accent);
25
+ background-color: var(--ax-border-default);
26
26
  width: var(--__axc-stepper-border-width);
27
27
  height: 100%;
28
28
  min-height: var(--__axc-stepper-line-length);
@@ -98,7 +98,7 @@
98
98
  width: var(--__axc-stepper-circle-size);
99
99
  height: var(--__axc-stepper-circle-size);
100
100
  border: var(--__axc-stepper-border-width) solid currentColor;
101
- border-radius: var(--ax-border-radius-full);
101
+ border-radius: var(--ax-radius-full);
102
102
  line-height: 1;
103
103
  }
104
104
 
@@ -108,8 +108,8 @@
108
108
  }
109
109
 
110
110
  .aksel-stepper__step[data-interactive="true"] {
111
- color: var(--ax-text-accent-subtle);
112
- border-radius: var(--ax-border-radius-medium);
111
+ color: var(--ax-text-subtle);
112
+ border-radius: var(--ax-radius-4);
113
113
  text-decoration: none;
114
114
 
115
115
  & .aksel-stepper__content {
@@ -126,8 +126,8 @@
126
126
  }
127
127
 
128
128
  & .aksel-stepper__circle {
129
- color: var(--ax-text-accent-subtle);
130
- border-color: var(--ax-border-accent-strong);
129
+ color: var(--ax-text-subtle);
130
+ border-color: var(--ax-border-strong);
131
131
  }
132
132
 
133
133
  &[data-active="true"] {
@@ -136,17 +136,17 @@
136
136
  }
137
137
 
138
138
  & .aksel-stepper__circle {
139
- color: var(--ax-text-accent-contrast);
140
- background-color: var(--ax-bg-accent-strong-pressed);
141
- border-color: var(--ax-bg-accent-strong-pressed);
139
+ color: var(--ax-text-contrast);
140
+ background-color: var(--ax-bg-strong-pressed);
141
+ border-color: var(--ax-bg-strong-pressed);
142
142
  }
143
143
  }
144
144
 
145
145
  &[data-active="false"] {
146
146
  &:hover {
147
147
  & .aksel-stepper__circle {
148
- background-color: var(--ax-bg-accent-moderate-hoverA);
149
- border-color: var(--ax-border-accent-strong);
148
+ background-color: var(--ax-bg-moderate-hoverA);
149
+ border-color: var(--ax-border-strong);
150
150
  }
151
151
  }
152
152
  }