@payloadcms/next 3.41.0-canary.2 → 3.41.0-internal.8617025

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/dist/cjs/withPayload.cjs +3 -3
  2. package/dist/cjs/withPayload.cjs.map +1 -1
  3. package/dist/elements/DocumentHeader/Tabs/Tab/index.scss +0 -2
  4. package/dist/elements/DocumentHeader/Tabs/index.d.ts.map +1 -1
  5. package/dist/elements/DocumentHeader/Tabs/index.js +1 -19
  6. package/dist/elements/DocumentHeader/Tabs/index.js.map +1 -1
  7. package/dist/elements/DocumentHeader/Tabs/index.scss +1 -1
  8. package/dist/elements/DocumentHeader/index.scss +1 -1
  9. package/dist/elements/Nav/NavWrapper/index.scss +1 -1
  10. package/dist/elements/Nav/index.scss +1 -1
  11. package/dist/prod/styles.css +1 -1
  12. package/dist/scss/app.scss +207 -0
  13. package/dist/scss/colors.scss +271 -0
  14. package/dist/scss/custom.css +1 -0
  15. package/dist/scss/queries.scss +27 -0
  16. package/dist/scss/resets.scss +19 -0
  17. package/dist/scss/styles.scss +11 -0
  18. package/dist/scss/svg.scss +10 -0
  19. package/dist/scss/toastify.scss +61 -0
  20. package/dist/scss/toasts.scss +144 -0
  21. package/dist/scss/type.scss +110 -0
  22. package/dist/scss/vars.scss +192 -0
  23. package/dist/scss/z-index.scss +9 -0
  24. package/dist/templates/Default/Wrapper/index.scss +1 -1
  25. package/dist/templates/Default/index.scss +1 -1
  26. package/dist/templates/Minimal/index.scss +1 -1
  27. package/dist/views/API/RenderJSON/index.scss +1 -1
  28. package/dist/views/API/index.scss +1 -1
  29. package/dist/views/Account/Settings/index.scss +1 -1
  30. package/dist/views/CreateFirstUser/index.scss +1 -1
  31. package/dist/views/Dashboard/Default/index.scss +1 -1
  32. package/dist/views/LivePreview/Preview/index.scss +1 -1
  33. package/dist/views/LivePreview/Toolbar/Controls/index.scss +1 -1
  34. package/dist/views/LivePreview/Toolbar/index.scss +1 -1
  35. package/dist/views/LivePreview/index.scss +1 -1
  36. package/dist/views/Logout/index.scss +1 -1
  37. package/dist/views/NotFound/index.scss +1 -1
  38. package/dist/views/ResetPassword/index.scss +1 -1
  39. package/dist/views/Unauthorized/index.scss +1 -1
  40. package/dist/views/Version/Default/index.scss +2 -1
  41. package/dist/views/Version/RenderFieldsToDiff/index.scss +1 -1
  42. package/dist/views/Version/Restore/index.scss +1 -1
  43. package/dist/views/Versions/index.scss +1 -1
  44. package/package.json +15 -19
