@kitconcept/volto-light-theme 8.0.0-alpha.3 → 8.0.0-alpha.30

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 (200) hide show
  1. package/.changelog.draft +6 -9
  2. package/CHANGELOG.md +310 -0
  3. package/locales/af/LC_MESSAGES/volto.po +645 -0
  4. package/locales/ar/LC_MESSAGES/volto.po +645 -0
  5. package/locales/bg/LC_MESSAGES/volto.po +645 -0
  6. package/locales/bn/LC_MESSAGES/volto.po +645 -0
  7. package/locales/ca/LC_MESSAGES/volto.po +645 -0
  8. package/locales/cs/LC_MESSAGES/volto.po +645 -0
  9. package/locales/cy/LC_MESSAGES/volto.po +645 -0
  10. package/locales/da/LC_MESSAGES/volto.po +645 -0
  11. package/locales/de/LC_MESSAGES/volto.po +83 -167
  12. package/locales/el/LC_MESSAGES/volto.po +645 -0
  13. package/locales/en/LC_MESSAGES/volto.po +30 -115
  14. package/locales/en_AU/LC_MESSAGES/volto.po +645 -0
  15. package/locales/en_GB/LC_MESSAGES/volto.po +645 -0
  16. package/locales/eo/LC_MESSAGES/volto.po +645 -0
  17. package/locales/es/LC_MESSAGES/volto.po +75 -160
  18. package/locales/et/LC_MESSAGES/volto.po +645 -0
  19. package/locales/eu/LC_MESSAGES/volto.po +59 -125
  20. package/locales/fa/LC_MESSAGES/volto.po +645 -0
  21. package/locales/fi/LC_MESSAGES/volto.po +645 -0
  22. package/locales/fr/LC_MESSAGES/volto.po +645 -0
  23. package/locales/fu/LC_MESSAGES/volto.po +645 -0
  24. package/locales/ga/LC_MESSAGES/volto.po +645 -0
  25. package/locales/gl/LC_MESSAGES/volto.po +645 -0
  26. package/locales/he/LC_MESSAGES/volto.po +645 -0
  27. package/locales/hi/LC_MESSAGES/volto.po +645 -0
  28. package/locales/hr/LC_MESSAGES/volto.po +645 -0
  29. package/locales/hu/LC_MESSAGES/volto.po +645 -0
  30. package/locales/hy/LC_MESSAGES/volto.po +645 -0
  31. package/locales/id/LC_MESSAGES/volto.po +645 -0
  32. package/locales/it/LC_MESSAGES/volto.po +645 -0
  33. package/locales/ja/LC_MESSAGES/volto.po +645 -0
  34. package/locales/ka/LC_MESSAGES/volto.po +645 -0
  35. package/locales/kn/LC_MESSAGES/volto.po +645 -0
  36. package/locales/ko/LC_MESSAGES/volto.po +645 -0
  37. package/locales/lt/LC_MESSAGES/volto.po +645 -0
  38. package/locales/lv/LC_MESSAGES/volto.po +645 -0
  39. package/locales/mi/LC_MESSAGES/volto.po +645 -0
  40. package/locales/mk_MK/LC_MESSAGES/volto.po +645 -0
  41. package/locales/ms/LC_MESSAGES/volto.po +645 -0
  42. package/locales/mt/LC_MESSAGES/volto.po +645 -0
  43. package/locales/my/LC_MESSAGES/volto.po +645 -0
  44. package/locales/nl/LC_MESSAGES/volto.po +645 -0
  45. package/locales/nl_BE/LC_MESSAGES/volto.po +645 -0
  46. package/locales/nn/LC_MESSAGES/volto.po +645 -0
  47. package/locales/no/LC_MESSAGES/volto.po +645 -0
  48. package/locales/pl/LC_MESSAGES/volto.po +645 -0
  49. package/locales/pt/LC_MESSAGES/volto.po +645 -0
  50. package/locales/pt_BR/LC_MESSAGES/volto.po +38 -123
  51. package/locales/rm/LC_MESSAGES/volto.po +645 -0
  52. package/locales/ro/LC_MESSAGES/volto.po +645 -0
  53. package/locales/ru/LC_MESSAGES/volto.po +645 -0
  54. package/locales/sk/LC_MESSAGES/volto.po +645 -0
  55. package/locales/sl/LC_MESSAGES/volto.po +645 -0
  56. package/locales/sm/LC_MESSAGES/volto.po +645 -0
  57. package/locales/sq/LC_MESSAGES/volto.po +645 -0
  58. package/locales/sr/LC_MESSAGES/volto.po +645 -0
  59. package/locales/sr_Cyrl/LC_MESSAGES/volto.po +645 -0
  60. package/locales/sr_Latn/LC_MESSAGES/volto.po +645 -0
  61. package/locales/sv/LC_MESSAGES/volto.po +645 -0
  62. package/locales/sw/LC_MESSAGES/volto.po +645 -0
  63. package/locales/ta/LC_MESSAGES/volto.po +645 -0
  64. package/locales/te/LC_MESSAGES/volto.po +645 -0
  65. package/locales/th/LC_MESSAGES/volto.po +645 -0
  66. package/locales/tl/LC_MESSAGES/volto.po +645 -0
  67. package/locales/to/LC_MESSAGES/volto.po +645 -0
  68. package/locales/tr/LC_MESSAGES/volto.po +645 -0
  69. package/locales/uk/LC_MESSAGES/volto.po +645 -0
  70. package/locales/vi/LC_MESSAGES/volto.po +645 -0
  71. package/locales/volto.pot +31 -116
  72. package/locales/zh_CN/LC_MESSAGES/volto.po +645 -0
  73. package/locales/zh_HK/LC_MESSAGES/volto.po +645 -0
  74. package/locales/zh_TW/LC_MESSAGES/volto.po +645 -0
  75. package/package.json +7 -4
  76. package/src/__mocks__/semantic-ui-react.ts +31 -0
  77. package/src/components/Blocks/Block/EditBlockWrapper.jsx +9 -3
  78. package/src/components/Blocks/Button/schema.js +12 -0
  79. package/src/components/Blocks/EventCalendar/Search/components/EventTemplate.tsx +1 -1
  80. package/src/components/Blocks/Image/Edit.jsx +9 -32
  81. package/src/components/Blocks/Image/View.jsx +9 -26
  82. package/src/components/Blocks/Image/adapter.js +28 -14
  83. package/src/components/Blocks/Image/adapter.test.js +156 -0
  84. package/src/components/Blocks/Image/schema.js +21 -7
  85. package/src/components/Blocks/Listing/DefaultTemplate.jsx +12 -6
  86. package/src/components/Blocks/Listing/GridTemplate.jsx +17 -7
  87. package/src/components/Blocks/Listing/ListingBody.jsx +4 -1
  88. package/src/components/Blocks/Listing/SummaryTemplate.jsx +17 -7
  89. package/src/components/Blocks/Maps/MapsSidebar.jsx +68 -0
  90. package/src/components/Blocks/Maps/View.jsx +37 -0
  91. package/src/components/Blocks/Maps/adapter.js +27 -0
  92. package/src/components/Blocks/Maps/adapter.test.js +63 -0
  93. package/src/components/Blocks/Maps/schema.js +42 -2
  94. package/src/components/Blocks/Separator/schema.js +12 -0
  95. package/src/components/Blocks/Teaser/DefaultBody.tsx +35 -6
  96. package/src/components/Blocks/Video/VideoSidebar.jsx +68 -0
  97. package/src/components/Blocks/Video/View.jsx +38 -0
  98. package/src/components/Blocks/Video/adapter.js +28 -0
  99. package/src/components/Blocks/Video/adapter.test.js +63 -0
  100. package/src/components/Blocks/Video/schema.js +42 -2
  101. package/src/components/Blocks/schema.ts +69 -0
  102. package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +128 -0
  103. package/src/components/Breadcrumbs/Breadcrumbs.tsx +117 -0
  104. package/src/components/Caption/Caption.test.tsx +31 -0
  105. package/src/components/Caption/{Caption.jsx → Caption.tsx} +14 -21
  106. package/src/components/Footer/ColumnLinks.tsx +2 -2
  107. package/src/components/Footer/Footer.tsx +2 -2
  108. package/src/components/Footer/slots/Colophon.tsx +13 -1
  109. package/src/components/Footer/slots/CoreFooter.tsx +4 -2
  110. package/src/components/Footer/slots/FollowUsLogoAndLinks.tsx +12 -23
  111. package/src/components/Header/Header.tsx +3 -3
  112. package/src/components/LanguageSelector/LanguageSelector.tsx +91 -0
  113. package/src/components/MobileNavigation/MobileNavigation.jsx +11 -9
  114. package/src/components/Navigation/Navigation.test.tsx +176 -0
  115. package/src/components/Navigation/{Navigation.jsx → Navigation.tsx} +89 -42
  116. package/src/components/StickyMenu/MobileCarouselArrowButton.tsx +81 -0
  117. package/src/components/StickyMenu/MobileStickyMenu.tsx +76 -0
  118. package/src/components/Summary/DefaultSummary.tsx +10 -3
  119. package/src/components/Summary/EventSummary.tsx +10 -3
  120. package/src/components/Summary/FileSummary.tsx +10 -3
  121. package/src/components/Summary/NewsItemSummary.tsx +10 -3
  122. package/src/components/Summary/PersonSummary.tsx +10 -3
  123. package/src/components/Summary/Summary.stories.tsx +46 -30
  124. package/src/components/Tags/Tags.test.tsx +71 -0
  125. package/src/components/Tags/{Tags.jsx → Tags.tsx} +9 -25
  126. package/src/components/Theme/EventView.jsx +4 -4
  127. package/src/components/Theme/ImageView.jsx +8 -1
  128. package/src/components/Theme/NewsItemView.jsx +4 -4
  129. package/src/components/Theme/RenderBlocksV2.jsx +38 -15
  130. package/src/components/Widgets/ColorSwatch.stories.tsx +197 -0
  131. package/src/components/Widgets/ColorSwatch.test.tsx +188 -0
  132. package/src/components/Widgets/ColorSwatch.tsx +77 -39
  133. package/src/components/Widgets/ObjectList.tsx +37 -27
  134. package/src/components/Widgets/SoftTextWidget.tsx +129 -0
  135. package/src/components/Widgets/SoftTextareaWidget.tsx +118 -0
  136. package/src/components/Widgets/ThemeColorSwatch.tsx +5 -9
  137. package/src/config/blocks.tsx +83 -28
  138. package/src/config/classExtenders.ts +11 -10
  139. package/src/config/settings.ts +6 -0
  140. package/src/config/slots.ts +7 -0
  141. package/src/config/widgets.ts +5 -9
  142. package/src/customizations/volto/components/manage/Blocks/Maps/MapsSidebar.jsx +10 -0
  143. package/src/customizations/volto/components/manage/Blocks/Maps/View.jsx +10 -0
  144. package/src/customizations/volto/components/manage/Blocks/Video/VideoSidebar.jsx +10 -0
  145. package/src/customizations/volto/components/manage/Blocks/Video/View.jsx +10 -0
  146. package/src/customizations/volto/components/manage/DragDropList/DragDropList.jsx +263 -0
  147. package/src/customizations/volto/components/theme/LanguageSelector/LanguageSelector.tsx +10 -0
  148. package/src/helpers/styleDefinitions.test.tsx +30 -0
  149. package/src/helpers/styleDefinitions.ts +49 -0
  150. package/src/helpers/useLiveData.ts +7 -2
  151. package/src/index.ts +15 -0
  152. package/src/internalChecks.test.ts +94 -0
  153. package/src/primitives/Card/Card.stories.tsx +4 -1
  154. package/src/primitives/Card/Card.test.tsx +11 -33
  155. package/src/primitives/Card/Card.tsx +37 -44
  156. package/src/primitives/IconLinkList.tsx +53 -52
  157. package/src/primitives/LinkIconButton.tsx +52 -0
  158. package/src/reducers/errorContext.ts +14 -0
  159. package/src/reducers/index.ts +7 -0
  160. package/src/theme/_bgcolor-blocks-layout.scss +48 -46
  161. package/src/theme/_content.scss +12 -13
  162. package/src/theme/_export_import.scss +94 -0
  163. package/src/theme/_footer.scss +131 -64
  164. package/src/theme/_header.scss +25 -5
  165. package/src/theme/_insets.scss +1 -1
  166. package/src/theme/_layout.scss +41 -77
  167. package/src/theme/_mobile-sticky-menu.scss +92 -0
  168. package/src/theme/_search-page.scss +250 -0
  169. package/src/theme/_typo-custom.scss +24 -8
  170. package/src/theme/_variables.scss +40 -4
  171. package/src/theme/_widgets.scss +6 -17
  172. package/src/theme/blocks/_accordion.scss +11 -4
  173. package/src/theme/blocks/_form.scss +350 -0
  174. package/src/theme/blocks/_grid.scss +10 -77
  175. package/src/theme/blocks/_highlight.scss +10 -7
  176. package/src/theme/blocks/_image.scss +99 -184
  177. package/src/theme/blocks/_listing.scss +61 -128
  178. package/src/theme/blocks/_maps.scss +60 -34
  179. package/src/theme/blocks/_search.scss +3 -4
  180. package/src/theme/blocks/_table.scss +1 -0
  181. package/src/theme/blocks/_teaser.scss +7 -117
  182. package/src/theme/blocks/_toc.scss +2 -1
  183. package/src/theme/card.scss +136 -69
  184. package/src/theme/main.scss +4 -0
  185. package/src/theme/notfound.scss +2 -0
  186. package/src/theme/person.scss +7 -1
  187. package/src/theme/sticky-menu.scss +7 -5
  188. package/src/transforms/to6.ts +5 -49
  189. package/src/transforms/to8.test.js +201 -0
  190. package/src/transforms/to8.ts +109 -0
  191. package/src/types.d.ts +1 -0
  192. package/vitest.config.mjs +28 -3
  193. package/razzle.extend.js +0 -38
  194. package/src/components/Blocks/schema.js +0 -44
  195. package/src/components/Breadcrumbs/Breadcrumbs.jsx +0 -118
  196. package/src/components/Widgets/AlignWidget.tsx +0 -84
  197. package/src/components/Widgets/BlockAlignment.tsx +0 -88
  198. package/src/components/Widgets/BlockWidth.tsx +0 -101
  199. package/src/components/Widgets/Buttons.tsx +0 -167
  200. package/src/components/Widgets/Size.tsx +0 -78
