@digigov/css 2.0.0-d0adc9fb → 2.0.0-d2ffc726

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/css",
3
- "version": "2.0.0-d0adc9fb",
3
+ "version": "2.0.0-d2ffc726",
4
4
  "description": "Digigov CSS - Tailwind CSS Components",
5
5
  "author": "GRNET Devs <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
@@ -39,7 +39,7 @@
39
39
  ]
40
40
  },
41
41
  "devDependencies": {
42
- "@digigov/cli": "2.0.0-d0adc9fb",
42
+ "@digigov/cli": "2.0.0-d2ffc726",
43
43
  "autoprefixer": "10.4.16",
44
44
  "postcss-cli": "8.3.0",
45
45
  "postcss-import": "13.0.0",
@@ -48,16 +48,16 @@
48
48
  "tailwindcss": "3.4.13",
49
49
  "nodemon": "2.0.7",
50
50
  "next": "13.1.1",
51
- "@digigov/postcss-banner": "1.0.5-d0adc9fb",
52
- "@digigov/cli-build-tailwind": "2.0.0-d0adc9fb",
51
+ "@digigov/postcss-banner": "1.0.5-d2ffc726",
52
+ "@digigov/cli-build-tailwind": "2.0.0-d2ffc726",
53
53
  "rimraf": "3.0.2",
54
54
  "publint": "0.1.8",
55
55
  "stylelint": "15.11.0",
56
- "stylelint-plugin-digigov": "1.1.0-d0adc9fb",
56
+ "stylelint-plugin-digigov": "1.1.0-d2ffc726",
57
57
  "prettier": "3.4.2"
58
58
  },