@@ -0,0 +1,207 @@
1
+ @layer payload-default, payload;
2
+
3
+ @import 'styles';
4
+ @import './toasts.scss';
5
+ @import './colors.scss';
6
+
7
+ @layer payload-default {
8
+ :root {
9
+ --base-px: 20;
10
+ --base-body-size: 13;
11
+ --base: calc((var(--base-px) / var(--base-body-size)) * 1rem);
12
+
13
+ --breakpoint-xs-width: #{$breakpoint-xs-width};
14
+ --breakpoint-s-width: #{$breakpoint-s-width};
15
+ --breakpoint-m-width: #{$breakpoint-m-width};
16
+ --breakpoint-l-width: #{$breakpoint-l-width};
17
+ --scrollbar-width: 17px;
18
+
19
+ --theme-bg: var(--theme-elevation-0);
20
+ --theme-input-bg: var(--theme-elevation-0);
21
+ --theme-text: var(--theme-elevation-800);
22
+ --theme-overlay: rgba(5, 5, 5, 0.5);
23
+ --theme-baseline: #{$baseline-px};
24
+ --theme-baseline-body-size: #{$baseline-body-size};
25
+ --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
26
+ sans-serif;
27
+ --font-serif: 'Georgia', 'Bitstream Charter', 'Charis SIL', Utopia, 'URW Bookman L', serif;
28
+ --font-mono: 'SF Mono', Menlo, Consolas, Monaco, monospace;
29
+
30
+ --style-radius-s: #{$style-radius-s};
31
+ --style-radius-m: #{$style-radius-m};
32
+ --style-radius-l: #{$style-radius-l};
33
+
34
+ --z-popup: 10;
35
+ --z-nav: 20;
36
+ --z-modal: 30;
37
+ --z-status: 40;
38
+
39
+ --accessibility-outline: 2px solid var(--theme-text);
40
+ --accessibility-outline-offset: 2px;
41
+
42
+ --gutter-h: #{base(3)};
43
+ --spacing-view-bottom: var(--gutter-h);
44
+ --doc-controls-height: calc(var(--base) * 2.8);
45
+ --app-header-height: calc(var(--base) * 2.8);
46
+ --nav-width: 275px;
47
+ --nav-trans-time: 150ms;
48
+
49
+ @include mid-break {
50
+ --gutter-h: #{base(2)};
51
+ --app-header-height: calc(var(--base) * 2.4);
52
+ --doc-controls-height: calc(var(--base) * 2.4);
53
+ }
54
+
55
+ @include small-break {
56
+ --gutter-h: #{base(0.8)};
57
+ --spacing-view-bottom: calc(var(--base) * 2);
58
+ --nav-width: 100vw;
59
+ }
60
+ }
61
+
62
+ /////////////////////////////
63
+ // GLOBAL STYLES
64
+ /////////////////////////////
65
+
66
+ * {
67
+ box-sizing: border-box;
68
+ }
69
+
70
+ html {
71
+ @extend %body;
72
+ background: var(--theme-bg);
73
+ -webkit-font-smoothing: antialiased;
74
+
75
+ &[data-theme='dark'] {
76
+ --theme-bg: var(--theme-elevation-0);
77
+ --theme-text: var(--theme-elevation-1000);
78
+ --theme-input-bg: var(--theme-elevation-50);
79
+ --theme-overlay: rgba(5, 5, 5, 0.75);
80
+ color-scheme: dark;
81
+
82
+ ::selection {
83
+ color: var(--color-base-1000);
84
+ }
85
+
86
+ ::-moz-selection {
87
+ color: var(--color-base-1000);
88
+ }
89
+ }
90
+
91
+ @include mid-break {
92
+ font-size: 12px;
93
+ }
94
+ }
95
+
96
+ html,
97
+ body,
98
+ #app {
99
+ height: 100%;
100
+ }
101
+
102
+ body {
103
+ font-family: var(--font-body);
104
+ font-weight: 400;
105
+ color: var(--theme-text);
106
+ margin: 0;
107
+ // this is for the nav to be able to push the document over
108
+ overflow-x: hidden;
109
+ }
110
+
111
+ ::selection {
112
+ background: var(--color-success-250);
113
+ color: var(--theme-base-800);
114
+ }
115
+
116
+ ::-moz-selection {
117
+ background: var(--color-success-250);
118
+ color: var(--theme-base-800);
119
+ }
120
+
121
+ img {
122
+ max-width: 100%;
123
+ height: auto;
124
+ display: block;
125
+ }
126
+
127
+ h1 {
128
+ @extend %h1;
129
+ }
130
+
131
+ h2 {
132
+ @extend %h2;
133
+ }
134
+
135
+ h3 {
136
+ @extend %h3;
137
+ }
138
+
139
+ h4 {
140
+ @extend %h4;
141
+ }
142
+
143
+ h5 {
144
+ @extend %h5;
145
+ }
146
+
147
+ h6 {
148
+ @extend %h6;
149
+ }
150
+
151
+ p {
152
+ margin: 0;
153
+ }
154
+
155
+ ul,
156
+ ol {
157
+ padding-left: $baseline;
158
+ margin: 0;
159
+ }
160
+
161
+ :focus-visible {
162
+ outline: var(--accessibility-outline);
163
+ }
164
+
165
+ a {
166
+ color: currentColor;
167
+
168
+ &:focus {
169
+ &:not(:focus-visible) {
170
+ opacity: 0.8;
171
+ }
172
+ outline: none;
173
+ }
174
+
175
+ &:active {
176
+ opacity: 0.7;
177
+ outline: none;
178
+ }
179
+ }
180
+
181
+ svg {
182
+ vertical-align: middle;
183
+ }
184
+
185
+ dialog {
186
+ width: 100%;
187
+ border: 0;
188
+ padding: 0;
189
+ color: currentColor;
190
+ }
191
+
192
+ .payload__modal-item {
193
+ min-height: 100%;
194
+ background: transparent;
195
+ }
196
+
197
+ .payload__modal-container--enterDone {
198
+ overflow: auto;
199
+ }
200
+
201
+ .payload__modal-item--enter,
202
+ .payload__modal-item--enterDone {
203
+ z-index: var(--z-modal);
204
+ }
205
+
206
+ // @import '~payload-user-css'; TODO: re-enable this
207
+ }
@@ -0,0 +1,271 @@
1
+ @layer payload-default {
2
+ :root {
3
+ --color-base-0: rgb(255, 255, 255);
4
+ --color-base-50: rgb(245, 245, 245);
5
+ --color-base-100: rgb(235, 235, 235);
6
+ --color-base-150: rgb(221, 221, 221);
7
+ --color-base-200: rgb(208, 208, 208);
8
+ --color-base-250: rgb(195, 195, 195);
9
+ --color-base-300: rgb(181, 181, 181);
10
+ --color-base-350: rgb(168, 168, 168);
11
+ --color-base-400: rgb(154, 154, 154);
12
+ --color-base-450: rgb(141, 141, 141);
13
+ --color-base-500: rgb(128, 128, 128);
14
+ --color-base-550: rgb(114, 114, 114);
15
+ --color-base-600: rgb(101, 101, 101);
16
+ --color-base-650: rgb(87, 87, 87);
17
+ --color-base-700: rgb(74, 74, 74);
18
+ --color-base-750: rgb(60, 60, 60);
19
+ --color-base-800: rgb(47, 47, 47);
20
+ --color-base-850: rgb(34, 34, 34);
21
+ --color-base-900: rgb(20, 20, 20);
22
+ --color-base-950: rgb(7, 7, 7);
23
+ --color-base-1000: rgb(0, 0, 0);
24
+
25
+ --color-success-50: rgb(237, 245, 249);
26
+ --color-success-100: rgb(218, 237, 248);
27
+ --color-success-150: rgb(188, 225, 248);
28
+ --color-success-200: rgb(156, 216, 253);
29
+ --color-success-250: rgb(125, 204, 248);
30
+ --color-success-300: rgb(97, 190, 241);
31
+ --color-success-350: rgb(65, 178, 236);
32
+ --color-success-400: rgb(36, 164, 223);
33
+ --color-success-450: rgb(18, 148, 204);
34
+ --color-success-500: rgb(21, 135, 186);
35
+ --color-success-550: rgb(12, 121, 168);
36
+ --color-success-600: rgb(11, 110, 153);
37
+ --color-success-650: rgb(11, 97, 135);
38
+ --color-success-700: rgb(17, 88, 121);
39
+ --color-success-750: rgb(17, 76, 105);
40
+ --color-success-800: rgb(18, 66, 90);
41
+ --color-success-850: rgb(18, 56, 76);
42
+ --color-success-900: rgb(19, 44, 58);
43
+ --color-success-950: rgb(22, 33, 39);
44
+
45
+ --color-error-50: rgb(250, 241, 240);
46
+ --color-error-100: rgb(252, 229, 227);
47
+ --color-error-150: rgb(247, 208, 204);
48
+ --color-error-200: rgb(254, 193, 188);
49
+ --color-error-250: rgb(253, 177, 170);
50
+ --color-error-300: rgb(253, 154, 146);
51
+ --color-error-350: rgb(253, 131, 123);
52
+ --color-error-400: rgb(246, 109, 103);
53
+ --color-error-450: rgb(234, 90, 86);
54
+ --color-error-500: rgb(218, 75, 72);
55
+ --color-error-550: rgb(200, 62, 61);
56
+ --color-error-600: rgb(182, 54, 54);
57
+ --color-error-650: rgb(161, 47, 47);
58
+ --color-error-700: rgb(144, 44, 43);
59
+ --color-error-750: rgb(123, 41, 39);
60
+ --color-error-800: rgb(105, 39, 37);
61
+ --color-error-850: rgb(86, 36, 33);
62
+ --color-error-900: rgb(64, 32, 29);
63
+ --color-error-950: rgb(44, 26, 24);
64
+
65
+ --color-warning-50: rgb(249, 242, 237);
66
+ --color-warning-100: rgb(248, 232, 219);
67
+ --color-warning-150: rgb(243, 212, 186);
68
+ --color-warning-200: rgb(243, 200, 162);
69
+ --color-warning-250: rgb(240, 185, 136);
70
+ --color-warning-300: rgb(238, 166, 98);
71
+ --color-warning-350: rgb(234, 148, 58);
72
+ --color-warning-400: rgb(223, 132, 17);
73
+ --color-warning-450: rgb(204, 120, 15);
74
+ --color-warning-500: rgb(185, 108, 13);
75
+ --color-warning-550: rgb(167, 97, 10);
76
+ --color-warning-600: rgb(150, 87, 11);
77
+ --color-warning-650: rgb(134, 78, 11);
78
+ --color-warning-700: rgb(120, 70, 13);
79
+ --color-warning-750: rgb(105, 61, 13);
80
+ --color-warning-800: rgb(90, 55, 19);
81
+ --color-warning-850: rgb(73, 47, 21);
82
+ --color-warning-900: rgb(56, 38, 20);
83
+ --color-warning-950: rgb(38, 29, 21);
84
+
85
+ --color-blue-50: rgb(237, 245, 249);
86
+ --color-blue-100: rgb(218, 237, 248);
87
+ --color-blue-150: rgb(188, 225, 248);
88
+ --color-blue-200: rgb(156, 216, 253);
89
+ --color-blue-250: rgb(125, 204, 248);
90
+ --color-blue-300: rgb(97, 190, 241);
91
+ --color-blue-350: rgb(65, 178, 236);
92
+ --color-blue-400: rgb(36, 164, 223);
93
+ --color-blue-450: rgb(18, 148, 204);
94
+ --color-blue-500: rgb(21, 135, 186);
95
+ --color-blue-550: rgb(12, 121, 168);
96
+ --color-blue-600: rgb(11, 110, 153);
97
+ --color-blue-650: rgb(11, 97, 135);
98
+ --color-blue-700: rgb(17, 88, 121);
99
+ --color-blue-750: rgb(17, 76, 105);
100
+ --color-blue-800: rgb(18, 66, 90);
101
+ --color-blue-850: rgb(18, 56, 76);
102
+ --color-blue-900: rgb(19, 44, 58);
103
+ --color-blue-950: rgb(22, 33, 39);
104
+
105
+ --theme-border-color: var(--theme-elevation-150);
106
+
107
+ --theme-success-50: var(--color-success-50);
108
+ --theme-success-100: var(--color-success-100);
109
+ --theme-success-150: var(--color-success-150);
110
+ --theme-success-200: var(--color-success-200);
111
+ --theme-success-250: var(--color-success-250);
112
+ --theme-success-300: var(--color-success-300);
113
+ --theme-success-350: var(--color-success-350);
114
+ --theme-success-400: var(--color-success-400);
115
+ --theme-success-450: var(--color-success-450);
116
+ --theme-success-500: var(--color-success-500);
117
+ --theme-success-550: var(--color-success-550);
118
+ --theme-success-600: var(--color-success-600);
119
+ --theme-success-650: var(--color-success-650);
120
+ --theme-success-700: var(--color-success-700);
121
+ --theme-success-750: var(--color-success-750);
122
+ --theme-success-800: var(--color-success-800);
123
+ --theme-success-850: var(--color-success-850);
124
+ --theme-success-900: var(--color-success-900);
125
+ --theme-success-950: var(--color-success-950);
126
+
127
+ --theme-warning-50: var(--color-warning-50);
128
+ --theme-warning-100: var(--color-warning-100);
129
+ --theme-warning-150: var(--color-warning-150);
130
+ --theme-warning-200: var(--color-warning-200);
131
+ --theme-warning-250: var(--color-warning-250);
132
+ --theme-warning-300: var(--color-warning-300);
133
+ --theme-warning-350: var(--color-warning-350);
134
+ --theme-warning-400: var(--color-warning-400);
135
+ --theme-warning-450: var(--color-warning-450);
136
+ --theme-warning-500: var(--color-warning-500);
137
+ --theme-warning-550: var(--color-warning-550);
138
+ --theme-warning-600: var(--color-warning-600);
139
+ --theme-warning-650: var(--color-warning-650);
140
+ --theme-warning-700: var(--color-warning-700);
141
+ --theme-warning-750: var(--color-warning-750);
142
+ --theme-warning-800: var(--color-warning-800);
143
+ --theme-warning-850: var(--color-warning-850);
144
+ --theme-warning-900: var(--color-warning-900);
145
+ --theme-warning-950: var(--color-warning-950);
146
+
147
+ --theme-error-50: var(--color-error-50);
148
+ --theme-error-100: var(--color-error-100);
149
+ --theme-error-150: var(--color-error-150);
150
+ --theme-error-200: var(--color-error-200);
151
+ --theme-error-250: var(--color-error-250);
152
+ --theme-error-300: var(--color-error-300);
153
+ --theme-error-350: var(--color-error-350);
154
+ --theme-error-400: var(--color-error-400);
155
+ --theme-error-450: var(--color-error-450);
156
+ --theme-error-500: var(--color-error-500);
157
+ --theme-error-550: var(--color-error-550);
158
+ --theme-error-600: var(--color-error-600);
159
+ --theme-error-650: var(--color-error-650);
160
+ --theme-error-700: var(--color-error-700);
161
+ --theme-error-750: var(--color-error-750);
162
+ --theme-error-800: var(--color-error-800);
163
+ --theme-error-850: var(--color-error-850);
164
+ --theme-error-900: var(--color-error-900);
165
+ --theme-error-950: var(--color-error-950);
166
+
167
+ --theme-elevation-0: var(--color-base-0);
168
+ --theme-elevation-50: var(--color-base-50);
169
+ --theme-elevation-100: var(--color-base-100);
170
+ --theme-elevation-150: var(--color-base-150);
171
+ --theme-elevation-200: var(--color-base-200);
172
+ --theme-elevation-250: var(--color-base-250);
173
+ --theme-elevation-300: var(--color-base-300);
174
+ --theme-elevation-350: var(--color-base-350);
175
+ --theme-elevation-400: var(--color-base-400);
176
+ --theme-elevation-450: var(--color-base-450);
177
+ --theme-elevation-500: var(--color-base-500);
178
+ --theme-elevation-550: var(--color-base-550);
179
+ --theme-elevation-600: var(--color-base-600);
180
+ --theme-elevation-650: var(--color-base-650);
181
+ --theme-elevation-700: var(--color-base-700);
182
+ --theme-elevation-750: var(--color-base-750);
183
+ --theme-elevation-800: var(--color-base-800);
184
+ --theme-elevation-850: var(--color-base-850);
185
+ --theme-elevation-900: var(--color-base-900);
186
+ --theme-elevation-950: var(--color-base-950);
187
+ --theme-elevation-1000: var(--color-base-1000);
188
+ }
189
+
190
+ html[data-theme='dark'] {
191
+ --theme-border-color: var(--theme-elevation-150);
192
+
193
+ --theme-elevation-0: var(--color-base-900);
194
+ --theme-elevation-50: var(--color-base-850);
195
+ --theme-elevation-100: var(--color-base-800);
196
+ --theme-elevation-150: var(--color-base-750);
197
+ --theme-elevation-200: var(--color-base-700);
198
+ --theme-elevation-250: var(--color-base-650);
199
+ --theme-elevation-300: var(--color-base-600);
200
+ --theme-elevation-350: var(--color-base-550);
201
+ --theme-elevation-400: var(--color-base-450);
202
+ --theme-elevation-450: var(--color-base-400);
203
+ --theme-elevation-550: var(--color-base-350);
204
+ --theme-elevation-600: var(--color-base-300);
205
+ --theme-elevation-650: var(--color-base-250);
206
+ --theme-elevation-700: var(--color-base-200);
207
+ --theme-elevation-750: var(--color-base-150);
208
+ --theme-elevation-800: var(--color-base-100);
209
+ --theme-elevation-850: var(--color-base-50);
210
+ --theme-elevation-900: var(--color-base-0);
211
+ --theme-elevation-950: var(--color-base-0);
212
+ --theme-elevation-1000: var(--color-base-0);
213
+
214
+ --theme-success-50: var(--color-success-950);
215
+ --theme-success-100: var(--color-success-900);
216
+ --theme-success-150: var(--color-success-850);
217
+ --theme-success-200: var(--color-success-800);
218
+ --theme-success-250: var(--color-success-750);
219
+ --theme-success-300: var(--color-success-700);
220
+ --theme-success-350: var(--color-success-650);
221
+ --theme-success-400: var(--color-success-600);
222
+ --theme-success-450: var(--color-success-550);
223
+ --theme-success-550: var(--color-success-450);
224
+ --theme-success-600: var(--color-success-400);
225
+ --theme-success-650: var(--color-success-350);
226
+ --theme-success-700: var(--color-success-300);
227
+ --theme-success-750: var(--color-success-250);
228
+ --theme-success-800: var(--color-success-200);
229
+ --theme-success-850: var(--color-success-150);
230
+ --theme-success-900: var(--color-success-100);
231
+ --theme-success-950: var(--color-success-50);
232
+
233
+ --theme-warning-50: var(--color-warning-950);
234
+ --theme-warning-100: var(--color-warning-900);
235
+ --theme-warning-150: var(--color-warning-850);
236
+ --theme-warning-200: var(--color-warning-800);
237
+ --theme-warning-250: var(--color-warning-750);
238
+ --theme-warning-300: var(--color-warning-700);
239
+ --theme-warning-350: var(--color-warning-650);
240
+ --theme-warning-400: var(--color-warning-600);
241
+ --theme-warning-450: var(--color-warning-550);
242
+ --theme-warning-550: var(--color-warning-450);
243
+ --theme-warning-600: var(--color-warning-400);
244
+ --theme-warning-650: var(--color-warning-350);
245
+ --theme-warning-700: var(--color-warning-300);
246
+ --theme-warning-750: var(--color-warning-250);
247
+ --theme-warning-800: var(--color-warning-200);
248
+ --theme-warning-850: var(--color-warning-150);
249
+ --theme-warning-900: var(--color-warning-100);
250
+ --theme-warning-950: var(--color-warning-50);
251
+
252
+ --theme-error-50: var(--color-error-950);
253
+ --theme-error-100: var(--color-error-900);
254
+ --theme-error-150: var(--color-error-850);
255
+ --theme-error-200: var(--color-error-800);
256
+ --theme-error-250: var(--color-error-750);
257
+ --theme-error-300: var(--color-error-700);
258
+ --theme-error-350: var(--color-error-650);
259
+ --theme-error-400: var(--color-error-600);
260
+ --theme-error-450: var(--color-error-550);
261
+ --theme-error-550: var(--color-error-450);
262
+ --theme-error-600: var(--color-error-400);
263
+ --theme-error-650: var(--color-error-350);
264
+ --theme-error-700: var(--color-error-300);
265
+ --theme-error-750: var(--color-error-250);
266
+ --theme-error-800: var(--color-error-200);
267
+ --theme-error-850: var(--color-error-150);
268
+ --theme-error-900: var(--color-error-100);
269
+ --theme-error-950: var(--color-error-50);
270
+ }
271
+ }
@@ -0,0 +1 @@
1
+ /* Used as a placeholder for when the Payload app does not have custom CSS */
@@ -0,0 +1,27 @@
1
+ ////////////////////////////
2
+ // MEDIA QUERIES
3
+ /////////////////////////////
4
+
5
+ @mixin extra-small-break {
6
+ @media (max-width: $breakpoint-xs-width) {
7
+ @content;
8
+ }
9
+ }
10
+
11
+ @mixin small-break {
12
+ @media (max-width: $breakpoint-s-width) {
13
+ @content;
14
+ }
15
+ }
16
+
17
+ @mixin mid-break {
18
+ @media (max-width: $breakpoint-m-width) {
19
+ @content;
20
+ }
21
+ }
22
+
23
+ @mixin large-break {
24
+ @media (max-width: $breakpoint-l-width) {
25
+ @content;
26
+ }
27
+ }
@@ -0,0 +1,19 @@
1
+ @layer payload-default {
2
+ %btn-reset {
3
+ border: 0;
4
+ background: none;
5
+ box-shadow: none;
6
+ border-radius: 0;
7
+ padding: 0;
8
+ color: currentColor;
9
+ }
10
+ }
11
+
12
+ @mixin btn-reset {
13
+ border: 0;
14
+ background: none;
15
+ box-shadow: none;
16
+ border-radius: 0;
17
+ padding: 0;
18
+ color: currentColor;
19
+ }
@@ -0,0 +1,11 @@
1
+ @import 'vars';
2
+ @import 'z-index';
3
+
4
+ //////////////////////////////
5
+ // IMPORT OVERRIDES
6
+ //////////////////////////////
7
+
8
+ @import 'type';
9
+ @import 'queries';
10
+ @import 'resets';
11
+ @import 'svg';
@@ -0,0 +1,10 @@
1
+ @mixin color-svg($color) {
2
+ .stroke {
3
+ stroke: $color;
4
+ fill: none;
5
+ }
6
+
7
+ .fill {
8
+ fill: $color;
9
+ }
10
+ }
@@ -0,0 +1,61 @@
1
+ @import 'vars';
2
+ @import 'queries';
3
+
4
+ @layer payload-default {
5
+ .Toastify {
6
+ .Toastify__toast-container {
7
+ left: base(5);
8
+ transform: none;
9
+ right: base(5);
10
+ width: auto;
11
+ }
12
+
13
+ .Toastify__toast {
14
+ padding: base(0.5);
15
+ border-radius: $style-radius-m;
16
+ font-weight: 600;
17
+ }
18
+
19
+ .Toastify__close-button {
20
+ align-self: center;
21
+ opacity: 0.7;
22
+
23
+ &:hover {
24
+ opacity: 1;
25
+ }
26
+ }
27
+
28
+ .Toastify__toast--success {
29
+ color: var(--color-success-900);
30
+ background: var(--color-success-500);
31
+
32
+ .Toastify__progress-bar {
33
+ background-color: var(--color-success-900);
34
+ }
35
+ }
36
+
37
+ .Toastify__close-button--success {
38
+ color: var(--color-success-900);
39
+ }
40
+
41
+ .Toastify__toast--error {
42
+ background: var(--theme-error-500);
43
+ color: #fff;
44
+
45
+ .Toastify__progress-bar {
46
+ background-color: #fff;
47
+ }
48
+ }
49
+
50
+ .Toastify__close-button--light {
51
+ color: inherit;
52
+ }
53
+
54
+ @include mid-break {
55
+ .Toastify__toast-container {
56
+ left: $baseline;
57
+ right: $baseline;
58
+ }
59
+ }
60
+ }
61
+ }