@amsterdam/design-system-css 0.1.9 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE.md +1 -1
  3. package/dist/accordion/accordion.css +1 -1
  4. package/dist/accordion/accordion.css.map +1 -1
  5. package/dist/alert/alert.css +1 -1
  6. package/dist/alert/alert.css.map +1 -1
  7. package/dist/aspect-ratio/aspect-ratio.css.map +1 -1
  8. package/dist/blockquote/blockquote.css +1 -1
  9. package/dist/blockquote/blockquote.css.map +1 -1
  10. package/dist/breadcrumb/breadcrumb.css +1 -1
  11. package/dist/breadcrumb/breadcrumb.css.map +1 -1
  12. package/dist/button/button.css +1 -1
  13. package/dist/button/button.css.map +1 -1
  14. package/dist/card/card.css +1 -1
  15. package/dist/card/card.css.map +1 -1
  16. package/dist/checkbox/checkbox.css +1 -1
  17. package/dist/checkbox/checkbox.css.map +1 -1
  18. package/dist/dialog/dialog.css +1 -1
  19. package/dist/dialog/dialog.css.map +1 -1
  20. package/dist/form-label/form-label.css +1 -1
  21. package/dist/form-label/form-label.css.map +1 -1
  22. package/dist/grid/grid-cell.css.map +1 -1
  23. package/dist/grid/grid.css +1 -1
  24. package/dist/grid/grid.css.map +1 -1
  25. package/dist/heading/heading.css +1 -1
  26. package/dist/heading/heading.css.map +1 -1
  27. package/dist/highlight/highlight.css.map +1 -1
  28. package/dist/icon/icon.css +1 -1
  29. package/dist/icon/icon.css.map +1 -1
  30. package/dist/image/image.css.map +1 -1
  31. package/dist/index.css +1 -1
  32. package/dist/index.css.map +1 -1
  33. package/dist/link/link.css +1 -1
  34. package/dist/link/link.css.map +1 -1
  35. package/dist/logo/logo.css.map +1 -1
  36. package/dist/ordered-list/ordered-list.css +1 -1
  37. package/dist/ordered-list/ordered-list.css.map +1 -1
  38. package/dist/page-heading/page-heading.css +1 -1
  39. package/dist/page-heading/page-heading.css.map +1 -1
  40. package/dist/page-menu/page-menu.css +1 -1
  41. package/dist/page-menu/page-menu.css.map +1 -1
  42. package/dist/pagination/pagination.css +1 -1
  43. package/dist/pagination/pagination.css.map +1 -1
  44. package/dist/paragraph/paragraph.css +1 -1
  45. package/dist/paragraph/paragraph.css.map +1 -1
  46. package/dist/screen/screen.css.map +1 -1
  47. package/dist/switch/switch.css.map +1 -1
  48. package/dist/top-task-link/top-task-link.css +1 -1
  49. package/dist/top-task-link/top-task-link.css.map +1 -1
  50. package/dist/unordered-list/unordered-list.css +1 -1
  51. package/dist/unordered-list/unordered-list.css.map +1 -1
  52. package/dist/visually-hidden/visually-hidden.css.map +1 -1
  53. package/package.json +5 -5
  54. package/{utils → src/common}/breakpoint.scss +0 -6
  55. package/src/{accordion → components/accordion}/accordion.scss +5 -6
  56. package/src/{alert → components/alert}/alert.scss +5 -6
  57. package/src/{blockquote → components/blockquote}/blockquote.scss +5 -6
  58. package/src/{breadcrumb → components/breadcrumb}/breadcrumb.scss +16 -18
  59. package/src/{button → components/button}/button.scss +8 -7
  60. package/src/{card → components/card}/card.scss +4 -4
  61. package/src/{checkbox → components/checkbox}/checkbox.scss +8 -9
  62. package/src/{dialog → components/dialog}/dialog.scss +6 -5
  63. package/src/{form-label → components/form-label}/form-label.scss +7 -8
  64. package/src/{grid → components/grid}/grid-cell.scss +1 -1
  65. package/src/{grid → components/grid}/grid.scss +14 -6
  66. package/src/components/heading/heading.scss +64 -0
  67. package/src/components/icon/icon.scss +105 -0
  68. package/src/{link → components/link}/link.scss +18 -26
  69. package/src/{ordered-list → components/ordered-list}/ordered-list.scss +7 -8
  70. package/src/{page-heading → components/page-heading}/page-heading.scss +7 -8
  71. package/src/{page-menu → components/page-menu}/README.md +2 -0
  72. package/src/{page-menu → components/page-menu}/page-menu.scss +14 -9
  73. package/src/{pagination → components/pagination}/pagination.scss +9 -9
  74. package/src/components/paragraph/paragraph.scss +49 -0
  75. package/src/{top-task-link → components/top-task-link}/top-task-link.scss +13 -12
  76. package/src/{unordered-list → components/unordered-list}/unordered-list.scss +7 -8
  77. package/src/heading/heading.scss +0 -62
  78. package/src/icon/icon.scss +0 -104
  79. package/src/paragraph/paragraph.scss +0 -48
  80. /package/{utils → src/common}/calculate-fluid-style.scss +0 -0
  81. /package/src/{accordion → components/accordion}/README.md +0 -0
  82. /package/src/{alert → components/alert}/README.md +0 -0
  83. /package/src/{aspect-ratio → components/aspect-ratio}/README.md +0 -0
  84. /package/src/{aspect-ratio → components/aspect-ratio}/aspect-ratio.scss +0 -0
  85. /package/src/{blockquote → components/blockquote}/README.md +0 -0
  86. /package/src/{breadcrumb → components/breadcrumb}/README.md +0 -0
  87. /package/src/{button → components/button}/README.md +0 -0
  88. /package/src/{button → components/button}/button-css.md +0 -0
  89. /package/src/{card → components/card}/README.md +0 -0
  90. /package/src/{checkbox → components/checkbox}/README.md +0 -0
  91. /package/src/{checkbox → components/checkbox}/checkbox-css.md +0 -0
  92. /package/src/{dialog → components/dialog}/README.md +0 -0
  93. /package/src/{footer → components/footer}/README.md +0 -0
  94. /package/src/{footer → components/footer}/footer-css.md +0 -0
  95. /package/src/{form-label → components/form-label}/README.md +0 -0
  96. /package/src/{grid → components/grid}/README.grid-cell.md +0 -0
  97. /package/src/{grid → components/grid}/README.grid.md +0 -0
  98. /package/src/{heading → components/heading}/README.md +0 -0
  99. /package/src/{heading → components/heading}/heading-css.md +0 -0
  100. /package/src/{highlight → components/highlight}/README.md +0 -0
  101. /package/src/{highlight → components/highlight}/highlight.scss +0 -0
  102. /package/src/{icon → components/icon}/README.md +0 -0
  103. /package/src/{image → components/image}/README.md +0 -0
  104. /package/src/{image → components/image}/image.scss +0 -0
  105. /package/src/{index.scss → components/index.scss} +0 -0
  106. /package/src/{link → components/link}/README.md +0 -0
  107. /package/src/{logo → components/logo}/README.md +0 -0
  108. /package/src/{logo → components/logo}/logo.scss +0 -0
  109. /package/src/{ordered-list → components/ordered-list}/README.md +0 -0
  110. /package/src/{page-heading → components/page-heading}/README.md +0 -0
  111. /package/src/{pagination → components/pagination}/README.md +0 -0
  112. /package/src/{paragraph → components/paragraph}/README.md +0 -0
  113. /package/src/{paragraph → components/paragraph}/paragraph-css.md +0 -0
  114. /package/src/{screen → components/screen}/README.md +0 -0
  115. /package/src/{screen → components/screen}/screen.scss +0 -0
  116. /package/src/{switch → components/switch}/README.md +0 -0
  117. /package/src/{switch → components/switch}/switch.scss +0 -0
  118. /package/src/{top-task-link → components/top-task-link}/README.md +0 -0
  119. /package/src/{unordered-list → components/unordered-list}/README.md +0 -0
  120. /package/src/{visually-hidden → components/visually-hidden}/README.md +0 -0
  121. /package/src/{visually-hidden → components/visually-hidden}/visually-hidden.scss +0 -0