59
59
  "dependencies": {
60
- "@digigov/theme-default": "1.0.0-d0adc9fb",
60
+ "@digigov/theme-default": "1.0.0-d2ffc726",
61
61
  "@fontsource/roboto": "4.4.0",
62
62
  "cssnano": "4.1.10",
63
63
  "publint": "0.1.8",
@@ -0,0 +1,29 @@
1
+ @tailwind utilities;
2
+
3
+ @layer utilities {
4
+ .util-accordion__section {
5
+ @apply border-b border-base-400;
6
+ }
7
+ .util-accordion__section-summary {
8
+ @apply py-4 pr-8 mb-0;
9
+ }
10
+ .util-accordion__section-heading {
11
+ @apply mb-0 transition-all justify-between;
12
+ }
13
+ .util-accordion__section-heading-text {
14
+ @apply no-underline font-semibold;
15
+ }
16
+ .util-accordion__section-button {
17
+ @apply flex justify-between;
18
+ }
19
+ .util-accordion__section-button-text {
20
+ @apply text-base-content;
21
+ }
22
+ .util-accordion__section-content {
23
+ @apply md:pt-2 mb-6 pt-1 mx-0;
24
+ }
25
+ .util-accordion__section-button-icon {
26
+ @apply text-base-content relative ml-2;
27
+ font-size: var(--text-2xl);
28
+ }
29
+ }
@@ -1,3 +1,5 @@
1
+ @import './accordion.common.css';
2
+
1
3
  .ds-accordion {
2
4
  &.ds-accordion--no-border {
3
5
  .ds-accordion__section {
@@ -33,7 +35,12 @@
33
35
  }
34
36
  .ds-accordion__section-button {
35
37
  &::after {
36
- @apply right-0;
38
+ @apply right-0 !important;
39
+ }
40
+ &.ds-accordion__section-button--arrows {
41
+ &::after {
42
+ @apply right-1 !important;
43
+ }
37
44
  }
38
45
  }
39
46
  }
@@ -51,13 +58,13 @@
51
58
  @apply text-right;
52
59
  }
53
60
  .ds-accordion__section {
54
- @apply border-b border-base-400;
61
+ @apply util-accordion__section;
55
62
  &:first-child {
56
63
  @apply border-t;
57
64
  }
58
65
  }
59
66
  .ds-accordion__section-summary {
60
- @apply py-4 pr-8 mb-0 transition ease-in-out cursor-pointer;
67
+ @apply util-accordion__section-summary transition ease-in-out cursor-pointer;
61
68
  background: var(--accordion__section-summary-background);
62
69
  list-style: none;
63
70
  &:hover {
@@ -70,9 +77,11 @@
70
77
  .ds-accordion__section-button {
71
78
  @apply underline bg-focus;
72
79
  text-decoration-thickness: 2px;
73
- &::after {
74
- @apply underline bg-focus;
75
- text-decoration-thickness: 2px;
80
+ &:not(.ds-accordion__section-button--arrows) {
81
+ &::after {
82
+ @apply underline bg-focus;
83
+ text-decoration-thickness: 2px;
84
+ }
76
85
  }
77
86
  }
78
87
  }
@@ -86,18 +95,25 @@
86
95
  .ds-accordion__section-header {
87
96
  }
88
97
  .ds-accordion__section-heading {
89
- @apply no-underline font-semibold
90
- mb-0 transition-all justify-between cursor-pointer;
98
+ @apply util-accordion__section-heading util-accordion__section-heading-text cursor-pointer;
91
99
  font-size: var(--accordion__section-heading-font-size);
92
100
  &:active {
93
101
  @apply ring-link-visited;
94
102
  }
95
103
  }
96
104
  .ds-accordion__section-button {
97
- @apply text-base-content focus:underline flex justify-between;
105
+ @apply util-accordion__section-button util-accordion__section-button-text focus:underline transition ease-in-out;
98
106
  &::after {
99
- @apply text-2xl text-base-content float-right relative -right-8 ml-2;
107
+ @apply util-accordion__section-button-icon float-right -right-8;
100
108
  content: '+';
109
+ line-height: 2rem;
110
+ }
111
+ &.ds-accordion__section-button--arrows {
112
+ &::after {
113
+ @apply h-3 w-3 rotate-45 border-b-3 border-r-3 border-base-content top-1.5 -right-7 bg-transparent !important;
114
+ transition: all 0.3s ease;
115
+ content: '';
116
+ }
101
117
  }
102
118
  }
103
119
  .ds-accordion__section[open] {
@@ -108,10 +124,16 @@
108
124
  &::after {
109
125
  content: '\2013';
110
126
  }
127
+ &.ds-accordion__section-button--arrows {
128
+ &::after {
129
+ @apply -rotate-[135deg] top-2.5 !important;
130
+ content: '';
131
+ }
132
+ }
111
133
  }
112
134
  }
113
135
  .ds-accordion__section-content {
114
- @apply hidden md:pt-2 mb-6 pt-1 mx-0;
136
+ @apply util-accordion__section-content hidden;
115
137
  > *:last-child {
116
138
  @apply mb-0;
117
139
  }
@@ -0,0 +1,27 @@
1
+ @import './accordion.common.css';
2
+
3
+ .ds-accordion__section {
4
+ @apply util-accordion__section;
5
+ }
6
+ .ds-accordion__section__first-child {
7
+ @apply border-t;
8
+ }
9
+ .ds-accordion__section-summary {
10
+ @apply util-accordion__section-summary flex-1;
11
+ }
12
+ .ds-accordion__section-button {
13
+ @apply util-accordion__section-button;
14
+ }
15
+ .ds-accordion__section-button__text {
16
+ @apply util-accordion__section-heading-text util-accordion__section-button-text;
17
+ font-size: var(--text-xl);
18
+ }
19
+ .ds-accordion__section-content {
20
+ @apply util-accordion__section-content;
21
+ }
22
+ .ds-accordion__section-content__text {
23
+ font-size: var(--text-md);
24
+ }
25
+ .ds-accordion__section-button-icon {
26
+ @apply util-accordion__section-button-icon;
27
+ }
@@ -8,7 +8,7 @@
8
8
  clip: 'rect(0 0 0 0)';
9
9
  }
10
10
  .ds-autocomplete__hint {
11
- @apply absolute text-base-400;
11
+ @apply h-full absolute text-base-400;
12
12
  }
13
13
  .ds-autocomplete__hint,
14
14
  .ds-autocomplete__input {
@@ -62,6 +62,10 @@
62
62
  }
63
63
  }
64
64
  }
65
+ .ds-autocomplete__hint,
66
+ .ds-autocomplete__input {
67
+ @apply h-full;
68
+ }
65
69
  }