@@ -17,7 +17,7 @@
17
17
  & > strong,
18
18
  & > em,
19
19
  & > figcaption,
20
- & > a:not(.item),
20
+ & > a,
21
21
  & > blockquote,
22
22
  & > h2,
23
23
  & > h3,
@@ -25,16 +25,6 @@
25
25
  color: var(--theme-foreground-color);
26
26
  }
27
27
 
28
- :not(.teaser-item)
29
- > a:not(.item):not(
30
- :has(> .teaser-item),
31
- :has(> .listing-body),
32
- :has(> .card-container)
33
- ) {
34
- color: var(--link-foreground-color, --theme-foreground-color);
35
- text-decoration: underline;
36
- }
37
-
38
28
  &:first-child:has(> .documentFirstHeading) {
39
29
  padding-top: 0;
40
30
  }
@@ -407,6 +397,14 @@
407
397
  }
408
398
  }
409
399
 
400
+ // Banner block, if next block has different bgcolor it snaps to the bottom
401
+ #page-document
402
+ .blocks-group-wrapper:has(
403
+ :last-child.banner.next--has--different--backgroundColor
404
+ ) {
405
+ padding-bottom: 0;
406
+ }
407
+
410
408
  // Color map
411
409
  @mixin use-theme-colors() {
412
410
  #page-document {
@@ -439,7 +437,8 @@
439
437
  &.__button {
440
438
  & > .button.container,
441
439
  & > .block-inner-container {
442
- & button {
440
+ & button,
441
+ a {
443
442
  border-color: var(--theme-foreground-color);
444
443
  background-color: var(--theme-color);
445
444
 
@@ -451,6 +450,10 @@
451
450
  border-color: var(--theme-foreground-color);
452
451
  background-color: var(--theme-foreground-color);
453
452
  color: var(--theme-color);
453
+
454
+ &::after {
455
+ background-color: var(--theme-color);
456
+ }
454
457
  }
455
458
  }
456
459
  }
@@ -494,7 +497,8 @@
494
497
  &.listing,
495
498
  &.search,
496
499
  &.rssBlock {
497
- h2.headline {
500
+ h2.headline,
501
+ h2.block-title {
498
502
  color: var(--theme-foreground-color);
499
503
  }
500
504
 
@@ -505,40 +509,26 @@
505
509
  .listing-item {
506
510
  border-bottom-color: var(--theme-foreground-color) !important;
507
511
 
508
- a > .listing-body {
509
- .headline,
510
- h3,
511
- h2,
512
- a,
513
- p,
514
- span {
515
- color: var(--theme-foreground-color);
516
- }
512
+ .headline,
513
+ h3,
514
+ h2,
515
+ a,
516
+ p,
517
+ span {
518
+ color: var(--theme-foreground-color);
517
519
  }
518
520
 
519
521
  .head-title span,
520
522
  .head-title {
521
523
  color: var(--theme-foreground-color);
522
524
  }
523
-
524
- .card-container {
525
- background-color: var(--theme-high-contrast-color);
526
-
527
- .content,
528
- .content p {
529
- color: var(--theme-foreground-color);
530
- }
531
- }
532
525
  }
533
- /* I have removed the .card-container className that's why I have to write this css
534
- * I will remove all the .card-container className from repo.
535
- */
536
526
  &.grid .card,
537
527
  & .grid-variation .card {
538
528
  background-color: var(--theme-high-contrast-color);
539
529
 
540
- .content,
541
- .content p {
530
+ .card-summary,
531
+ .card-summary p {
542
532
  color: var(--theme-foreground-color);
543
533
  }
544
534
  }
@@ -1122,19 +1112,28 @@
1122
1112
  }
1123
1113
  }
1124
1114
 
1125
- table.ui.table.slate-table-block {
1126
- border-color: var(--theme-low-contrast-foreground-color);
1115
+ table.ui.celled.table.slate-table-block {
1116
+ border-color: color-mix(
1117
+ in srgb,
1118
+ var(--theme-color) 75%,
1119
+ var(--theme-foreground-color)
1120
+ );
1127
1121
 
1128
1122
  tr td,
1129
1123
  th {
1130
- border-color: var(--theme-low-contrast-foreground-color);
1124
+ border-color: color-mix(
1125
+ in srgb,
1126
+ var(--theme-color) 75%,
1127
+ var(--theme-foreground-color)
1128
+ );
1131
1129
  }
1132
1130
 
1133
1131
  th {
1134
1132
  background-color: var(--theme-high-contrast-color) !important;
1133
+ color: var(--theme-low-contrast-foreground-color);
1135
1134
 
1136
- p {
1137
- color: var(--theme-low-contrast-foreground-color) !important;
1135
+ * {
1136
+ color: inherit;
1138
1137
  }
1139
1138
  }
1140
1139
 
@@ -1269,12 +1268,15 @@
1269
1268
  color: var(--header-foreground);
1270
1269
  }
1271
1270
  }
1271
+ .language-selector a {
1272
+ color: var(--header-foreground);
1273
+ }
1272
1274
  }
1273
1275
 
1274
1276
  // Navigation
1275
1277
  nav.navigation {
1276
- button.item {
1277
- color: var(--header-foreground);
1278
+ .item {
1279
+ color: var(--header-foreground, var(--primary-foreground-color));
1278
1280
  }
1279
1281
  .submenu-wrapper {
1280
1282
  .submenu.active {
@@ -1329,7 +1331,7 @@
1329
1331
 
1330
1332
  & > button:not(:hover, :active, :focus) {
1331
1333
  svg path {
1332
- fill: var(--secondary-foreground-color);
1334
+ fill: var(--search-foreground);
1333
1335
  }
1334
1336
  }
1335
1337
  }
@@ -1426,12 +1428,12 @@
1426
1428
  }
1427
1429
 
1428
1430
  a.section {
1429
- color: var(--link-foreground-color, --breadcrumbs-foreground);
1431
+ color: var(--breadcrumbs-foreground, --link-foreground-color);
1430
1432
  }
1431
1433
 
1432
1434
  a.home {
1433
1435
  svg {
1434
- fill: var(--link-foreground-color, --breadcrumbs-foreground) !important;
1436
+ fill: var(--breadcrumbs-foreground, --link-foreground-color) !important;
1435
1437
  }
1436
1438
  }
1437
1439
  }
@@ -1,3 +1,12 @@
1
+ @mixin day-with-head-title-separator {
2
+ .day:has(+ .head-title) {
3
+ &::after {
4
+ margin-left: 8px;
5
+ content: '|';
6
+ }
7
+ }
8
+ }
9
+
1
10
  .ui.basic.segment.content-area {
2
11
  // We cancel the padding and margin from the segment
3
12
  // allowing the content elements to be the ones that push for
@@ -18,6 +27,8 @@
18
27
  #page-document .dates {
19
28
  @include default-container-width();
20
29
  @include adjustMarginsToContainer($default-container-width);
30
+ @include day-with-head-title-separator();
31
+
21
32
  margin-top: $spacing-medium;
22
33
  margin-bottom: $spacing-medium;
23
34
  color: var(--primary-foreground-color);
@@ -27,13 +38,6 @@
27
38
  text-transform: uppercase;
28
39
  }
29
40
 
30
- .head-title:has(+ .day) {
31
- &::after {
32
- margin-left: 8px;
33
- content: '|';
34
- }
35
- }
36
-
37
41
  @container (max-width: #{$tablet-breakpoint} ) {
38
42
  .day,
39
43
  .head-title {
@@ -91,6 +95,7 @@
91
95
  }
92
96
  }
93
97
  .dates {
98
+ @include day-with-head-title-separator();
94
99
  margin-top: $spacing-medium;
95
100
  margin-bottom: $spacing-medium;
96
101
  color: var(--primary-foreground-color);
@@ -103,12 +108,6 @@
103
108
  letter-spacing: 1px;
104
109
  text-transform: uppercase;
105
110
  }
106
- .head-title {
107
- &::after {
108
- margin-left: 8px;
109
- content: '|';
110
- }
111
- }
112
111
  @container (max-width: #{$tablet-breakpoint} ) {
113
112
  .day,
114
113
  .head-title {
@@ -0,0 +1,94 @@
1
+ #page-controlpanel-content-transfer .container {
2
+ .grid-container {
3
+ @include default-container-width();
4
+ @include adjustMarginsToContainer($default-container-width);
5
+ padding-top: $spacing-medium;
6
+ padding-bottom: $spacing-large;
7
+ gap: $spacing-small;
8
+ grid-template-columns: 1fr 1fr;
9
+
10
+ @container (max-width: #{$computer-breakpoint}) {
11
+ grid-template-columns: 1fr;
12
+ }
13
+ .grid-column {
14
+ position: relative;
15
+ display: flex;
16
+ height: 250px;
17
+ flex-wrap: wrap;
18
+ padding: $spacing-small;
19
+ border: 1px solid var(--primary-foreground-color);
20
+ gap: $spacing-small;
21
+
22
+ h2 {
23
+ width: 100%;
24
+ margin: 0;
25
+ @include text-heading-h3();
26
+ }
27
+
28
+ & > span {
29
+ position: absolute;
30
+ top: $spacing-small;
31
+ right: $spacing-small;
32
+
33
+ svg {
34
+ width: auto;
35
+ height: 30px;
36
+ }
37
+ }
38
+
39
+ .file-input-wrapper {
40
+ position: relative;
41
+ margin-top: auto;
42
+
43
+ .file-input-name {
44
+ position: absolute;
45
+ bottom: 100%;
46
+ left: 0;
47
+ margin-bottom: $spacing-small;
48
+ font-size: 18px;
49
+ font-weight: 300;
50
+ line-height: 24px;
51
+ white-space: nowrap;
52
+ }
53
+ }
54
+
55
+ button {
56
+ align-self: end;
57
+ padding: 8px 20px;
58
+ border: 1px solid var(--primary-foreground-color);
59
+ border-radius: unset;
60
+ margin: 0;
61
+ background: none;
62
+ color: var(--primary-foreground-color);
63
+ cursor: pointer;
64
+ text-decoration: none;
65
+
66
+ @include body-text-bold();
67
+
68
+ &:hover,
69
+ &:active,
70
+ &:focus {
71
+ border-color: var(--primary-foreground-color);
72
+ background-color: var(--primary-foreground-color);
73
+ color: var(--primary-color);
74
+ }
75
+
76
+ &[data-disabled='true'],
77
+ &[data-disabled='true']:hover {
78
+ border-color: color-mix(
79
+ in srgb,
80
+ var(--primary-color) 50%,
81
+ var(--primary-foreground-color)
82
+ );
83
+ background-color: var(--primary-color);
84
+ color: color-mix(
85
+ in srgb,
86
+ var(--primary-color) 50%,
87
+ var(--primary-foreground-color)
88
+ );
89
+ cursor: not-allowed;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }