hr-design-system-handlebars 1.110.6 → 1.110.8

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 (44) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +74 -72
  3. package/dist/views/components/content_nav/content_nav_list.hbs +2 -2
  4. package/dist/views/components/forms/backgroundBox.hbs +1 -1
  5. package/dist/views/components/forms/choice.hbs +5 -5
  6. package/dist/views/components/forms/choiceGroup.hbs +3 -3
  7. package/dist/views/components/forms/controls.hbs +1 -1
  8. package/dist/views/components/forms/error_icon.hbs +1 -1
  9. package/dist/views/components/forms/fields.hbs +1 -1
  10. package/dist/views/components/forms/input.hbs +14 -14
  11. package/dist/views/components/forms/select.hbs +9 -9
  12. package/dist/views/components/forms/textarea.hbs +7 -7
  13. package/dist/views/components/forms/webform.hbs +1 -12
  14. package/dist/views/components/podcast/components/podcast_subscribe_button.hbs +1 -1
  15. package/dist/views_static/components/content_nav/content_nav_list.hbs +2 -2
  16. package/dist/views_static/components/forms/backgroundBox.hbs +1 -1
  17. package/dist/views_static/components/forms/choice.hbs +5 -5
  18. package/dist/views_static/components/forms/choiceGroup.hbs +3 -3
  19. package/dist/views_static/components/forms/controls.hbs +1 -1
  20. package/dist/views_static/components/forms/error_icon.hbs +1 -1
  21. package/dist/views_static/components/forms/fields.hbs +1 -1
  22. package/dist/views_static/components/forms/input.hbs +14 -14
  23. package/dist/views_static/components/forms/select.hbs +9 -9
  24. package/dist/views_static/components/forms/textarea.hbs +7 -7
  25. package/dist/views_static/components/forms/webform.hbs +1 -12
  26. package/dist/views_static/components/podcast/components/podcast_subscribe_button.hbs +1 -1
  27. package/package.json +1 -1
  28. package/src/assets/fixtures/content/copytext/components/form/form_input.json +16 -16
  29. package/src/assets/fixtures/content/copytext/copytext_webform.json +4 -0
  30. package/src/assets/tailwind.css +20 -24
  31. package/src/stories/views/components/content/copytext/fixtures/copytext_webform.json +1 -1
  32. package/src/stories/views/components/content_nav/content_nav_list.hbs +2 -2
  33. package/src/stories/views/components/forms/backgroundBox.hbs +1 -1
  34. package/src/stories/views/components/forms/choice.hbs +5 -5
  35. package/src/stories/views/components/forms/choiceGroup.hbs +3 -3
  36. package/src/stories/views/components/forms/controls.hbs +1 -1
  37. package/src/stories/views/components/forms/error_icon.hbs +1 -1
  38. package/src/stories/views/components/forms/fields.hbs +1 -1
  39. package/src/stories/views/components/forms/input.hbs +14 -14
  40. package/src/stories/views/components/forms/select.hbs +9 -9
  41. package/src/stories/views/components/forms/textarea.hbs +7 -7
  42. package/src/stories/views/components/forms/webform.hbs +1 -12
  43. package/src/stories/views/components/podcast/components/podcast_subscribe_button.hbs +1 -1
  44. package/tailwind.config.js +4 -2
@@ -15,7 +15,7 @@
15
15
 
16
16
  --color-primary-ds: theme('colors.blue.congress.hex');
17
17
  --color-secondary-ds: #606060;
18
- --color-highlight-1: theme('colors.blue.accented');
18
+ --color-highlight-1: theme('colors.gray.mercury');
19
19
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
20
20
  --color-highlight-3: theme('colors.gray.dark');
21
21
  --color-highlight-1-dark: theme('colors.blue.nightRider.hex');
@@ -75,7 +75,7 @@
75
75
  /* Event */
76
76
  --color-label-event: theme('colors.black.DEFAULT');
77
77
  /* Eilmeldung */
78
- --color-label-breakingnews: theme('colors.red.thunderbird');
78
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
79
79
  /* Kommentar */
80
80
  --color-label-comment: theme('colors.blue.deeperPool');
81
81
  /* Infografik */
@@ -93,7 +93,7 @@
93
93
  /* Dachzeile */
94
94
  --color-topline: #006dc1;
95
95
  /* Event */
96
- --color-event-status: theme('colors.red.thunderbird');
96
+ --color-event-status: theme('colors.red.thunderbird.hex');
97
97
  /* Eventkalender */
98
98
  --color-label-event-calendar-title: theme('colors.teal.deeperPool');
99
99
  --color-eventcalendar-primary: var(--color-primary-ds);
@@ -163,6 +163,8 @@
163
163
  --structure-nav-text: theme('colors.white.DEFAULT');
164
164
  --structure-nav-text-mobile: var(--color-primary-ds);
165
165
 
166
+ --color-error: theme('colors.red.thunderbird.hex');
167
+
166
168
  --feature-box-height: 0;
167
169
 