66
70
  .ds-autocomplete__multi-input {
67
71
  @apply flex-1 w-full focus:border-0 focus:outline-0 bg-base-100;
@@ -5,7 +5,7 @@
5
5
 
6
6
  @layer utilities {
7
7
  .util-btn {
8
- @apply m-0 mb-8 flex items-center gap-x-3;
8
+ @apply m-0 mb-8 flex items-center;
9
9
  border-radius: var(--btn-border-radius);
10
10
  padding-right: var(--btn-padding-x);
11
11
  padding-left: var(--btn-padding-x);
@@ -3,7 +3,7 @@
3
3
  .ds-btn[type='submit'],
4
4
  .ds-btn[type='button'],
5
5
  .ds-btn[type='reset'] {
6
- @apply util-btn util-btn-text min-h-10 md:min-h-12 w-max cursor-pointer;
6
+ @apply util-btn util-btn-text min-h-10 md:min-h-12 w-max gap-x-3 cursor-pointer;
7
7
  &:focus {
8
8
  box-shadow:
9
9
  0 0 0 2px var(--color-white),
@@ -16,7 +16,7 @@
16
16
  }
17
17
  &.ds-card--dense,
18
18
  .ds-dense & {
19
- @apply p-4 pt-3;
19
+ @apply py-2 px-2;
20
20
  }
21
21
  }
22
22
  &.ds-card--border-top {
@@ -41,7 +41,7 @@
41
41
  .ds-code--type,
42
42
  .ds-code--variable.language_ {
43
43
  /* prettylights-syntax-keyword */
44
- color: var(--color-red-300);
44
+ color: var(--color-red-300) !important;
45
45
  }
46
46
  .ds-code--title,
47
47
  .ds-code--title.class_,
@@ -61,13 +61,13 @@
61
61
  .ds-code--selector-class,
62
62
  .ds-code--selector-id {
63
63
  /* prettylights-syntax-constant */
64
- color: var(--color-green-400);
64
+ color: var(--color-green-400) !important;
65
65
  }
66
66
  .ds-code--regexp,
67
67
  .ds-code--string,
68
68
  .ds-code--meta .ds-code--string {
69
69
  /* prettylights-syntax-string */
70
- color: var(--color-blue-600);
70
+ color: var(--color-blue-600) !important;
71
71
  }
72
72
  .ds-code--built_in,
73
73
  .ds-code--symbol {
@@ -85,7 +85,7 @@
85
85
  .ds-code--selector-tag,
86
86
  .ds-code--selector-pseudo {
87
87
  /* prettylights-syntax-entity-tag */
88
- color: var(--color-green-400);
88
+ color: var(--color-green-400) !important;
89
89
  }
90
90
  .ds-code--subst {
91
91
  /* prettylights-syntax-storage-modifier-import */
@@ -1,5 +1,3 @@
1
- /* stylelint-disable digigov/enforce-class-selector-namespace */
2
-
3
1
  .ds-copy-to-clipboard {
4
2
  @apply flex z-10;
5
3
  }
@@ -7,9 +5,9 @@
7
5
  @apply hidden w-0 h-0;
8
6
  }
9
7
  .ds-copy-to-clipboard__before {
8
+ @apply w-4 h-4 border-t-8 border-l-8 border-success absolute bottom-1;
10
9
  /* stylelint-disable-next-line plugin/no-react-native-incompatible-css */
11
- @apply w-4 h-4 border-t-8 border-l-8 border-success transform rotate-45
12
- absolute bottom-1;
10
+ transform: rotate(45deg);
13
11
  left: 50%;
14
12
  }
15
13
  .ds-copy-to-clipboard__message {
@@ -24,6 +24,10 @@
24
24
  }
25
25
  .ds-details__content {
26
26
  @apply util-details__content;
27
+ &.ds-details__content--secondary {
28
+ @apply border-0 bg-base-200 py-4 mt-2;
29
+ border-radius:0 0 0.25rem 0.25rem;
30
+ }
27
31
  > *:last-child {
28
32
  @apply mb-0;
29
33
  }
@@ -74,7 +74,7 @@
74
74
  @apply p-0;
75
75
  }
76
76
  .ds-filter__heading {
77
- @apply mb-4;
77
+ @apply mb-4 flex justify-between align-baseline items-baseline;
78
78
  }
79
79
  .ds-filter__selected {
80
80
  @apply bg-base-200 p-4 m-0 rounded;
@@ -100,11 +100,12 @@
100
100
  @apply print:hidden;
101
101
  }
102
102
  .ds-link {
103
- --link-color: var(--color-footer);
103
+ --link-color: var(--color-footer-link);
104
+ --link-color-hover: var(--color-footer-link-hover);
104
105
  @apply print:text-base-content;
105
106
  }
106
107
  .ds-body {
107
- --body-color: var(--color-footer);
108
+ --body-color: var(--color-footer-text);
108
109
  @apply print:text-base-content;
109
110
  }
110
111
  }
@@ -77,6 +77,7 @@
77
77
  }
78
78
  }
79
79
  .ds-textarea {
80
+ @apply min-h-12;
80
81
  border-radius: var(--textarea-border-radius);
81
82
  }
82
83
  .ds-input,
@@ -113,6 +114,9 @@
113
114
  .ds-uploaded-file {
114
115
  @apply flex flex-wrap gap-x-4 mb-0;
115
116
  }
117
+ .ds-uploaded-file-border {
118
+ @apply p-4 border border-base-300;
119
+ }
116
120
  .ds-date-input {
117
121
  @apply flex flex-wrap gap-y-2;
118
122
  &.ds-date-input--dense,
@@ -219,12 +223,12 @@
219
223
  &.ds-grid {
220
224
  @apply grid gap-4;
221
225
  .ds-fieldset {
222
- @apply grid gap-4;
223
- :not(.ds-field) {
226
+ @apply grid gap-4 grid-cols-12;
227
+ :not(.ds-field, .ds-grid-item) {
224
228
  @apply col-span-12;
225
229
  }
226
230
  }
227
- :not(.ds-field) {
231
+ :not(.ds-field, .ds-grid-item) {
228
232
  @apply col-span-12;
229
233
  }
230
234
  }
@@ -245,7 +249,7 @@
245
249
  }
246
250
  .ds-uploaded-file {
247
251
  .ds-link {
248
- @apply h-fit text-lg;
252
+ @apply h-fit;
249
253
  }
250
254
  }
251
255
  .ds-dashed--border {
@@ -84,7 +84,7 @@
84
84
  }
85
85
  }
86
86
  .ds-svg-icon {
87
- fill: var(--color-white);
87
+ fill: var(--color-header-text);
88
88
  }
89
89
  }
90
90
  .ds-phase-banner__message {
@@ -43,7 +43,7 @@
43
43
  @apply util-bottom w-full box-border;
44
44
  }
45
45
  .ds-btn-group {
46
- @apply util-btn-group gap-4 mb-6;
46
+ @apply util-btn-group gap-x-4 gap-y-4 mb-6;
47
47
  }
48
48
  @media print {
49
49
  /* When ds-btn-group is empty at print, content at :after limits its height. */
@@ -34,7 +34,7 @@
34
34
  }
35
35
  }
36
36
 
37
- .ds-cookie-banner {
37
+ .ds-banner-container {
38
38
  @apply bg-base-200;
39
39
  }
40
40
 
@@ -29,7 +29,7 @@
29
29
  print:text-base-content print:pt-2;
30
30
  }
31
31
  .util-notification-banner__content {
32
- @apply bg-base-100 p-4 md:p-5;
32
+ @apply bg-base-100 px-4 py-4 md:px-5 md:py-5;
33
33
  }
34
34
  .util-notification-banner__content-text {
35
35
  @apply text-base-content;
@@ -24,7 +24,8 @@
24
24
  }
25
25
  }