@@ -3,8 +3,6 @@
3
3
  * Copyright (c) 2023 Gemeente Amsterdam
4
4
  */
5
5
 
6
- @import "../../utils/breakpoint";
7
-
8
6
  @mixin reset {
9
7
  -webkit-text-size-adjust: 100%;
10
8
  }
@@ -24,8 +22,9 @@
24
22
 
25
23
  .amsterdam-link--standalone {
26
24
  display: inline-block;
27
- font-size: var(--amsterdam-link-standalone-narrow-font-size);
28
- line-height: var(--amsterdam-link-standalone-line-height);
25
+ font-size: var(--amsterdam-link-standalone-spacious-font-size);
26
+ line-height: var(--amsterdam-link-standalone-spacious-line-height);
27
+ text-decoration-line: var(--amsterdam-link-standalone-text-decoration-line);
29
28
  text-decoration-thickness: var(--amsterdam-link-standalone-text-decoration-thickness);
30
29
  text-underline-offset: var(--amsterdam-link-standalone-text-underline-offset);
31
30
 
@@ -34,8 +33,9 @@
34
33
  text-underline-offset: var(--amsterdam-link-standalone-hover-text-underline-offset);
35
34
  }
36
35
 
37
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
38
- font-size: var(--amsterdam-link-standalone-wide-font-size);
36
+ .amsterdam-theme--compact & {
37
+ font-size: var(--amsterdam-link-standalone-compact-font-size);
38
+ line-height: var(--amsterdam-link-standalone-compact-line-height);
39
39
  }
