@digigov/css 0.35.0 → 0.37.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 (48) hide show
  1. package/defaultTheme/brandConfig.json +135 -0
  2. package/defaultTheme/button.json +3 -3
  3. package/defaultTheme/index.js +7 -66
  4. package/defaultTheme/typography.json +4 -4
  5. package/dist/base/index.css +3 -3
  6. package/dist/base.js +1 -1
  7. package/dist/components.js +1 -1
  8. package/dist/digigov.css +4 -4
  9. package/package.json +4 -2
  10. package/src/base/index.css +1 -1
  11. package/src/components/accessibility-menu.css +6 -6
  12. package/src/components/accordion.css +2 -2
  13. package/src/components/admin-footer.css +1 -1
  14. package/src/components/admin-form.css +1 -1
  15. package/src/components/admin-header.css +1 -1
  16. package/src/components/autocomplete.css +7 -7
  17. package/src/components/bottom-info.css +1 -1
  18. package/src/components/button.css +6 -6
  19. package/src/components/card.css +3 -3
  20. package/src/components/checkboxes.css +2 -2
  21. package/src/components/cookie.css +1 -1
  22. package/src/components/details.css +1 -1
  23. package/src/components/drawer.css +17 -8
  24. package/src/components/dropdown.css +10 -7
  25. package/src/components/fillable.css +2 -2
  26. package/src/components/filter.css +8 -8
  27. package/src/components/footer.css +3 -3
  28. package/src/components/form.css +3 -3
  29. package/src/components/full-page-background.css +1 -1
  30. package/src/components/header.css +9 -9
  31. package/src/components/kitchensink.css +1 -4
  32. package/src/components/layout.css +1 -1
  33. package/src/components/misc.css +4 -4
  34. package/src/components/modal.css +3 -3
  35. package/src/components/nav.css +7 -5
  36. package/src/components/notification-banner.css +4 -4
  37. package/src/components/pagination.css +2 -2
  38. package/src/components/phase-banner.css +4 -4
  39. package/src/components/radios.css +2 -2
  40. package/src/components/stepnav.css +4 -4
  41. package/src/components/summary-list.css +2 -2
  42. package/src/components/svg-icons.css +3 -3
  43. package/src/components/table.css +124 -33
  44. package/src/components/tabs.css +3 -3
  45. package/src/components/task-list.css +5 -5
  46. package/src/components/typography.css +6 -6
  47. package/tailwind.config.js +34 -31
  48. package/themes.plugin.js +26 -23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/css",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Digigov CSS - Tailwind CSS Components",
5
5
  "author": "GRNET Devs <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
@@ -75,6 +75,8 @@
75
75
  "dependencies": {
76
76
  "@fontsource/roboto": "4.4.0",
77
77
  "@digigov/cli-build-tailwind": "0.9.2",
78
- "publint": "0.1.8"
78
+ "publint": "0.1.8",
79
+ "@adobe/leonardo-contrast-colors": "1.0.0-alpha.13",
80
+ "polished": "4.2.2"
79
81
  }
80
82
  }
@@ -7,5 +7,5 @@ html{
7
7
  -webkit-tap-highlight-color: transparent;
8
8
  }
9
9
  body {
10
- @apply font-sans text-base-content bg-white;
10
+ @apply font-sans text-base-content bg-base-100;
11
11
  }
@@ -15,15 +15,15 @@
15
15
  }
16
16
  }
17
17
  .govgr-accessibility-menu__btn {
18
- @apply absolute bottom-4 bg-gray100;
18
+ @apply absolute bottom-4 bg-base-300;
19
19
  @apply p-4 rounded-full !important;
20
- box-shadow: 0px 2px 5px var(--color-shadow200);
20
+ box-shadow: 0px 2px 5px rgba(var(--color-base-900-rgb), 0.3);
21
21
  &:hover {
22
- @apply bg-gray200;
22
+ @apply bg-base-400;
23
23
  }
24
24
  }