26
26
  }
27
- &.ds-notification-banner--error {
27
+ &.ds-notification-banner--error,
28
+ &.ds-notification-banner--error-group {
28
29
  @apply util-notification-banner--error;
29
30
  .ds-notification-banner__link {
30
31
  &:link:not(:focus) {
@@ -32,6 +33,23 @@
32
33
  }
33
34
  }
34
35
  }
36
+ &.ds-notification-banner--error-group {
37
+ @apply border-0 border-l-5;
38
+ .ds-notification-error-group-banner__content {
39
+ @apply flex gap-3 w-full p-3 md:p-4 bg-base-200 print:bg-white;
40
+ .ds-notification-banner__icon--error-group {
41
+ @apply text-base-content-invert font-bold bg-error text-3xl leading-10 text-center
42
+ rounded-3xl md:min-h-10 min-w-10 h-fit
43
+ print:bg-white print:border-2 print:border-base-content print:text-base-content;
44
+ }
45
+ }
46
+ .ds-notification-banner__text-error-group {
47
+ @apply mt-1;
48
+ .ds-list {
49
+ @apply mb-2;
50
+ }
51
+ }
52
+ }
35
53
  }
36
54
  .ds-notification-banner__header {
37
55
  @apply text-white p-0 m-0 text-base md:text-lg
@@ -0,0 +1,20 @@
1
+ @tailwind utilities;
2
+
3
+ @layer utilities {
4
+ .util-skeleton {
5
+ @apply bg-base-300 w-full max-w-full;
6
+ }
7
+ .util-skeleton--circular {
8
+ @apply rounded-full;
9
+ }
10
+ .util-skeleton--rectangular {
11
+ @apply h-4;
12
+ }
13
+ .util-skeleton--button {
14
+ @apply mb-8 min-h-10 md:min-h-12 px-6
15
+ border-b-2 border-gray-400 flex items-center justify-center;
16
+ }
17
+ .util-skeleton__line {
18
+ @apply bg-base-400 w-full max-w-full max-h-full;
19
+ }
20
+ }
@@ -1,9 +1,8 @@
1
- .ds-skeleton {
2
- @apply block bg-base-300 h-auto w-full max-w-full rounded-sm;
1
+ @import './skeleton.common.css';
3
2
 
4
- /* max-width: 105ch; */
3
+ .ds-skeleton {
4
+ @apply util-skeleton block h-auto rounded-sm;
5
5
  &.ds-skeleton--text {
6
- /* @apply text-lg; */
7
6
  &::before {
8
7
  content: '\00a0';
9
8
  visibility: hidden;
@@ -26,16 +25,15 @@
26
25
  }
27
26
  }
28
27
  &.ds-skeleton--circular {
29
- border-radius: 50%;
28
+ @apply util-skeleton--circular;
30
29
  }
31
30
  &.ds-skeleton--rectangular {
31
+ @apply util-skeleton--rectangular;
32
32
  }
33
33
  &.ds-skeleton--button {
34
- @apply mb-8 w-fit min-h-10 md:min-h-12 px-6 py-3
35
- border-b-2 border-gray-400
36
- flex items-center justify-center;
34
+ @apply util-skeleton--button py-3 w-fit;
37
35
  .ds-skeleton__line {
38
- @apply block bg-base-400 w-full max-w-full max-h-full visible;
36
+ @apply util-skeleton__line visible;
39
37
  &::before {
40
38
  content: '\00a0';
41
39
  }
@@ -50,7 +48,6 @@
50
48
  @apply w-fit;
51
49
  }
52
50
  &.ds-skeleton--animate {
53
- /* @apply animate-pulse; */
54
51
  position: relative;
55
52
  overflow: hidden;
56
53
  mask-image: radial-gradient(white, black);
@@ -0,0 +1,53 @@
1
+ @import './skeleton.common.css';
2
+
3
+ .ds-skeleton {
4
+ @apply util-skeleton min-h-8 flex-1 rounded-md;
5
+ }
6
+ .ds-skeleton--text {
7
+ @apply flex-1 h-4;
8
+ }
9
+ .ds-skeleton--font-xs {
10
+ @apply h-4 mb-3 !important;
11
+ }
12
+ .ds-skeleton--font-sm {
13
+ @apply h-6 mb-4 !important;
14
+ }
15
+ .ds-skeleton--font-md {
16
+ @apply h-10 mb-5 !important;
17
+ }
18
+ .ds-skeleton--font-lg {
19
+ @apply h-14 mb-6 !important;
20
+ }
21
+ .ds-skeleton--font-xl {
22
+ @apply h-16 mb-8 !important;
23
+ }
24
+ .ds-skeleton--circular {
25
+ @apply util-skeleton--circular;
26
+ }
27
+ .ds-skeleton--rectangular {
28
+ @apply util-skeleton--rectangular;
29
+ }
30
+ .ds-skeleton--button {
31
+ @apply util-skeleton--button py-6;
32
+ }
33
+ .ds-skeleton__line {
34
+ @apply util-skeleton__line h-4;
35
+ }
36
+ .ds-skeleton__line--size-default {
37
+ @apply h-4 w-36;
38
+ }
39
+ .ds-skeleton--width-fit-content {
40
+ @apply flex-1;
41
+ }
42
+ .ds-skeleton--animate {
43
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
44
+ }
45
+ @keyframes pulse {
46
+ 0%,
47
+ 100% {
48
+ @apply opacity-100;
49
+ }
50
+ 50% {
51
+ @apply opacity-50;
52
+ }
53
+ }
@@ -5,10 +5,10 @@
5
5
  &.ds-stack--row {
6
6
  @apply util-stack--row;
7
7
  }
8
- &.ds-stack--reverse-row {
8
+ &.ds-stack--row-reverse {
9
9
  @apply util-stack--reverse-row;
10
10
  }
11
- &.ds-stack--col-reverse {
11
+ &.ds-stack--column-reverse {
12
12
  @apply util-stack--col-reverse;
13
13
  }
14
14
  &.ds-stack--nowrap {
@@ -5,21 +5,33 @@
5
5
  .util-summary-list {
6
6
  @apply m-0 mb-6 sm:mb-8 w-full sm:w-full;
7
7
  }
8
+ .util-summary-list--error {
9
+ @apply border-l-5 border-error-text pl-4;
10
+ }
8
11
  .util-summary-list-text {
9
12
  font-size: var(--summary-list-font-size);
10
13
  }
11
14
  .util-summary-list__row {
12
- @apply sm:flex pb-4 mb-4 border-b border-solid border-base-300 sm:pb-0 sm:mb-0 sm:border-0 print:flex print:flex-row print:flex-nowrap;
15
+ @apply border-b border-base-300 print:flex print:flex-row print:flex-nowrap;
16
+ }
17
+ .util-summary-list__row--no-border {
18
+ @apply border-0;
13
19
  }
14
20
  .util-summary-list__key {
15
21
  @apply mb-1 sm:w-3/12;
16
22
  }
23
+ .util-summary-list__key--error-text {
24
+ @apply text-error-text font-semibold;
25
+ }
17
26
  .util-summary-list__key-text {
18
27
  @apply font-bold;
19
28
  }
20
29
  .util-summary-list__value {
21
30
  @apply sm:flex-1;
22
31
  }
32
+ .util-summary-list__value--error-text {
33
+ @apply text-error-text;
34
+ }
23
35
  .util-summary-list__actions {
24
36
  @apply sm:w-3/12 sm:pr-0 sm:text-right;
25
37
  }
@@ -4,13 +4,16 @@
4
4
  .ds-summary-list {
5
5
  @apply util-summary-list sm:table sm:table-fixed util-summary-list-text;
6
6
  &.ds-summary-list--no-border {
7
- > .ds-summary-list__row:last-child {
8
- @apply border-b-0 pb-0 mb-0;
7
+ > .ds-summary-list__row {
8
+ @apply border-0 pb-0;
9
+ &:last-child {
10
+ @apply mb-0;
11
+ }
9
12
  }
10
13
  .ds-summary-list__key,
11
14
  .ds-summary-list__value,
12
15
  .ds-summary-list__actions {
13
- @apply sm:border-0 pb-2;
16
+ @apply border-0 pb-0 sm:pb-2;
14
17
  }
15
18
  }
16
19
  &.ds-summary-list--no-last-border {
@@ -23,6 +26,9 @@
23
26
  }
24
27
  }
25
28
  }
29
+ &.ds-summary-list--error {
30
+ @apply util-summary-list--error;
31
+ }
26
32
  }
27
33
 
28
34
  .ds-summary-list__row {
@@ -31,7 +37,7 @@
31
37
  .ds-summary-list__key,
32
38
  .ds-summary-list__value,
33
39
  .ds-summary-list__actions {
34
- @apply sm:border-0 pb-2;
40
+ @apply border-0 pb-0 sm:pb-2;
35
41
  }
36
42
  }
37
43
  }
@@ -100,6 +106,9 @@
100
106
  &.ds-summary-list__key--lg-9 {
101
107
  @apply util-summary-list__key--lg-9;
102
108
  }
109
+ &.ds-summary-list__key--error {
110
+ @apply util-summary-list__key--error-text;
111
+ }
103
112
  }
104
113
  @media print {
105
114
  .ds-summary-list__key {
@@ -108,6 +117,9 @@
108
117
  }
109
118
  .ds-summary-list__value {
110
119
  @apply util-summary-list__value;
120
+ &.ds-summary-list__value--error {
121
+ @apply util-summary-list__value--error-text;
122
+ }
111
123
  }
112
124
  .ds-summary-list__actions {
113
125
  @apply util-summary-list__actions;