40
40
  }
41
41
 
@@ -43,11 +43,12 @@
43
43
  font-family: var(--amsterdam-link-inline-font-family);
44
44
  font-size: var(--amsterdam-link-inline-font-size);
45
45
  line-height: var(--amsterdam-link-inline-line-height);
46
- text-decoration: var(--amsterdam-link-inline-text-decoration);
46
+ text-decoration-line: var(--amsterdam-link-inline-text-decoration-line);
47
47
  text-decoration-thickness: var(--amsterdam-link-inline-text-decoration-thickness);
48
+ text-underline-offset: var(--amsterdam-link-inline-text-underline-offset);
48
49
 
49
50
  &:hover {
50
- text-decoration: var(--amsterdam-link-inline-hover-text-decoration);
51
+ text-decoration-thickness: var(--amsterdam-link-inline-hover-text-decoration-thickness);
51
52
  text-underline-offset: var(--amsterdam-link-inline-hover-text-underline-offset);
52
53
  }
53
54
 
@@ -59,19 +60,20 @@
59
60
  .amsterdam-link--in-list {
60
61
  align-items: flex-start;
61
62
  display: inline-flex;
62
- font-size: var(--amsterdam-link-in-list-narrow-font-size);
63
+ font-size: var(--amsterdam-link-in-list-spacious-font-size);
63
64
  gap: var(--amsterdam-link-in-list-gap);
64
- line-height: var(--amsterdam-link-in-list-line-height);
65
- text-decoration: var(--amsterdam-link-in-list-text-decoration);
65
+ line-height: var(--amsterdam-link-in-list-spacious-line-height);
66
+ text-decoration-line: var(--amsterdam-link-in-list-text-decoration-line);
67
+ text-decoration-thickness: var(--amsterdam-link-in-list-text-decoration-thickness);
68
+ text-underline-offset: var(--amsterdam-link-in-list-text-underline-offset);
66
69
 
67
70
  &:hover {
68
- text-decoration: var(--amsterdam-link-in-list-hover-text-decoration);
69
- text-decoration-thickness: var(--amsterdam-link-in-list-hover-text-decoration-thickness);
70
- text-underline-offset: var(--amsterdam-link-in-list-hover-text-underline-offset);
71
+ text-decoration-line: var(--amsterdam-link-in-list-hover-text-decoration-line);
71
72
  }
72
73
 
73
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
74
- font-size: var(--amsterdam-link-in-list-wide-font-size);
74
+ .amsterdam-theme--compact & {
75
+ font-size: var(--amsterdam-link-in-list-compact-font-size);
76
+ line-height: var(--amsterdam-link-in-list-compact-line-height);
75
77
  }
76
78
  }
77
79
 
@@ -106,13 +108,3 @@
106
108
  color: var(--amsterdam-link-on-background-light-visited-color);
107
109
  }
108
110
  }
109
-
110
- .amsterdam-link--inline.amsterdam-link--on-background-dark,
111
- .amsterdam-link--inline.amsterdam-link--on-background-light {
112
- text-decoration: var(--amsterdam-link-inline-hover-text-decoration);
113
- text-underline-offset: var(--amsterdam-link-inline-hover-text-underline-offset);
114
-
115
- &:hover {
116
- text-decoration: var(--amsterdam-link-inline-text-decoration);
117
- }
118
- }
@@ -3,8 +3,6 @@
3
3
  * Copyright (c) 2023 Gemeente Amsterdam
4
4
  */
5
5
 
6
- @import "../../utils/breakpoint";
7
-
8
6
  /** Apply border box sizing, reset whitespace and list styles. */