25
25
  .govgr-accessibility-menu__content {
26
- @apply bg-gray50 absolute top-0 bottom-0 p-4 flex flex-col max-w-md;
26
+ @apply bg-base-200 absolute top-0 bottom-0 p-4 flex flex-col max-w-md;
27
27
  }
28
28
 
29
29
  .govgr-accessibility-menu__header {
@@ -45,7 +45,7 @@
45
45
 
46
46
  .govgr-accessibility-menu__option-btn {
47
47
  @apply flex flex-col gap-2 ;
48
- @apply bg-white border-white border-2;
48
+ @apply bg-base-100 border-base-100 border-2;
49
49
  @apply w-full sm:w-fit leading-tight m-0 !important;
50
50
  padding: calc(1rem + 2px) !important;
51
51
  &:hover {
@@ -67,7 +67,7 @@
67
67
  @apply flex flex-nowrap w-full gap-2 h-1 mt-2 opacity-0;
68
68
  }
69
69
  .govgr-accessibility-menu__step {
70
- @apply bg-gray100 w-full;
70
+ @apply bg-base-300 w-full;
71
71
  }
72
72
  .govgr-accessibility-menu__step--active {
73
73
  @apply bg-success;
@@ -3,7 +3,7 @@
3
3
  @apply text-right;
4
4
  }
5
5
  .govgr-accordion__section {
6
- @apply border-b border-gray200;
6
+ @apply border-b border-base-400;
7
7
  &:first-child {
8
8
  @apply border-t;
9
9
  }
@@ -12,7 +12,7 @@
12
12
  @apply border-0 !important;
13
13
  }
14
14
  .govgr-accordion__section-summary {
15
- @apply py-4 pr-8 hover:bg-gray50 transition ease-in-out cursor-pointer;
15
+ @apply py-4 pr-8 hover:bg-base-200 transition ease-in-out cursor-pointer;
16
16
  list-style: none;
17
17
  &::-webkit-details-marker {
18
18
  @apply hidden;
@@ -1,3 +1,3 @@
1
1
  .govgr-admin-footer {
2
- @apply border-0 border-solid font-normal text-base py-4 md:py-8 border-t-4 border-secondary600 text-gray600 bg-gray50 w-full;
2
+ @apply border-0 border-solid font-normal text-base py-4 md:py-8 border-t-4 border-tertiary text-base-800 bg-base-200 w-full;
3
3
  }
@@ -1,5 +1,5 @@
1
1
  .govgr-admin-filter-wrapper {
2
2
  .govgr-field:last-child {
3
- @apply border-b border-gray100 md:border-0 mb-0 pb-6;
3
+ @apply border-b border-base-300 md:border-0 mb-0 pb-6;
4
4
  }
5
5
  }
@@ -1,5 +1,5 @@
1
1
  .govgr-admin-header {
2
- @apply bg-primary print:bg-white border-b-8 print:border-b-2 border-secondary600;
2
+ @apply bg-primary print:bg-white border-b-8 print:border-b-2 border-tertiary;
3
3
  border-bottom-style: solid;
4
4
  }
5
5
  .govgr-admin-header__container {
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  .govgr-autocomplete__hint {
19
- @apply absolute text-gray200;
19
+ @apply absolute text-base-400;
20
20
  }
21
21
 
22
22
  .govgr-autocomplete--assestive__hint{
@@ -44,7 +44,7 @@
44
44
  }
45
45
 
46
46
  .govgr-autocomplete__menu {
47
- @apply bg-white m-0 max-h-96 overflow-x-hidden w-full m-0 p-0 border-2 border-t-0 border-base-content /* border-t-0 border-x-2 border-l-2 border-base-content */;
47
+ @apply bg-base-100 m-0 max-h-96 overflow-x-hidden w-full m-0 p-0 border-2 border-t-0 border-base-content /* border-t-0 border-x-2 border-l-2 border-base-content */;
48
48
 
49
49
  }
50
50
 
@@ -66,7 +66,7 @@
66
66
 
67
67
  .govgr-autocomplete__option {
68
68
  @apply cursor-pointer block relative;
69
- border-bottom: solid var(--color-gray200);
69
+ border-bottom: solid var(--color-base-400);
70
70
  border-width: 1px 0;
71
71
  }
72
72
 
@@ -83,16 +83,16 @@
83
83
  }
84
84
 
85
85
  .govgr-autocomplete__option--odd {
86
- @apply bg-gray100;
86
+ @apply bg-base-300;
87
87
  }
88
88
 
89
89
  .govgr-autocomplete__option--focused,
90
90
  .govgr-autocomplete__option:hover {
91
91
  .govgr-hint {
92
- @apply text-gray100;
92
+ @apply text-base-300;
93
93
  }
94
- @apply bg-secondary600 text-white outline-none;
95
- border-color: var(--color-secondary600);
94
+ @apply bg-info text-white outline-none;
95
+ border-color: var(--color-tertiary);
96
96
  }
97
97
 
98
98
  .govgr-autocomplete--status__wrapper{
@@ -1,5 +1,5 @@
1
1
  .govgr-bottom-info__container {
2
- @apply w-full bg-gray50 border-t border-gray200 py-2;
2
+ @apply w-full bg-base-200 border-t border-base-400 py-2;
3
3
  }
4
4
  /* .govgr-bottom-info__content {
5
5
 
@@ -1,5 +1,5 @@
1
1
  .govgr-btn {
2
- @apply font-medium cursor-pointer
2
+ @apply no-underline font-medium cursor-pointer
3
3
  m-0 mb-8 w-max min-h-10 md:min-h-12
4
4
  flex gap-x-3 items-center;
5
5
  border-radius: var(--btn-border-radius);
@@ -27,7 +27,7 @@
27
27
  @apply print:border-0 print:border-b-2 print:border-success print:text-base-content print:bg-white print:shadow-none;
28
28
  }
29
29
  .govgr-btn-secondary {
30
- @apply print:border-0 print:border-b-2 print:border-gray300 print:text-base-content print:bg-white print:shadow-none;
30
+ @apply print:border-0 print:border-b-2 print:border-base-500 print:text-base-content print:bg-white print:shadow-none;
31
31
  }
32
32
 
33
33
  .govgr-btn-warning {
@@ -62,10 +62,10 @@
62
62
  }
63
63
  }
64
64
  .govgr-btn-secondary {
65
- -webkit-box-shadow: 0 2px 0 var(--color-gray300);
66
- box-shadow: 0 2px 0 var(--color-gray300);
65
+ -webkit-box-shadow: 0 2px 0 var(--color-base-500);
66
+ box-shadow: 0 2px 0 var(--color-base-500);
67
67
  @apply hover:no-underline
68
- print:border-2 print:border-gray300 print:shadow-none;
68
+ print:border-2 print:border-base-700 print:shadow-none;
69
69
  background-color: var(--btn-secondary-background-color);
70
70
  color: var(--btn-secondary-color);
71
71
  &:hover {
@@ -94,7 +94,7 @@
94
94
  }
95
95
  .govgr-btn-disabled {
96
96
  @apply opacity-50 hover:bg-opacity-50 cursor-not-allowed
97
- print:text-gray200 print:border-opacity-50;
97
+ print:text-base-400 print:border-opacity-50;
98
98
  }
99
99
  .govgr-btn-link {
100
100
  @apply block;
@@ -8,7 +8,7 @@
8
8
  }
9
9
  }
10
10
  .govgr-card--divider {
11
- @apply border-b border-gray100 pb-4 mb-4;
11
+ @apply border-b border-base-300 pb-4 mb-4;
12
12
  }
13
13
  .govgr-card__heading {
14
14
  word-break: break-word;
@@ -73,7 +73,7 @@
73
73
  }
74
74
  }
75
75
  .govgr-card--border-top {
76
- @apply border-t border-gray100 pt-4;
76
+ @apply border-t border-base-300 pt-4;
77
77
  &.govgr-card--border-dark {
78
78
  @apply border-t-3;
79
79
  }
@@ -82,5 +82,5 @@
82
82
  @apply border-base-content;
83
83
  }
84
84
  .govgr-card--border-gray {
85
- @apply border-gray100;
85
+ @apply border-base-300;
86
86
  }
@@ -19,7 +19,7 @@
19
19
  -webkit-box-sizing: border-box;
20
20
  box-sizing: border-box;
21
21
  @apply absolute top-0 left-0 w-10 h-10
22
- border-solid border-base-content border-2 bg-white opacity-100;
22
+ border-solid border-base-content border-2 bg-base-100 opacity-100;
23
23
  }
24
24
  &:after {
25
25
  content: "";
@@ -54,7 +54,7 @@
54
54
  @apply text-lg text-center w-10 mb-4;
55
55
  }
56
56
  .govgr-checkboxes__conditional, .govgr-radios__conditional {
57
- @apply border-l-4 border-gray300 ml-4 pl-6;
57
+ @apply border-l-4 border-base-500 ml-4 pl-6;
58
58
  }
59
59
  .govgr-checkboxes__conditional--hidden, .govgr-radios__conditional--hidden {
60
60
  @apply hidden;
@@ -1,3 +1,3 @@
1
1
  .govgr-cookie-banner {
2
- @apply bg-gray50;
2
+ @apply bg-base-200;
3
3
  }
@@ -25,7 +25,7 @@
25
25
  line-height: var(--details__summary--l-line-height);
26
26
  }
27
27
  .govgr-details__summary-text {
28
- @apply border-l-2 border-gray300 py-2 px-4 mt-4;
28
+ @apply border-l-2 border-base-500 py-2 px-4 mt-4;
29
29
  >*:last-child {
30
30
  @apply mb-0;
31
31
  }
@@ -1,8 +1,17 @@
1
1
  .govgr-drawer{
2
- @apply border border-gray100 md:block bg-white p-4
3
- h-full max-h-screen overflow-y-scroll w-4/5 min-h-screen
4
- fixed top-0 bottom-0 z-40 md:shadow-none shadow-thick
5
- md:relative md:overflow-auto md:w-full;
2
+ @apply border border-base-300 bg-base-100 p-4
3
+ h-full max-h-screen min-h-screen overflow-y-scroll w-4/5 max-w-md
4
+ fixed top-0 bottom-0 z-40;
5
+ @apply shadow-thick !important;
6
+ }
7
+ .govgr-drawer--relative-sm{
8
+ @apply sm:block sm:relative sm:w-full max-h-full shadow-thick sm:shadow-none !important;
9
+ }
10
+ .govgr-drawer--relative-md{
11
+ @apply md:block md:relative md:w-full max-h-full shadow-thick md:shadow-none !important;
12
+ }
13
+ .govgr-drawer--relative-lg{
14
+ @apply lg:block lg:relative lg:w-full max-h-full shadow-thick lg:shadow-none !important;
6
15
  }
7
16
  .govgr-drawer--right {
8
17
  @apply right-0;
@@ -11,13 +20,13 @@
11
20
  @apply left-0 ;
12
21
  }
13
22
  .govgr-drawer--closed {
14
- @apply hidden md:block;
23
+ @apply hidden;
15
24
  }
16
- .govgr-drawer__burger-icon {
17
- @apply md:hidden mb-0;
25
+ .govgr-drawer__close-container {
26
+ @apply flex-grow;
18
27
  }
19
28
  .govgr-drawer__close-icon {
20
- @apply flex flex-nowrap md:hidden text-right w-max float-right;
29
+ @apply flex flex-nowrap text-right w-max float-right items-center;
21
30
  .govgr-close-icon {
22
31
  @apply w-5 h-5 z-30 float-right;
23
32
  @apply ml-1 !important;
@@ -47,10 +47,10 @@
47
47
  @apply mt-4;
48
48
  }
49
49
  .govgr-dropdown__content {
50
- @apply border border-gray200 p-4 bg-white border-t-0
50
+ @apply border border-base-400 p-4 bg-base-100 border-t-0
51
51
  max-w-xs w-max min-w-full absolute transition z-1 mr-4 -mt-4;
52
- -webkit-box-box-shadow: 0 2px 8px var(--color-shadow200), 0 -2px 0 var(--color-gray300);
53
- box-shadow: 0 2px 8px var(--color-shadow200), 0 -2px 0 var(--color-gray300);
52
+ -webkit-box-box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 -2px 0 var(--color-base-500);
53
+ box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 -2px 0 var(--color-base-500);
54
54
  *:last-child {
55
55
  @apply mb-0;
56
56
  }
@@ -63,7 +63,7 @@
63
63
  .govgr-vertical-nav {
64
64
  @apply -mx-4 flex-col;
65
65
  .govgr-vertical-nav__item {
66
- @apply border-b border-gray100 py-2 px-4;
66
+ @apply border-b border-base-300 py-2 px-4;
67
67
  &:last-child {
68
68
  @apply border-0;
69
69
  }
@@ -77,8 +77,8 @@
77
77
  .govgr-dropdown--up {
78
78
  .govgr-dropdown__content {
79
79
  @apply mb-4 border border-b-0 bottom-full;
80
- -webkit-box-box-shadow: 0 2px 8px var(--color-shadow200), 0 2px 0 var(--color-gray300);
81
- box-shadow: 0 2px 8px var(--color-shadow200), 0 2px 0 var(--color-gray300);
80
+ -webkit-box-box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 2px 0 var(--color-base-500);
81
+ box-shadow: 0 2px 8px rgba(var(--color-base-900-rgb), 0.3), 0 2px 0 var(--color-base-500);
82
82
  }
83
83
  }
84
84
  .govgr-dropdown--right {
@@ -96,7 +96,7 @@
96
96
  }
97
97
  .govgr-header, .govgr-admin-header {
98
98
  .govgr-dropdown__button.govgr-link {
99
- @apply text-lg text-header-content focus:text-base-content print:text-gray600;
99
+ @apply text-lg text-white focus:text-base-content print:text-base-800;
100
100
  }
101
101
  .govgr-dropdown {
102
102
  @apply print:hidden;
@@ -109,4 +109,7 @@
109
109
  .govgr-dropdown__button {
110
110
  @apply mb-0;
111
111
  }
112
+ .govgr-caret-container{
113
+ @apply flex flex-col;
114
+ }
112
115
  }
@@ -1,9 +1,9 @@
1
1
  .govgr-fillable-text {
2
- @apply lg:mb-8 mb-4 md:mb-8 p-4 border-l-6 border-gray100 bg-gray50
2
+ @apply lg:mb-8 mb-4 md:mb-8 p-4 border-l-6 border-base-300 bg-base-200
3
3
  text-base-content md:text-lg leading-relaxed text-base;
4
4
  }
5
5
  .govgr-labeled-text {
6
- @apply bg-gray100 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-gray600;
6
+ @apply bg-base-300 w-fit inline-block px-3 mx-1 mt-px font-bold border-0 border-b-2 border-base-800;
7
7
  }
8
8
  .govgr-labeled-text--active {
9
9
  @apply bg-focus;
@@ -1,6 +1,6 @@
1
1
  .govgr-filter {
2
- @apply bg-white fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
3
- box-shadow: 0 0 30px var(--color-shadow600);
2
+ @apply bg-base-100 fixed top-0 right-0 bottom-0 overflow-y-scroll z-40 w-4/5;
3
+ box-shadow: 0 0 30px rgba(var(--color-base-900-rgb), 0.9);
4
4
  .govgr-select {
5
5
  @apply w-full;
6
6
  }
@@ -32,7 +32,7 @@
32
32
  }
33
33
  }
34
34
  .govgr-filter--border {
35
- @apply border border-gray100 p-4;
35
+ @apply border border-base-300 p-4;
36
36
  }
37
37
  .govgr-filter--closed {
38
38
  @apply hidden;
@@ -84,7 +84,7 @@
84
84
  }
85
85
  }
86
86
  .govgr-filter__selected {
87
- @apply bg-gray50 p-4 m-0 rounded;
87
+ @apply bg-base-200 p-4 m-0 rounded;
88
88
  }
89
89
  .govgr-filter__selected--indicator {
90
90
  @apply md:hidden;
@@ -105,13 +105,13 @@
105
105
  @apply flex flex-wrap list-none;
106
106
  }
107
107
  .govgr-chip {
108
- @apply bg-white text-base-content lg:text-base text-sm border-2 border-base-content
108
+ @apply bg-base-100 text-base-content lg:text-base text-sm border-2 border-base-content
109
109
  inline-flex items-center px-2 py-1 mr-2 mb-2 rounded shadow;
110
110
  .govgr-close-icon {
111
111
  @apply w-4 h-4 ml-3;
112
112
  }
113
113
  &:hover {
114
- @apply shadow-lg text-base-content-invert bg-gray800 border-gray800 transition;
114
+ @apply shadow-lg text-base-content-invert bg-base-900 border-base-900 transition;
115
115
  .govgr-close-icon {
116
116
  fill: var(--color-base-content-invert);
117
117
  }
@@ -128,9 +128,9 @@
128
128
  }
129
129
 
130
130
  .govgr-input__search-btn {
131
+ @apply shadow-none !important;
131
132
  @apply
132
- bg-success border-b-2 border-base-content rounded-none
133
- text-lg text-white
133
+ border-b-2 border-base-content rounded-none
134
134
  px-4 py-2 w-min m-0 ml-3
135
135
  flex gap-2
136
136
  hover:bg-success-hover active:bg-success-hover hover:no-underline;
@@ -1,6 +1,6 @@
1
1
  .govgr-footer {
2
2
  @apply border-0 border-solid font-normal text-base py-4 md:py-8
3
- border-t-4 border-secondary600 text-gray600 bg-gray50 w-full
3
+ border-t-4 border-tertiary text-base-800 bg-base-200 w-full
4
4
  print:py-2 print:bg-white print:border-t-2;
5
5
  .govgr-section-break {
6
6
  @apply print:hidden;
@@ -85,9 +85,9 @@
85
85
  }
86
86
  }
87
87
  .govgr-footer__section-break {
88
- @apply m-auto px-4 py-2 border-t border-gray100 mb-5
88
+ @apply m-auto px-4 py-2 border-t border-base-300 mb-5
89
89
  print:hidden;
90
90
  }
91
91
  .govgr-footer__heading {
92
- @apply mb-4 pb-4 border-b border-gray100;
92
+ @apply mb-4 pb-4 border-b border-base-300;
93
93
  }
@@ -47,7 +47,7 @@
47
47
  }
48
48
  }
49
49
  .govgr-input, .govgr-select, .govgr-textarea{
50
- @apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-white;
50
+ @apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-base-100;
51
51
  text-indent: 2px;
52
52
  &:focus {
53
53
  outline: 4px solid var(--color-focus);
@@ -159,13 +159,13 @@
159
159
  .govgr-radios__input:disabled,
160
160
  .govgr-radios__input:disabled::before,
161
161
  .govgr-radios__input:disabled:checked:before {
162
- @apply bg-gray100 cursor-not-allowed;
162
+ @apply bg-base-300 cursor-not-allowed;
163
163
  }
164
164
  .govgr-input:disabled,
165
165
  .govgr-textarea:disabled,
166
166
  .govgr-checkboxes__input:disabled::before,
167
167
  .govgr-radios__input:disabled::before {
168
- @apply border-gray500 text-gray600;
168
+ @apply border-base-700 text-base-800;
169
169
  }
170
170
  .govgr-checkboxes__input:disabled:checked:after,
171
171
  .govgr-radios__input:disabled:checked:after {
@@ -1,5 +1,5 @@
1
1
  .govgr-full-page-background {
2
- @apply flex justify-center items-center content-center bg-opacity-50 bg-gray900
2
+ @apply flex justify-center items-center content-center bg-opacity-50 bg-base-1000
3
3
  fixed z-10 left-0 top-0 w-full h-full;
4
4
  }
5
5
  .govgr-loader__icon {
@@ -1,5 +1,5 @@
1
1
  .govgr-header {
2
- @apply bg-primary border-b-8 print:border-b-2 border-secondary600;
2
+ @apply bg-primary border-b-8 print:border-b-2 border-tertiary;
3
3
  @apply print:bg-white;
4
4
  border-bottom-style: solid;
5
5
  }
@@ -18,11 +18,11 @@
18
18
  @apply flex justify-start items-center gap-x-4 gap-y-2 print:gap-1;
19
19
  }
20
20
  .govgr-header-title {
21
- @apply text-header-content font-bold text-2xl leading-10 tracking-wide no-underline
21
+ @apply text-white font-bold text-2xl leading-10 tracking-wide no-underline
22
22
  w-auto align-middle hover:no-underline
23
23
  print:text-base-content;
24
24
  &:hover {
25
- @apply text-header-content
25
+ @apply text-white
26
26
  }
27
27
  }
28
28
  .govgr-header-title:focus {
@@ -48,7 +48,7 @@
48
48
  text-decoration: none;
49
49
  }
50
50
  .govgr-masthead {
51
- @apply print:border-2 print:bg-white print:border-secondary800 print:text-base-content;
51
+ @apply print:border-2 print:bg-white print:border-tertiary-300 print:text-base-content;
52
52
  .govgr-grid-column-two-thirds >*:last-child {
53
53
  @apply mb-0;
54
54
  }
@@ -57,17 +57,17 @@
57
57
  }
58
58
  }
59
59
  .govgr-masthead--primary{
60
- @apply bg-secondary600 text-content-dark;
60
+ @apply bg-tertiary text-white;
61
61
  .govgr-masthead-body{
62
- @apply text-base-content-invert;
62
+ @apply text-white;
63
63
  }
64
64
  .govgr-body {
65
- @apply text-content-dark;
65
+ @apply text-white;
66
66
  }
67
67
  }
68
68
  .govgr-masthead--secondary {
69
- @apply border-b border-base150 !important;
70
- @apply bg-gray50;
69
+ @apply border-b border-base-400 !important;
70
+ @apply bg-base-200;
71
71
  .govgr-masthead-body {
72
72
  @apply text-base-content;
73
73
  }
@@ -5,7 +5,7 @@
5
5
  @apply flex flex-nowrap gap-32 mb-16;
6
6
  }
7
7
  .govgr-kitchensink-category__heading {
8
- @apply uppercase text-gray300;
8
+ @apply uppercase text-base-500;
9
9
  }
10
10
  .govgr-kitchensink-letter-content {
11
11
  @apply flex flex-nowrap gap-16;
@@ -58,9 +58,6 @@
58
58
  .govgr-kitchensink-card .govgr-drawer--closed {
59
59
  @apply hidden;
60
60
  }
61
- .govgr-kitchensink-card .govgr-drawer__burger-icon {
62
- @apply block;
63
- }
64
61
  .govgr-kitchensink-card .govgr-drawer__close-icon {
65
62
  @apply block;
66
63
  }
@@ -46,7 +46,7 @@
46
46
  @apply m-auto px-4 py-2 border-0 w-full bg-transparent;
47
47
  }
48
48
  .govgr-section-break--visible {
49
- @apply border-t border-gray100 border-solid ;
49
+ @apply border-t border-base-300 border-solid ;
50
50
  }
51
51
  .govgr-section-break--m {
52
52
  @apply mb-5;
@@ -6,7 +6,7 @@
6
6
  @apply border-8;
7
7
  }
8
8
  .govgr-blockquote {
9
- @apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-gray300;
9
+ @apply lg:mb-8 mb-4 mt-8 md:mb-8 p-4 border-l-8 border-base-500;
10
10
  }
11
11
  .govgr-error-summary {
12
12
  @apply border-5 border-error mb-6 md:mb-8 p-4 md:p-5;
@@ -15,7 +15,7 @@
15
15
  font-size: var(--warning-text-font-size);
16
16
  @apply flex pl-0 pr-0;
17
17
  .govgr-warning-text__icon {
18
- @apply text-white font-bold bg-base-content text-3xl leading-10 text-center
18
+ @apply text-base-content-invert font-bold bg-base-content text-3xl leading-10 text-center
19
19
  rounded-3xl md:min-h-10 min-w-10 h-fit mr-6 mt-1
20
20
  print:bg-white print:border-2 print:border-base-content print:text-base-content;
21
21
  }
@@ -47,11 +47,11 @@
47
47
  &:hover {
48
48
  .tooltiptext {
49
49
  @apply block opacity-100 absolute w-64 -ml-32 top-8 left-1/2 px-4 py-2 z-1;
50
- @apply text-white rounded-sm bg-primary200 bg-opacity-90 shadow;
50
+ @apply text-white rounded-sm bg-base-content bg-opacity-90 shadow;
51
51
 
52
52
  &::after {
53
53
  content: "";
54
- @apply -top-3 left-1/2 -mr-1 border-6 border-primary200 opacity-85 absolute;
54
+ @apply -top-3 left-1/2 -mr-1 border-6 border-base-content opacity-85 absolute;
55
55
  border-right-color: transparent;
56
56
  border-left-color: transparent;
57
57
  border-top-color: transparent;
@@ -1,13 +1,13 @@
1
1
  .govgr-modal {
2
2
  @apply hidden justify-center items-center content-center text-left
3
- mb-7 text-base-content bg-opacity-50 bg-gray300
3
+ mb-7 text-base-content bg-opacity-50 bg-base-700
4
4
  fixed z-50 left-0 top-0 w-full h-full overflow-auto;
5
5
  }
6
6
  .govgr-modal__body {
7
7
  @apply w-full max-w-md md:max-w-lg lg:max-w-4xl
8
8
  h-fit md:h-auto overflow-y-auto
9
- bg-white
10
- border border-solid border-gray300;
9
+ bg-base-100
10
+ border border-solid border-base-500;
11
11
  max-height:95vh;
12
12
  }
13
13
  .govgr-modal__content {
@@ -1,7 +1,7 @@
1
1
  .govgr-header {
2
2
  @apply relative;
3
3
  .govgr-burger-icon {
4
- fill: var(--color-header-content);
4
+ fill: var(--color-white);
5
5
  }
6
6
  .govgr-drawer__close-icon {
7
7
  @apply sm:hidden;
@@ -35,7 +35,7 @@
35
35
  }
36
36
  }
37
37
  .govgr-nav__list--active {
38
- @apply sm:bg-secondary600 !important;
38
+ @apply sm:bg-tertiary !important;
39
39
  }
40
40
  }
41
41
  .govgr-burger-icon {
@@ -81,14 +81,16 @@
81
81
  /* --- NAV --- */
82
82
  .govgr-nav {
83
83
  @apply sm:block !important;
84
- @apply xs:hidden w-3/4 sm:w-full h-full bg-white sm:h-auto xs:text-content z-30 sm:z-auto
84
+ @apply xs:hidden w-3/4 sm:w-full h-full bg-base-100
85
+ sm:h-auto sm:bg-base-100 xs:text-base-content
86
+ z-30 sm:z-auto
85
87
  opacity-100 right-0 top-0 sm:top-auto overflow-x-scroll sm:overflow-visible;
86
88
  }
87
89
  .govgr-nav--fixed {
88
90
  @apply fixed sm:relative;
89
91
  }
90
92
  .govgr-nav--border {
91
- @apply sm:border-b sm:border-base150;
93
+ @apply sm:border-b sm:border-base-400;
92
94
  }
93
95
  .govgr-nav--open {
94
96
  @apply xs:block;
@@ -180,7 +182,7 @@
180
182
  @apply hidden;
181
183
  }
182
184
  .govgr-nav-menu--horizontal {
183
- @apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-white;
185
+ @apply sm:order-2 sm:left-0 sm:right-0 sm:relative sm:mt-3 sm:bg-base-100;
184
186
  .govgr-main-wrapper {
185
187
  @apply xs:gap-y-2;
186
188
  }