168
170
  .ardplayer {
@@ -263,7 +265,7 @@
263
265
  /* Event */
264
266
  --color-label-event: theme('colors.black.DEFAULT');
265
267
  /* Eilmeldung */
266
- --color-label-breakingnews: theme('colors.red.thunderbird');
268
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
267
269
  /* Kommentar */
268
270
  --color-label-comment: theme('colors.blue.deeperPool');
269
271
  /* Infografik */
@@ -375,7 +377,6 @@
375
377
  [data-theme='hr-fernsehen'] {
376
378
  --color-primary-ds: theme('colors.blue.blueLuxury.hex');
377
379
  --color-secondary-ds: #007179;
378
- --color-highlight-1: theme('colors.white.blackhaze');
379
380
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
380
381
 
381
382
  /* Brandnavigation Border and :before Colors*/
@@ -392,7 +393,7 @@
392
393
  /* Kommentar */
393
394
  --color-label-comment: theme('colors.green.tropicalRainForest');
394
395
  /* Eilmeldung */
395
- --color-label-breakingnews: theme('colors.red.thunderbird');
396
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
396
397
  /* Sendung */
397
398
  --color-label-program: theme('colors.red.mexican');
398
399
  /* Download */
@@ -483,7 +484,7 @@
483
484
  [data-theme='hr-inforadio'] {
484
485
  --color-primary-ds: theme('colors.blue.jellyBean.hex');
485
486
  --color-secondary-ds: #007179;
486
- --color-highlight-1: theme('colors.blue.aqua');
487
+ --color-highlight-1: theme('colors.blue.accented');
487
488
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
488
489
 
489
490
  /* Service/Sectionnavigation Border-Color */
@@ -504,7 +505,7 @@
504
505
  /* Kommentar */
505
506
  --color-label-comment: theme('colors.green.tropicalRainForest');
506
507
  /* Eilmeldung */
507
- --color-label-breakingnews: theme('colors.red.thunderbird');
508
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
508
509
  /* Sendung */
509
510
  --color-label-program: theme('colors.pink.rose.hex');
510
511
  /* Download */
@@ -594,7 +595,6 @@
594
595
  [data-theme='hr-rundfunkrat'] {
595
596
  --color-primary-ds: theme('colors.gray.scorpion');
596
597
  --color-secondary-ds: #007179;
597
- --color-highlight-1: theme('colors.blue.accented');
598
598
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
599
599
 
600
600
  /* Navigation Hintergrund */
@@ -624,7 +624,7 @@
624
624
  /* Kommentar */
625
625
  --color-label-comment: theme('colors.green.tropicalRainForest');
626
626
  /* Eilmeldung */
627
- --color-label-breakingnews: theme('colors.red.thunderbird');
627
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
628
628
  /* Sendung */
629
629
  --color-label-program: theme('colors.red.mexican');
630
630
  /* Download */
@@ -716,7 +716,7 @@
716
716
  [data-theme='hr-werbung'] {
717
717
  --color-primary-ds: theme('colors.blue.blueLuxury.hex');
718
718
  --color-secondary-ds: #007179;
719
- --color-highlight-1: theme('colors.blue.accented');
719
+ --color-highlight-1: theme('colors.blue.blackSqueeze');
720
720
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
721
721
 
722
722
  /* Brandnavigation Border and :before Colors*/
@@ -751,7 +751,7 @@
751
751
  /* Kommentar */
752
752
  --color-label-comment: theme('colors.green.tropicalRainForest');
753
753
  /* Eilmeldung */
754
- --color-label-breakingnews: theme('colors.red.thunderbird');
754
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
755
755
  /* Sendung */
756
756
  --color-label-program: theme('colors.red.mexican');
757
757
  /* Download */
@@ -841,7 +841,6 @@
841
841
  [data-theme='hr-sinfonieorchester'] {
842
842
  --color-primary-ds: theme('colors.red.burntUmber');
843
843
  --color-secondary-ds: #007179;
844
- --color-highlight-1: theme('colors.gray.alto');
845
844
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
846
845
 
847
846
  /* Brandnavigation Border and :before Colors*/
@@ -867,7 +866,7 @@
867
866
  /* Kommentar */
868
867
  --color-label-comment: theme('colors.green.tropicalRainForest');
869
868
  /* Eilmeldung */
870
- --color-label-breakingnews: theme('colors.red.thunderbird');
869
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
871
870
  /* Sendung */
872
871
  --color-label-program: theme('colors.green.goBen');
873
872
  /* Download */
@@ -976,7 +975,7 @@
976
975
  /* Kommentar */
977
976
  --color-label-comment: theme('colors.yellow.hokeyPokey');
978
977
  /* Eilmeldung */
979
- --color-label-breakingnews: theme('colors.red.thunderbird');
978
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
980
979
  /* Sendung */
981
980
  --color-label-program: theme('colors.blue.blueStone');
982
981
  /* Download */
@@ -1062,7 +1061,6 @@
1062
1061
  [data-theme='hr'] {
1063
1062
  --color-primary-ds: theme('colors.blue.blueLuxury.hex');
1064
1063
  --color-secondary-ds: #007396;
1065
- --color-highlight-1: theme('colors.blue.accented');
1066
1064
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
1067
1065
 
1068
1066
  /* Navigation Hintergrund */
@@ -1094,7 +1092,7 @@
1094
1092
  /* Kommentar */
1095
1093
  --color-label-comment: theme('colors.blue.deeperPool');
1096
1094
  /* Eilmeldung */
1097
- --color-label-breakingnews: theme('colors.red.thunderbird');
1095
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
1098
1096
  /* Sendung */
1099
1097
  --color-label-program: theme('colors.red.mexican');
1100
1098
  /* Download */
@@ -1302,7 +1300,6 @@
1302
1300
  [data-theme='hr2'] {
1303
1301
  --color-primary-ds: theme('colors.orange.clementine');
1304
1302
  --color-secondary-ds: #007179;
1305
- --color-highlight-1: theme('colors.gray.alto');
1306
1303
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
1307
1304
 
1308
1305
  /* Brandnavigation Border and :before Colors*/
@@ -1327,7 +1324,7 @@
1327
1324
  /* Kommentar */
1328
1325
  --color-label-comment: theme('colors.green.tropicalRainForest');
1329
1326
  /* Eilmeldung */
1330
- --color-label-breakingnews: theme('colors.red.thunderbird');
1327
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
1331
1328
  /* Sendung */
1332
1329
  --color-label-program: theme('colors.red.paprika.hex');
1333
1330
  /* Download */
@@ -1437,7 +1434,7 @@
1437
1434
  [data-theme='hr3'] {
1438
1435
  --color-primary-ds: theme('colors.red.monza.hex');
1439
1436
  --color-secondary-ds: #007179;
1440
- --color-highlight-1: theme('colors.gray.mercury');
1437
+
1441
1438
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
1442
1439
 
1443
1440
  /* Brandnavigation Border and :before Colors*/
@@ -1553,7 +1550,7 @@
1553
1550
  [data-theme='hr4'] {
1554
1551
  --color-primary-ds: theme('colors.pink.fuchsie');
1555
1552
  --color-secondary-ds: #007179;
1556
- --color-highlight-1: theme('colors.white.azureish');
1553
+ --color-highlight-1: theme('colors.blue.blackSqueeze');
1557
1554
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
1558
1555
 
1559
1556
  /* Service/Sectionnavigation Border Color */
@@ -1575,7 +1572,7 @@
1575
1572
  /* Kommentar */
1576
1573
  --color-label-comment: theme('colors.blue.dodgerBlue');
1577
1574
  /* Eilmeldung */
1578
- --color-label-breakingnews: theme('colors.red.thunderbird');
1575
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
1579
1576
  /* Sendung */
1580
1577
  --color-label-program: theme('colors.pink.fuchsie');
1581
1578
  /* Download */
@@ -1669,7 +1666,6 @@
1669
1666
  [data-theme='you-fm'] {
1670
1667
  --color-primary-ds: #007179 /* #c20016 */;
1671
1668
  --color-secondary-ds: #007179;
1672
- --color-highlight-1: theme('colors.gray.platinum');
1673
1669
  --color-highlight-2: theme('colors.orange.spicyCarrot.hex');
1674
1670
 
1675
1671
  /* Brandnavigation Border and :before Colors*/
@@ -1714,7 +1710,7 @@
1714
1710
  /* Kommentar */
1715
1711
  --color-label-comment: theme('colors.green.tropicalRainForest');
1716
1712
  /* Eilmeldung */
1717
- --color-label-breakingnews: theme('colors.red.thunderbird');
1713
+ --color-label-breakingnews: theme('colors.red.thunderbird.hex');
1718
1714
  /* Sendung */
1719
1715
  --color-label-program: theme('colors.blue.lightCerulean');
1720
1716
  /* Download */
@@ -1 +1 @@
1
- {"copytextParagraph":[{"isHeadline":true,"text":"Copytext mit Formular"},{"paragraphBoxItem":{"isWebForm":true,"hasNewWebForm":true,"title":"Kontaktformular","jsonUrl":"https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de","errorMessages":"errorMessages","isMultipart":"isMultipart","trackingInformations":"trackingInformations","fields":[{"type":{"isText":true,"asString":"text"},"name":"vorname","label":"Vorname","description":"Das ist der Beschreibungstext (*Pflichtfeld)","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"type":{"isText":true,"asString":"text"},"name":"nachname","label":"Nachname","description":"","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"isGrouped":true,"type":{"isChoice":true,"asString":"checkbox"},"name":"interessen","label":"Wählen Sie Ihre Interessen","isMeta":false,"description":"Bitte kreuzen Sie alle Interessen an, die auf Sie zutreffen. Ihre Auswahl hilft uns, Ihnen relevante Inhalte anzubieten.","isRequired":false,"options":[{"value":"sport","label":"sport","title":"sport","isSelected":false},{"value":"musik","label":"musik","title":"musik","isSelected":false},{"value":"lesen","label":"lesen","title":"lesen","isSelected":false},{"value":"reisen","label":"reisen","title":"reisen","isSelected":false},{"value":"kochen","label":"kochen","title":"kochen","isSelected":false},{"value":"filme","label":"filme","title":"filme","isSelected":false},{"value":"tanzen","label":"tanzen","title":"tanzen","isSelected":false},{"value":"fotografie","label":"fotografie","title":"fotografie","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":true,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":false,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":false},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden, dass der hr die von mir im vorstehenden Formular angegebenen personenbezogenen Daten für den Zweck der Kontaktaufnahme mit Upload verarbeitet. Eine Weitergabe an Dritte findet nicht statt, es sei denn, es wird ausdrücklich darauf hingewiesen. Unsere Datenschutzerklärung mit sämtlichen Informationen gemäß Art 13 DSGVO zur Datenverarbeitung durch den hr und zu Ihren Rechten können Sie unter Datenschutzerklärung einsehen. Den Datenschutzbeauftragten des hr erreichen Sie unter datenschutz@hr.de.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":true}]}}]}
1
+ {"copytextParagraph":[{"isHeadline":true,"text":"Copytext mit Formular"},{"paragraphBoxItem":{"isWebForm":true,"hasNewWebForm":true,"title":"Kontaktformular","jsonUrl":"https://ugc-hessenschau.dev-ext.hrcms.gcp.cloud.hr.de","errorMessages":"errorMessages","isMultipart":"isMultipart","trackingInformations":"trackingInformations","fields":[{"type":{"isText":true,"asString":"text"},"name":"vorname","label":"Vorname","description":"Das ist der Beschreibungstext (*Pflichtfeld)","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"type":{"isText":true,"asString":"text"},"name":"nachname","label":"Nachname","description":"","defaultValue":"","isHidden":false,"isRequired":true,"maxLength":"140"},{"type":{"isSelect":true,"asString":"select"},"name":"Select Name","label":"Wen möchten Sie erreichen?","description":"Das ist der Beschreibungstext von Select","defaultValue":"","isHidden":false,"isRequired":true,"options":[{"id":"option1","value":"option1","selected":false,"label":"Option 1"},{"id":"option2","value":"option2","selected":false,"label":"Option 2"},{"id":"option3","value":"option3","selected":false,"label":"Option 3"},{"id":"option4","value":"option4","selected":false,"label":"Option 4"}]},{"isGrouped":true,"type":{"isChoice":true,"asString":"checkbox"},"name":"interessen","label":"Wählen Sie Ihre Interessen","isMeta":false,"description":"Bitte kreuzen Sie alle Interessen an, die auf Sie zutreffen. Ihre Auswahl hilft uns, Ihnen relevante Inhalte anzubieten.","isRequired":false,"options":[{"value":"sport","label":"sport","title":"sport","isSelected":false},{"value":"musik","label":"musik","title":"musik","isSelected":false},{"value":"lesen","label":"lesen","title":"lesen","isSelected":false},{"value":"reisen","label":"reisen","title":"reisen","isSelected":false},{"value":"kochen","label":"kochen","title":"kochen","isSelected":false},{"value":"filme","label":"filme","title":"filme","isSelected":false},{"value":"tanzen","label":"tanzen","title":"tanzen","isSelected":false},{"value":"fotografie","label":"fotografie","title":"fotografie","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":true,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":true,"type":{"isChoice":true,"isRadioChoice":true,"asString":"radio"},"name":"lieblingsfarbe","label":"Wählen Sie Ihre Lieblingsfarbe","isMeta":false,"description":"Bitte wählen Sie eine der folgenden Farben aus.","isRequired":false,"options":[{"value":"rot","label":"rot","title":"rot","isSelected":false},{"value":"blau","label":"blau","title":"blau","isSelected":false},{"value":"grün","label":"grün","title":"grün","isSelected":false}]},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":false},{"isGrouped":false,"type":{"isChoice":true,"asString":"checkbox"},"name":"checkbox","label":"Ich bin damit einverstanden, dass der hr die von mir im vorstehenden Formular angegebenen personenbezogenen Daten für den Zweck der Kontaktaufnahme mit Upload verarbeitet. Eine Weitergabe an Dritte findet nicht statt, es sei denn, es wird ausdrücklich darauf hingewiesen. Unsere Datenschutzerklärung mit sämtlichen Informationen gemäß Art 13 DSGVO zur Datenverarbeitung durch den hr und zu Ihren Rechten können Sie unter Datenschutzerklärung einsehen. Den Datenschutzbeauftragten des hr erreichen Sie unter datenschutz@hr.de.","isMeta":false,"description":"Das ist der Beschreibungstext von Checkbox","isRequired":true}]}}]}
@@ -5,7 +5,7 @@
5
5
 
6
6
  {{~#if this.isGroup~}}
7
7
 
8
- {{#if ../isDropdown}}
8
+
9
9
  <li class="w-full h-auto overflow-hidden text-base list-none border-b border-gray-400 bg-highlight-1 text-content-nav md:mx-0 font-copy fill-content-nav">
10
10
  <div class="flex items-center h-10 p-2">{{this.title}}</div>
11
11
  <ul class="!px-0 mt-0">
@@ -19,7 +19,7 @@
19
19
  {{~/each~}}
20
20
  </ul>
21
21
  </li>
22
- {{/if}}
22
+
23
23
  {{else}}
24
24
  {{> components/content_nav/content_nav_item
25
25
  _teaserSize=../_teaserSize
@@ -1,3 +1,3 @@
1
- <div class="relative px-5 pt-6 pb-8 bg-highlight-1 sm:rounded-tl-hr sm:rounded-br-hr sm:px-13 sm:pt-12 article-full-width sm:article-narrow" >
1
+ <div class="relative px-5 pt-6 pb-8 bg-highlight-1 dark:bg-highlight-1-dark sm:rounded-tl-hr sm:rounded-br-hr sm:px-13 sm:pt-12 article-full-width sm:article-narrow" >
2
2
  {{> @partial-block }}
3
3
  </div>
@@ -9,9 +9,9 @@
9
9
  {{/unless}}
10
10
  >
11
11
  <div class="flex flex-row items-center w-full gap-x-2 md:gap-x-3">
12
- <input class="relative self-start flex-shrink-0 w-6 h-6 bg-white border appearance-none cursor-pointer {{~inline-switch _type '["checkbox","radio"]' '[" border-blue-science-hex checked:bg-blue-congress-hex checked:border-transparent"," border-blue-science-hex checked:bg-white checked:border-blue-congress-hex rounded-full",""]'}}"
12
+ <input class="relative self-start flex-shrink-0 w-6 h-6 bg-white dark:bg-black border appearance-none cursor-pointer border-link dark:border-link-dark {{~inline-switch _type '["checkbox","radio"]' '[" checked:bg-link checked:border-link"," checked:bg-white checked:border-link rounded-full",""]'}}"
13
13
  {{#if _required}}
14
- :class="{' border-blue-science-hex': hideError(),'border-red-700': hideDescription() }"
14
+ :class="{' border-link dark:border-link-dark': hideError(),'border-error dark:border-error': hideDescription() }"
15
15
  {{/if}}
16
16
  {{#if _inGroup }}
17
17
  {{#if _required}}
@@ -59,7 +59,7 @@
59
59
  {{/if}}
60
60
  {{/if~}}
61
61
  >
62
- <label for="input{{getRandom}}" class="items-center justify-center text-xs text-black md:text-sm font-headingSerif ">
62
+ <label for="input{{getRandom}}" class="items-center justify-center text-xs text-text dark:text-text-dark md:text-sm font-headingSerif ">
63
63
  {{#if _hasBody}}
64
64
  {{decorator_body}}{{#unless _inGroup}}{{#if _required}}*{{/if}}{{/unless}}
65
65
  {{else}}
@@ -76,10 +76,10 @@
76
76
  {{#unless _inGroup}}
77
77
  <div class="font-heading">
78
78
  {{#if _description}}
79
- <div class="text-xs text-gray-500" {{#if _required}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description}}</div>
79
+ <div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description}}</div>
80
80
  {{/if}}
81
81
  {{#if _required}}
82
- <div class="hidden text-xs text-red-700" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
82
+ <div class="hidden text-xs text-error" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
83
83
  {{/if}}
84
84
  </div>
85
85
  {{/unless}}
@@ -6,7 +6,7 @@
6
6
  {{/if}}
7
7
  >
8
8
  <div class="relative flex flex-col w-full mb-6 md:mb-12 gap-y-4 md:gap-y-5">
9
- <legend class="text-lg font-bold text-black md:text-xl font-heading">
9
+ <legend class="text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading">
10
10
  {{#if _hasBody}}
11
11
  {{decorator_body}}{{#if _required}}*{{/if}}
12
12
  {{else}}
@@ -39,10 +39,10 @@
39
39
  </div>
40
40
  <div class="font-heading">
41
41
  {{#if _description}}
42
- <div class="text-xs text-gray-500" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
42
+ <div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{_description}}</div>
43
43
  {{/if}}
44
44
  {{#if _required}}
45
- <div class="hidden text-xs text-red-700" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
45
+ <div class="hidden text-xs text-error" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
46
46
  {{/if}}
47
47
  </div>
48
48
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="flex items-center justify-between">
2
- <div class="text-xs text-gray-500 font-headingSerif">Pflichtfeld*</div>
2
+ <div class="text-xs text-gray-scorpion dark:text-text-dark font-headingSerif">Pflichtfeld*</div>
3
3
  <div class="flex items-center">
4
4
  <label class="order-2 cursor-pointer {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant='primary'}} {{> components/button/utilities/button_dimension_classes _size='lg'}}">
5
5
  <span class="hidden" :class="{'hidden': !isPosting}">{{> components/base/image/icon _icon="reload" _addClass="w-5 h-5 fill-white dark:fill-text-dark animate-spin"}}</span>
@@ -1,3 +1,3 @@
1
1
  <div class="hidden w-5 h-5 font-bold" :class="{{_xclass}}">
2
- {{> components/base/image/icon _icon="error-ds" _addClass="w-5 h-5 fill-red-700"}}
2
+ {{> components/base/image/icon _icon="error-ds" _addClass="w-5 h-5 fill-error"}}
3
3
  </div>
@@ -3,7 +3,7 @@
3
3
 
4
4
  {{#if this.caption}}
5
5
  <fieldset>
6
- <legend class="mb-5 font-headingSerif">{{this.caption}}</legend>
6
+ <legend class="mb-5 text-lg font-bold text-text dark:text-text-dark md:text-xl font-heading">{{this.caption}}</legend>
7
7
  {{~> components/forms/fields}}
8
8
  </fieldset>
9
9
  {{else}}
@@ -1,11 +1,11 @@
1
- <div class=" relative flex flex-col w-full mb-5 {{_wrapperClass}}"
1
+ <div class="relative flex flex-col w-full mb-5 {{_wrapperClass}}"
2
2
  ax-load
3
3
  x-data="inputHandler('input{{nextRandom}}','{{_formId}}','{{_errorMandatory}}',{{#if _isEmail}}'email'{{else}}'{{_type}}'{{/if}},'{{_errorEmail}}','{{#if _formField.forHtmlAttribute}}{{_formField.forHtmlAttribute}}{{else}}{{#if _value}}{{_value}}{{else}}{{_defaultValue}}{{/if}}{{/if}}','{{_name}}')"
4
4
  x-init="validateField()"
5
5
  x-ignore
6
6
  >
7
- <input class="relative w-full h-12 pt-4 pl-4 text-gray-800 placeholder-transparent bg-white border-blue-500 pr-9 peer border-y focus:border-y-2 border-t-transparent focus:outline-none"
8
- :class="{'border-blue-500': hideError(),'border-red-700': hideDescription() }"
7
+ <input class="relative w-full h-12 pt-4 pl-4 placeholder-transparent bg-white text-text dark:bg-black dark:text-text-dark autofill:shadow-autofill border-link dark:border-link-dark pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
8
+ :class="{'border-link dark:border-link-dark': hideError(),'border-error dark:border-error': hideDescription() }"
9
9
  x-model="input{{getRandom}}"
10
10
  id="input{{getRandom}}"
11
11
  x-bind:data-is-valid="valid ? 'true' : 'false'"
@@ -42,11 +42,11 @@
42
42
  data-hr-search-suggest='{"templateUrl":"{{resourceUrl "suche/index~suggest.jsp"}}"}'{{/if}}
43
43
  >
44
44
 
45
- <label for="input{{getRandom}}" class="{{_labelClass}} absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-500
45
+ <label for="input{{getRandom}}" class="{{_labelClass}} absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion dark:text-text-dark
46
46
 
47
47
  peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
48
48
 
49
- peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-blue-500 origin-top-left transform transition-transform">
49
+ peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-link peer-focus:dark:text-text-dark origin-top-left transform transition-transform">
50
50
  {{#if _hasBody}}
51
51
  {{decorator_body}}
52
52
  {{else}}
@@ -66,30 +66,30 @@
66
66
 
67
67
  <div class="flex items-end justify-between h-5 font-heading">
68
68
  {{#if _description}}
69
- <div class="pl-4 text-xs text-gray-500" :class="{'hidden': hideDescription() }">{{_description}}</div>
69
+ <div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{_description}}</div>
70
70
  {{/if}}
71
71
 
72
- <div class="hidden pl-4 text-xs text-red-700" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
72
+ <div class="hidden pl-4 text-xs text-error" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
73
73
 
74
74
  </div>
75
75
  <div class="hidden">
76
76
  <div class="px-4 py-2 font-bold text-white bg-red-500 rounded-t">
77
77
  DEBUG
78
78
  </div>
79
- <div class="px-4 py-3 text-red-700 bg-red-100 border border-t-0 border-red-400 rounded-b">
79
+ <div class="px-4 py-3 bg-red-100 border border-t-0 border-red-400 rounded-b text-error">
80
80
  <div>name:<span x-text="name" class="font-bold" ></span></div>
81
- <div>isFocused:<span x-text="isFocused" class="font-bold" :class="isFocused ? 'text-green-800' : 'text-red-700'"></span></div>
82
- <div>wasFocused:<span x-text="wasFocused" class="font-bold" :class="wasFocused ? 'text-green-800' : 'text-red-700'"></span></div>
83
- <div>valid:<span x-text="valid" class="font-bold" :class="valid ? 'text-green-800' : 'text-red-700'"></span></div>
81
+ <div>isFocused:<span x-text="isFocused" class="font-bold" :class="isFocused ? 'text-green-800' : 'text-error'"></span></div>
82
+ <div>wasFocused:<span x-text="wasFocused" class="font-bold" :class="wasFocused ? 'text-green-800' : 'text-error'"></span></div>
83
+ <div>valid:<span x-text="valid" class="font-bold" :class="valid ? 'text-green-800' : 'text-error'"></span></div>
84
84
 
85
- <div>hideDescription:<span x-text="hideDescription()" class="font-bold" :class="hideDescription() ? 'text-green-800' : 'text-red-700'"></span></div>
86
- <div>hideError:<span x-text="hideError()" class="font-bold" :class="hideError() ? 'text-green-800' : 'text-red-700'"></span></div>
85
+ <div>hideDescription:<span x-text="hideDescription()" class="font-bold" :class="hideDescription() ? 'text-green-800' : 'text-error'"></span></div>
86
+ <div>hideError:<span x-text="hideError()" class="font-bold" :class="hideError() ? 'text-green-800' : 'text-error'"></span></div>
87
87
  <div>input.length:<span x-text="input{{getRandom}}.length " class="font-bold" ></span></div>
88
88
  <div>input:<span x-text="input{{getRandom}}" class="font-bold" ></span></div>
89
89
  <div>errorMessage:<span x-text="errorMessage" class="font-bold" ></span></div>
90
90
  <div>valueMissing:<span x-text="valueMissing" class="font-bold" ></span></div>
91
91
  <div>typeMismatch:<span x-text="typeMismatch" class="font-bold" ></span></div>
92
- <div>submissionAttempted[form{{getRandom}}]:<span x-text="getSubmissionAttempted()" class="font-bold" :class="getSubmissionAttempted() ? 'text-green-800' : 'text-red-700'"></span></div>
92
+ <div>submissionAttempted[form{{getRandom}}]:<span x-text="getSubmissionAttempted()" class="font-bold" :class="getSubmissionAttempted() ? 'text-green-800' : 'text-error'"></span></div>
93
93
 
94
94
  </div>
95
95
  </div>
@@ -4,8 +4,8 @@
4
4
  x-ignore
5
5
  >
6
6
  <select
7
- class="relative w-full h-12 pt-4 pl-4 text-gray-800 bg-white border-blue-500 appearance-none bg- pr-9 peer border-y focus:border-y-2 border-t-transparent focus:outline-none"
8
- :class="{'border-blue-500': hideError(),'border-red-700': hideDescription() }"
7
+ class="relative w-full h-12 pt-4 pl-4 bg-white appearance-none text-text dark:bg-black dark:text-text-dark border-link bg- pr-9 peer border-y focus:border-y-2 border-t-transparent dark:border-t-transparent focus:outline-none"
8
+ :class="{'border-link dark:border-link-dark': hideError(),'border-error dark:border-error': hideDescription() }"
9
9
  x-model="select{{getRandom}}"
10
10
  id="select{{getRandom}}"
11
11
  title="{{#if _locaKey}}{{loca _locaKey}}{{else}}{{#if _Label}}{{_label}}{{#if _required}}*{{/if}}{{/if}}{{/if}}"
@@ -17,7 +17,7 @@
17
17
  x-on:change ="select{{getRandom}}.value != '' ? valid = true : valid = false;"
18
18
  {{/if}}
19
19
  >
20
- <option class="text-white bg-gray-400" value=""{{#if _required}} disabled{{/if}} selected>
20
+ <option class="text-text dark:text-text-dark bg-highlight-1 dark:bg-highlight-1-dark" value=""{{#if _required}} disabled{{/if}} selected>
21
21
  {{#if _locaKey}}
22
22
  {{loca _locaKey}}{{#if _required}}*{{/if}}
23
23
  {{else}}
@@ -28,27 +28,27 @@
28
28
  </option>
29
29
  {{#if _options}}
30
30
  {{~#each _options~}}
31
- <option class="text-black" value="{{this.id}}" {{#if this.isSelected}}selected{{/if}}>{{this.name}}</option>
31
+ <option class="text-gray-scorpion dark:text-text-dark" value="{{this.id}}" {{#if this.isSelected}}selected{{/if}}>{{this.name}}</option>
32
32
  {{~/each~}}
33
33
  {{else}}
34
34
  {{#each _items}}
35
- <option class="text-black" value="{{this.value}}" {{#if this.selected}}selected{{/if}}>{{this.label}}</option>
35
+ <option class="text-gray-scorpion dark:text-text-dark" value="{{this.value}}" {{#if this.selected}}selected{{/if}}>{{this.label}}</option>
36
36
  {{/each}}
37
37
  {{/if}}
38
38
  </select>
39
39
  <label for="select{{getRandom}}"
40
- class="absolute pointer-events-none left-[16px] top-0 translate-y-3 translate-x-0 scale-100 text-gray-500
41
- peer-focus:text-blue-500 peer-focus:scale-75 peer-focus:translate-y-0 peer-focus:top-px
40
+ class="absolute pointer-events-none left-[16px] top-0 translate-y-3 translate-x-0 scale-100 text-gray-scorpion dark:text-text-dark
41
+ peer-focus:text-link peer-focus:scale-75 peer-focus:translate-y-0 peer-focus:top-px
42
42
  origin-top-left transform transition-transform
43
43
  ">
44
44
  {{_label}}{{#if _required}}*{{/if}}
45
45
  </label>
46
46
  <div class="flex items-end justify-between h-5 font-heading">
47
47
  {{#if _description}}
48
- <div class="pl-4 text-xs text-gray-500 " :class="{'hidden': hideDescription()}">{{_description}}</div>
48
+ <div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{_description}}</div>
49
49
  {{/if}}
50
50
  {{#if _required}}
51
- <div class="hidden pl-4 text-xs text-red-700" :class="{'hidden': hideError()}" >{{_errorMessage}}</div>
51
+ <div class="hidden pl-4 text-xs text-error" :class="{'hidden': hideError()}" >{{_errorMessage}}</div>
52
52
  {{/if}}
53
53
  </div>
54
54
  <div class="absolute right-0 p-4 py-3 transform border-l peer-focus:border-r peer-focus:border-l-0 pointer-events-none top-1.5 peer-focus:rotate-180">
@@ -34,9 +34,9 @@
34
34
  maxlength="{{_maxLength}}"
35
35
  {{/if~}}
36
36
  {{#if _required}}required{{/if}}
37
- class="relative w-full px-4 pb-px text-gray-800 placeholder-transparent bg-white border-blue-500 min-h-12 peer border-y focus:border-b-2 focus:pb-0 border-t-transparent focus:outline-none"
37
+ class="relative w-full px-4 pb-px text-black placeholder-transparent bg-white border-link dark:border-link-dark min-h-12 peer border-y focus:border-b-2 focus:pb-0 border-t-transparent focus:outline-none"
38
38
  {{#if _required}}
39
- :class="{'border-blue-500': hideError(),'border-red-700': hideDescription() }"
39
+ :class="{'border-link dark:border-link-dark': hideError(),'border-error dark:border-error': hideDescription() }"
40
40
  {{/if}}
41
41
  >{{~#if _formField.isValid~}}
42
42
  {{{_formField.forHtmlContent}}}
@@ -46,11 +46,11 @@
46
46
  {{~else~}}
47
47
  {{~_defaultValue~}}
48
48
  {{~/if}}{{/if}}</textarea>
49
- <label for="textarea{{getRandom}}" class="absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-500
49
+ <label for="textarea{{getRandom}}" class="absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-scorpion
50
50
 
51
51
  peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
52
52
 
53
- peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-blue-500 origin-top-left transform transition-transform">
53
+ peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-link origin-top-left transform transition-transform">
54
54
  {{#if _locaKey}}
55
55
  {{loca _locaKey}}
56
56
  {{else}}
@@ -66,13 +66,13 @@
66
66
  {{/if}}
67
67
  <div class="flex items-end justify-between h-5 font-heading">
68
68
  {{#if _description}}
69
- <div class="pl-4 text-xs text-gray-500" :class="{'hidden': hideDescription() }">{{_description}}</div>
69
+ <div class="pl-4 text-xs text-gray-scorpion" :class="{'hidden': hideDescription() }">{{_description}}</div>
70
70
  {{/if}}
71
71
  {{#if _required}}
72
- <div class="hidden pl-4 text-xs text-red-700" :class="{'hidden': hideError()}" >{{_errorMessage}}</div>
72
+ <div class="hidden pl-4 text-xs text-error" :class="{'hidden': hideError()}" >{{_errorMessage}}</div>
73
73
  {{/if}}
74
74
  {{#if _maxLength}}
75
- <div class="px-4 ml-auto text-xs text-gray-500"><span x-text="textarea{{getRandom}}.length">0</span>/{{_maxLength}}</div>
75
+ <div class="px-4 ml-auto text-xs text-gray-scorpion"><span x-text="textarea{{getRandom}}.length">0</span>/{{_maxLength}}</div>
76
76
  {{/if~}}
77
77
  </div>
78
78
  </div>
@@ -2,7 +2,7 @@
2
2
  {{#>components/forms/backgroundBox }}
3
3
 
4
4
 
5
- <h3 class="mb-6 text-2xl font-headingSerif sm:mb-12">
5
+ <h3 class="mb-6 text-2xl font-headingSerif sm:mb-12 text-text dark:text-text-dark">
6
6
  {{this.title}}
7
7
  </h3>
8
8
  <div id="formWrapper">
@@ -22,17 +22,6 @@
22
22
  accept-charset="utf-8"
23
23
 
24
24
  >
25
-
26
- <div class="">
27
- <div class="px-4 py-2 font-bold text-white bg-red-500 rounded-t">
28
- DEBUG
29
- </div>
30
- <div class="px-4 py-3 text-red-700 bg-red-100 border border-t-0 border-red-400 rounded-b">
31
- <div>submissionAttempted[form{{getRandom}}]:<span x-text="getSubmissionAttempted()" class="font-bold" :class="getSubmissionAttempted() ? 'text-green-800' : 'text-red-700'"></span></div>
32
- <div>isPosting:<span x-text="isPosting" class="font-bold" :class="isPosting ? 'text-green-800' : 'text-red-700'"></span></div>
33
-
34
- </div>
35
- </div>
36
25
  {{> components/forms/fields _formId=(joinStrings 'form' (getRandom)) }}
37
26
 
38
27
  {{> components/forms/controls }}
@@ -54,7 +54,7 @@
54
54
  <ul>
55
55
  {{~#each this~}}
56
56
  <li class="{{#unless @last}}border-b{{/unless}}">
57
- <a class="{{if (isUserConsentNeeded this.podcastHosterUrl) 'js-user-consent-needed ' ''}}flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500 js-load"
57
+ <a class="{{if (isUserConsentNeeded this.podcastHosterUrl) 'js-user-consent-needed ' ''}}flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-scorpion js-load"
58
58
  title="{{this.podcastHosterName}}"
59
59
  target="_blank"
60
60
  rel="noopener noreferrer"
@@ -90,6 +90,7 @@ module.exports = {
90
90
  'stage': '0 .3125rem 1.0625rem rgba(0,0,0,0.3)',
91
91
  'teaser-focus': '0 0 0 0.25rem',
92
92
  'teaser-focus-big': '0 0 0 0.365rem',
93
+ 'autofill': '0 0 0px 1000px var(--color-standard-text-dark) inset'
93
94
  },
94
95
  dropShadow: {
95
96
  md: '0 5px 3px rgb(0 0 0 / 0.07)',
@@ -288,7 +289,7 @@ module.exports = {
288
289
  monza: { rgb: '194 0 22', hex: '#c20016' },
289
290
  paprika: { rgb: '140 3 61', hex: '#8C033D' },
290
291
  scarlett: '#9b0112',
291
- thunderbird: '#cc1a14',
292
+ thunderbird: { hex: '#cc1a14' },
292
293
  wellRead: { rgb: '171 47 45', hex: '#AB2F2D' },
293
294
  },
294
295
  'pink': {
@@ -424,7 +425,8 @@ module.exports = {
424
425
  'toggle-default': 'var(--color-toggle-default)',
425
426
  'structure-nav': 'var(--structure-nav-background)',
426
427
  'structure-nav-text': 'var(--structure-nav-text)',
427
- 'structure-nav-text-mobile': 'var(--structure-nav-text-mobile)'
428
+ 'structure-nav-text-mobile': 'var(--structure-nav-text-mobile)',
429
+ 'error':'var(--color-error)'
428
430
  },
429
431
  },
430
432
  },