9
7
  @mixin reset {
10
8
  box-sizing: border-box;
@@ -26,15 +24,11 @@
26
24
  .amsterdam-ordered-list:not(.amsterdam-ordered-list--no-markers) {
27
25
  color: var(--amsterdam-ordered-list-color);
28
26
  font-family: var(--amsterdam-ordered-list-font-family);
29
- font-size: var(--amsterdam-ordered-list-narrow-font-size);
27
+ font-size: var(--amsterdam-ordered-list-spacious-font-size);
30
28
  font-weight: var(--amsterdam-ordered-list-font-weight);
31
- line-height: var(--amsterdam-ordered-list-line-height);
29
+ line-height: var(--amsterdam-ordered-list-spacious-line-height);
32
30
  list-style-type: var(--amsterdam-ordered-list-list-style-type);
33
31
 
34
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
35
- font-size: var(--amsterdam-ordered-list-wide-font-size);
36
- }
37
-
38
32
  /** List items are responsible for indentation and marker positioning. */
39
33
  .amsterdam-ordered-list__item {
40
34
  margin-inline-start: var(--amsterdam-ordered-list-item-margin-inline-start);
@@ -51,3 +45,8 @@
51
45
  padding-inline-start: var(--amsterdam-ordered-list-ordered-list-item-padding-inline-start);
52
46
  }
53
47
  }
48
+
49
+ .amsterdam-theme--compact .amsterdam-ordered-list:not(.amsterdam-ordered-list--no-markers) {
50
+ font-size: var(--amsterdam-ordered-list-compact-font-size);
51
+ line-height: var(--amsterdam-ordered-list-compact-line-height);
52
+ }
@@ -3,8 +3,6 @@
3
3
  * Copyright (c) 2023 Gemeente Amsterdam
4
4
  */
5
5
 
6
- @import "../../utils/breakpoint";
7
-
8
6
  @mixin reset {
9
7
  box-sizing: border-box;
10
8
  margin-block: 0;
@@ -16,15 +14,16 @@
16
14
  break-inside: avoid;
17
15
  color: var(--amsterdam-page-heading-color);
18
16
  font-family: var(--amsterdam-page-heading-font-family);
19
- font-size: var(--amsterdam-page-heading-narrow-font-size);
17
+ font-size: var(--amsterdam-page-heading-spacious-font-size);
20
18
  font-weight: var(--amsterdam-page-heading-font-weight);
21
- line-height: var(--amsterdam-page-heading-line-height);
22
-
23
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
24
- font-size: var(--amsterdam-page-heading-wide-font-size);
25
- }
19
+ line-height: var(--amsterdam-page-heading-spacious-line-height);
26
20
 
27
21
  @include reset;
22
+
23
+ .amsterdam-theme--compact & {
24
+ font-size: var(--amsterdam-page-heading-compact-font-size);
25
+ line-height: var(--amsterdam-page-heading-compact-line-height);
26
+ }
28
27
  }
29
28
 
30
29
  .amsterdam-page-heading--inverse-color {
@@ -13,3 +13,5 @@ Het Page Menu wordt alleen gebruikt in het Header en Footer component en is uits
13
13
  ## Relevante WCAG eisen
14
14
 
15
15
  - [Consistent Navigation (Level AA)](https://www.w3.org/WAI/WCAG21/Understanding/consistent-navigation.html)
16
+
17
+ PageMenu is een interactief element, hier gelden [de algemene eisen en richtlijnen voor interactieve elementen](https://amsterdam.github.io/design-system/?path=/docs/docs-designrichtlijnen-interactieve-elementen--docs) voor.
@@ -3,8 +3,6 @@
3
3
  * Copyright (c) 2023 Gemeente Amsterdam
4
4
  */
5
5
 
6
- @import "../../utils/breakpoint";
7
-
8
6
  @mixin reset-list {
9
7
  box-sizing: border-box;
10
8
  margin-block: 0;
@@ -35,22 +33,29 @@
35
33
  @include reset-list;
36
34
  }
37
35
 
36
+ .amsterdam-page-menu--align-end {
37
+ justify-content: end;
38
+ }
39
+
38
40
  @mixin page-menu-item {
39
41
  color: var(--amsterdam-page-menu-item-color);
40
42
  display: inline-flex;
41
43
  flex-direction: row;
42
44
  font-family: var(--amsterdam-page-menu-item-font-family);
43
- font-size: var(--amsterdam-page-menu-item-narrow-font-size);
45
+ font-size: var(--amsterdam-page-menu-item-spacious-font-size);
44
46
  font-weight: var(--amsterdam-page-menu-item-font-weight);
45
47
  gap: var(--amsterdam-page-menu-item-gap);
46
- line-height: var(--amsterdam-page-menu-item-line-height);
47
- outline-offset: var(--amsterdam-focus-outline-offset);
48
+ line-height: var(--amsterdam-page-menu-item-spacious-line-height);
49
+ outline-offset: var(--amsterdam-page-menu-item-outline-offset);
48
50
  text-align: center;
49
- text-decoration: var(--amsterdam-page-menu-item-text-decoration);
51
+ text-decoration-line: var(--amsterdam-page-menu-item-text-decoration-line);
52
+ text-decoration-thickness: var(--amsterdam-page-menu-item-text-decoration-thickness);
53
+ text-underline-offset: var(--amsterdam-page-menu-item-text-underline-offset);
50
54
  touch-action: manipulation;
51
55
 
52
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
53
- font-size: var(--amsterdam-page-menu-item-wide-font-size);
56
+ .amsterdam-theme--compact & {
57
+ font-size: var(--amsterdam-page-menu-item-compact-font-size);
58
+ line-height: var(--amsterdam-page-menu-item-compact-line-height);
54
59
  }
55
60
  }
56
61
 
@@ -70,7 +75,7 @@
70
75
  .amsterdam-page-menu__link:hover,
71
76
  .amsterdam-page-menu__button:hover {
72
77
  color: var(--amsterdam-page-menu-item-hover-color);
73
- text-decoration: var(--amsterdam-page-menu-item-hover-text-decoration);
78
+ text-decoration-line: var(--amsterdam-page-menu-item-hover-text-decoration-line);
74
79
  }
75
80
 
76
81
  .amsterdam-page-menu__link svg,
@@ -3,8 +3,6 @@
3
3
  * Copyright (c) 2023 Gemeente Amsterdam
4
4
  */
5
5
 
6
- @import "../../utils/breakpoint";
7
-
8
6
  @mixin list-reset {
9
7
  list-style-type: none;
10
8
  margin-block: 0;
@@ -16,15 +14,16 @@
16
14
  display: flex;
17
15
  flex-wrap: wrap;
18
16
  font-family: var(--amsterdam-pagination-font-family);
19
- font-size: var(--amsterdam-pagination-narrow-font-size);
17
+ font-size: var(--amsterdam-pagination-spacious-font-size);
20
18
  font-weight: var(--amsterdam-pagination-font-weight);
21
19
  justify-content: center;
22
- line-height: var(--amsterdam-pagination-line-height);
20
+ line-height: var(--amsterdam-pagination-spacious-line-height);
23
21
 
24
22
  @include list-reset;
25
23
 
26
- @media screen and (width > $amsterdam-breakpoint-typography) {
27
- font-size: var(--amsterdam-pagination-wide-font-size);
24
+ .amsterdam-theme--compact & {
25
+ font-size: var(--amsterdam-pagination-compact-font-size);
26
+ line-height: var(--amsterdam-pagination-compact-line-height);
28
27
  }
29
28
  }
30
29
 
@@ -45,13 +44,14 @@
45
44
  gap: 0.5rem;
46
45
  outline-offset: var(--amsterdam-pagination-button-outline-offset);
47
46
  padding-inline: 0.75rem;
48
- text-decoration-thickness: 2px;
49
- text-underline-offset: 3px;
47
+ text-decoration-line: var(--amsterdam-pagination-button-text-decoration-line);
48
+ text-decoration-thickness: var(--amsterdam-pagination-button-text-decoration-thickness);
49
+ text-underline-offset: var(--amsterdam-pagination-button-text-underline-offset);
50
50
  touch-action: manipulation;
51
51
 
52
52
  &:hover {
53
53
  color: var(--amsterdam-pagination-button-hover-color);
54
- text-decoration: underline;
54
+ text-decoration-line: var(--amsterdam-pagination-button-hover-text-decoration-line);
55
55
  }
56
56
 
57
57
  &:disabled {
@@ -0,0 +1,49 @@
1
+ /**
2
+ * @license EUPL-1.2+
3
+ * Copyright (c) 2023 Gemeente Amsterdam
4
+ */
5
+
6
+ @mixin reset {
7
+ box-sizing: border-box;
8
+ margin-block: 0;
9
+ -webkit-text-size-adjust: 100%;
10
+ }
11
+
12
+ .amsterdam-paragraph {
13
+ color: var(--amsterdam-paragraph-color);
14
+ font-family: var(--amsterdam-paragraph-font-family);
15
+ font-size: var(--amsterdam-paragraph-spacious-medium-font-size);
16
+ font-weight: var(--amsterdam-paragraph-font-weight);
17
+ line-height: var(--amsterdam-paragraph-spacious-medium-line-height);
18
+
19
+ @include reset;
20
+
21
+ .amsterdam-theme--compact & {
22
+ font-size: var(--amsterdam-paragraph-compact-medium-font-size);
23
+ line-height: var(--amsterdam-paragraph-compact-medium-line-height);
24
+ }
25
+ }
26
+
27
+ .amsterdam-paragraph--small {
28
+ font-size: var(--amsterdam-paragraph-spacious-small-font-size);
29
+ line-height: var(--amsterdam-paragraph-spacious-small-line-height);
30
+
31
+ .amsterdam-theme--compact & {
32
+ font-size: var(--amsterdam-paragraph-compact-small-font-size);
33
+ line-height: var(--amsterdam-paragraph-compact-small-line-height);
34
+ }
35
+ }
36
+
37
+ .amsterdam-paragraph--large {
38
+ font-size: var(--amsterdam-paragraph-spacious-large-font-size);
39
+ line-height: var(--amsterdam-paragraph-spacious-large-line-height);
40
+
41
+ .amsterdam-theme--compact & {
42
+ font-size: var(--amsterdam-paragraph-compact-large-font-size);
43
+ line-height: var(--amsterdam-paragraph-compact-large-line-height);
44
+ }
45
+ }
46
+
47
+ .amsterdam-paragraph--inverse-color {
48
+ color: var(--amsterdam-paragraph-inverse-color);
49
+ }
@@ -3,8 +3,6 @@
3
3
  * Copyright (c) 2023 Gemeente Amsterdam
4
4
  */
5
5
 
6
- @import "../../utils/breakpoint";
7
-
8
6
  .amsterdam-top-task-link {
9
7
  break-inside: avoid;
10
8
  display: flex;
@@ -22,12 +20,16 @@
22
20
  .amsterdam-top-task-link__label {
23
21
  color: var(--amsterdam-top-task-link-label-color);
24
22
  font-family: var(--amsterdam-top-task-link-label-font-family);
25
- font-size: var(--amsterdam-top-task-link-label-narrow-font-size);
23
+ font-size: var(--amsterdam-top-task-link-label-spacious-font-size);
26
24
  font-weight: var(--amsterdam-top-task-link-label-font-weight);
27
25
  line-height: var(--amsterdam-top-task-link-label-line-height);
26
+ text-decoration-line: var(--amsterdam-top-task-link-label-text-decoration-line);
27
+ text-decoration-thickness: var(--amsterdam-top-task-link-label-text-decoration-thickness);
28
+ text-underline-offset: var(--amsterdam-top-task-link-label-text-underline-offset);
28
29
 
29
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
30
- font-size: var(--amsterdam-top-task-link-label-wide-font-size);
30
+ .amsterdam-theme--compact & {
31
+ font-size: var(--amsterdam-top-task-link-label-compact-font-size);
32
+ line-height: var(--amsterdam-top-task-link-label-compact-line-height);
31
33
  }
32
34
 
33
35
  @include reset;
@@ -35,20 +37,19 @@
35
37
 
36
38
  .amsterdam-top-task-link:hover .amsterdam-top-task-link__label {
37
39
  color: var(--amsterdam-top-task-link-label-hover-color);
38
- text-decoration: underline;
39
- text-decoration-thickness: 3px;
40
- text-underline-offset: 0.5rem;
40
+ text-decoration-line: var(--amsterdam-top-task-link-label-hover-text-decoration-line);
41
41
  }
42
42
 
43
43
  .amsterdam-top-task-link__description {
44
44
  color: var(--amsterdam-top-task-link-description-color);
45
45
  font-family: var(--amsterdam-top-task-link-description-font-family);
46
- font-size: var(--amsterdam-top-task-link-description-narrow-font-size);
46
+ font-size: var(--amsterdam-top-task-link-description-spacious-font-size);
47
47
  font-weight: var(--amsterdam-top-task-link-description-font-weight);
48
- line-height: var(--amsterdam-top-task-link-description-line-height);
48
+ line-height: var(--amsterdam-top-task-link-description-spacious-line-height);
49
49
 
50
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
51
- font-size: var(--amsterdam-top-task-link-description-wide-font-size);
50
+ .amsterdam-theme--compact & {
51
+ font-size: var(--amsterdam-top-task-link-description-compact-font-size);
52
+ line-height: var(--amsterdam-top-task-link-description-compact-line-height);
52
53
  }
53
54
 
54
55
  @include reset;
@@ -3,8 +3,6 @@
3
3
  * Copyright (c) 2023 Gemeente Amsterdam
4
4
  */
5
5
 
6
- @import "../../utils/breakpoint";
7
-
8
6
  /** Apply border box sizing, reset whitespace and list styles. */
9
7
  @mixin reset {
10
8
  box-sizing: border-box;
@@ -26,15 +24,11 @@
26
24
  .amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers) {
27
25
  color: var(--amsterdam-unordered-list-color);
28
26
  font-family: var(--amsterdam-unordered-list-font-family);
29
- font-size: var(--amsterdam-unordered-list-narrow-font-size);
27
+ font-size: var(--amsterdam-unordered-list-spacious-font-size);
30
28
  font-weight: var(--amsterdam-unordered-list-font-weight);
31
- line-height: var(--amsterdam-unordered-list-line-height);
29
+ line-height: var(--amsterdam-unordered-list-spacious-line-height);
32
30
  list-style-type: var(--amsterdam-unordered-list-list-style-type);
33
31
 
34
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
35
- font-size: var(--amsterdam-unordered-list-wide-font-size);
36
- }
37
-
38
32
  /** List items are responsible for indentation and marker positioning. */
39
33
  .amsterdam-unordered-list__item {
40
34
  margin-inline-start: var(--amsterdam-unordered-list-item-margin-inline-start);
@@ -51,3 +45,8 @@
51
45
  padding-inline-start: var(--amsterdam-unordered-list-unordered-list-item-padding-inline-start);
52
46
  }
53
47
  }
48
+
49
+ .amsterdam-theme--compact .amsterdam-unordered-list:not(.amsterdam-unordered-list--no-markers) {
50
+ font-size: var(--amsterdam-unordered-list-compact-font-size);
51
+ line-height: var(--amsterdam-unordered-list-compact-line-height);
52
+ }
@@ -1,62 +0,0 @@
1
- /**
2
- * @license EUPL-1.2+
3
- * Copyright (c) 2023 Gemeente Amsterdam
4
- */
5
-
6
- @import "../../utils/breakpoint";
7
-
8
- @mixin reset {
9
- box-sizing: border-box;
10
- margin-block: 0;
11
- -webkit-text-size-adjust: 100%;
12
- }
13
-
14
- .amsterdam-heading {
15
- break-after: avoid;
16
- break-inside: avoid;
17
- color: var(--amsterdam-heading-color);
18
- font-family: var(--amsterdam-heading-font-family);
19
- font-weight: var(--amsterdam-heading-font-weight);
20
-
21
- @include reset;
22
- }
23
-
24
- .amsterdam-heading--1 {
25
- font-size: var(--amsterdam-heading-1-narrow-font-size);
26
- line-height: var(--amsterdam-heading-1-line-height);
27
-
28
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
29
- font-size: var(--amsterdam-heading-1-wide-font-size);
30
- }
31
- }
32
-
33
- .amsterdam-heading--2 {
34
- font-size: var(--amsterdam-heading-2-narrow-font-size);
35
- line-height: var(--amsterdam-heading-2-line-height);
36
-
37
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
38
- font-size: var(--amsterdam-heading-2-wide-font-size);
39
- }
40
- }
41
-
42
- .amsterdam-heading--3 {
43
- font-size: var(--amsterdam-heading-3-narrow-font-size);
44
- line-height: var(--amsterdam-heading-3-line-height);
45
-
46
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
47
- font-size: var(--amsterdam-heading-3-wide-font-size);
48
- }
49
- }
50
-
51
- .amsterdam-heading--4 {
52
- font-size: var(--amsterdam-heading-4-narrow-font-size);
53
- line-height: var(--amsterdam-heading-4-line-height);
54
-
55
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
56
- font-size: var(--amsterdam-heading-4-wide-font-size);
57
- }
58
- }
59
-
60
- .amsterdam-heading--inverse-color {
61
- color: var(--amsterdam-heading-inverse-color);
62
- }
@@ -1,104 +0,0 @@
1
- /**
2
- * @license EUPL-1.2+
3
- * Copyright (c) 2023 Gemeente Amsterdam
4
- */
5
-
6
- @import "../../utils/breakpoint";
7
-
8
- .amsterdam-icon {
9
- align-items: center;
10
- display: inline-flex;
11
- }
12
-
13
- .amsterdam-icon svg {
14
- fill: currentColor;
15
- }
16
-
17
- .amsterdam-icon--size-3 {
18
- height: calc(var(--amsterdam-icon-size-3-icon-size-narrow) * var(--amsterdam-icon-size-3-container-multiplier));
19
-
20
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
21
- height: calc(var(--amsterdam-icon-size-3-icon-size-wide) * var(--amsterdam-icon-size-3-container-multiplier));
22
- }
23
- }
24
-
25
- .amsterdam-icon--size-3 svg {
26
- height: var(--amsterdam-icon-size-3-icon-size-narrow);
27
- width: var(--amsterdam-icon-size-3-icon-size-narrow);
28
-
29
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
30
- height: var(--amsterdam-icon-size-3-icon-size-wide);
31
- width: var(--amsterdam-icon-size-3-icon-size-wide);
32
- }
33
- }
34
- .amsterdam-icon--size-4 {
35
- height: calc(var(--amsterdam-icon-size-4-icon-size-narrow) * var(--amsterdam-icon-size-4-container-multiplier));
36
-
37
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
38
- height: calc(var(--amsterdam-icon-size-4-icon-size-wide) * var(--amsterdam-icon-size-4-container-multiplier));
39
- }
40
- }
41
-
42
- .amsterdam-icon--size-4 svg {
43
- height: var(--amsterdam-icon-size-4-icon-size-narrow);
44
- width: var(--amsterdam-icon-size-4-icon-size-narrow);
45
-
46
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
47
- height: var(--amsterdam-icon-size-4-icon-size-wide);
48
- width: var(--amsterdam-icon-size-4-icon-size-wide);
49
- }
50
- }
51
-
52
- .amsterdam-icon--size-5 {
53
- height: calc(var(--amsterdam-icon-size-5-icon-size-narrow) * var(--amsterdam-icon-size-5-container-multiplier));
54
-
55
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
56
- height: calc(var(--amsterdam-icon-size-5-icon-size-wide) * var(--amsterdam-icon-size-5-container-multiplier));
57
- }
58
- }
59
-
60
- .amsterdam-icon--size-5 svg {
61
- height: var(--amsterdam-icon-size-5-icon-size-narrow);
62
- width: var(--amsterdam-icon-size-5-icon-size-narrow);
63
-
64
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
65
- height: var(--amsterdam-icon-size-5-icon-size-wide);
66
- width: var(--amsterdam-icon-size-5-icon-size-wide);
67
- }
68
- }
69
-
70
- .amsterdam-icon--size-6 {
71
- height: calc(var(--amsterdam-icon-size-6-icon-size-narrow) * var(--amsterdam-icon-size-6-container-multiplier));
72
-
73
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
74
- height: calc(var(--amsterdam-icon-size-6-icon-size-wide) * var(--amsterdam-icon-size-6-container-multiplier));
75
- }
76
- }
77
-
78
- .amsterdam-icon--size-6 svg {
79
- height: var(--amsterdam-icon-size-6-icon-size-narrow);
80
- width: var(--amsterdam-icon-size-6-icon-size-narrow);
81
-
82
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
83
- height: var(--amsterdam-icon-size-6-icon-size-wide);
84
- width: var(--amsterdam-icon-size-6-icon-size-wide);
85
- }
86
- }
87
-
88
- .amsterdam-icon--size-7 {
89
- height: calc(var(--amsterdam-icon-size-7-icon-size-narrow) * var(--amsterdam-icon-size-7-container-multiplier));
90
-
91
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
92
- height: calc(var(--amsterdam-icon-size-7-icon-size-wide) * var(--amsterdam-icon-size-7-container-multiplier));
93
- }
94
- }
95
-
96
- .amsterdam-icon--size-7 svg {
97
- height: var(--amsterdam-icon-size-7-icon-size-narrow);
98
- width: var(--amsterdam-icon-size-7-icon-size-narrow);
99
-
100
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
101
- height: var(--amsterdam-icon-size-7-icon-size-wide);
102
- width: var(--amsterdam-icon-size-7-icon-size-wide);
103
- }
104
- }
@@ -1,48 +0,0 @@
1
- /**
2
- * @license EUPL-1.2+
3
- * Copyright (c) 2023 Gemeente Amsterdam
4
- */
5
-
6
- @import "../../utils/breakpoint";
7
-
8
- @mixin reset {
9
- box-sizing: border-box;
10
- margin-block: 0;
11
- -webkit-text-size-adjust: 100%;
12
- }
13
-
14
- .amsterdam-paragraph {
15
- color: var(--amsterdam-paragraph-color);
16
- font-family: var(--amsterdam-paragraph-font-family);
17
- font-size: var(--amsterdam-paragraph-narrow-font-size);
18
- font-weight: var(--amsterdam-paragraph-font-weight);
19
- line-height: var(--amsterdam-paragraph-line-height);
20
-
21
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
22
- font-size: var(--amsterdam-paragraph-wide-font-size);
23
- }
24
-
25
- @include reset;
26
- }
27
-
28
- .amsterdam-paragraph--small {
29
- font-size: var(--amsterdam-paragraph-small-narrow-font-size);
30
- line-height: var(--amsterdam-paragraph-small-line-height);
31
-
32
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
33
- font-size: var(--amsterdam-paragraph-small-wide-font-size);
34
- }
35
- }
36
-
37
- .amsterdam-paragraph--large {
38
- font-size: var(--amsterdam-paragraph-large-narrow-font-size);
39
- line-height: var(--amsterdam-paragraph-large-line-height);
40
-
41
- @media screen and (min-width: $amsterdam-breakpoint-typography) {
42
- font-size: var(--amsterdam-paragraph-large-wide-font-size);
43
- }
44
- }
45
-
46
- .amsterdam-paragraph--inverse-color {
47
- color: var(--amsterdam-paragraph-inverse-color);
48
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes