@markopolo_ai_inc/markopolo-email-editor 1.0.3

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 (91) hide show
  1. package/README.md +63 -0
  2. package/build/asset-manifest.json +12 -0
  3. package/build/favicon.ico +0 -0
  4. package/build/index.html +1 -0
  5. package/build/logo192.png +0 -0
  6. package/build/logo512.png +0 -0
  7. package/build/manifest.json +25 -0
  8. package/build/robots.txt +3 -0
  9. package/build/static/css/main.588cb535.css +9 -0
  10. package/build/static/js/206.a4343501.chunk.js +1 -0
  11. package/build/static/js/main.053d366a.js +2 -0
  12. package/build/static/js/main.053d366a.js.LICENSE.txt +56 -0
  13. package/package.json +64 -0
  14. package/public/favicon.ico +0 -0
  15. package/public/index.html +50 -0
  16. package/public/logo192.png +0 -0
  17. package/public/logo512.png +0 -0
  18. package/public/manifest.json +25 -0
  19. package/public/robots.txt +3 -0
  20. package/src/App.js +15 -0
  21. package/src/components/EmailEditor/assets/App.css +339 -0
  22. package/src/components/EmailEditor/assets/Columns.css +309 -0
  23. package/src/components/EmailEditor/assets/Header.css +174 -0
  24. package/src/components/EmailEditor/assets/ImageBlock.css +12 -0
  25. package/src/components/EmailEditor/assets/Preview.css +30 -0
  26. package/src/components/EmailEditor/assets/RichText.css +199 -0
  27. package/src/components/EmailEditor/assets/RightSettings.css +520 -0
  28. package/src/components/EmailEditor/assets/Sidebar.css +195 -0
  29. package/src/components/EmailEditor/components/BlockItems/ButtonBlock.js +25 -0
  30. package/src/components/EmailEditor/components/BlockItems/DividerBlock.js +19 -0
  31. package/src/components/EmailEditor/components/BlockItems/HeadingBlock.js +16 -0
  32. package/src/components/EmailEditor/components/BlockItems/ImageBlock.js +28 -0
  33. package/src/components/EmailEditor/components/BlockItems/MenuBlock.js +52 -0
  34. package/src/components/EmailEditor/components/BlockItems/SocialLinkBlocks.js +26 -0
  35. package/src/components/EmailEditor/components/BlockItems/SpacerBlock.js +23 -0
  36. package/src/components/EmailEditor/components/BlockItems/TextBlock.js +16 -0
  37. package/src/components/EmailEditor/components/BlockItems/index.js +25 -0
  38. package/src/components/EmailEditor/components/ColorPicker/index.js +26 -0
  39. package/src/components/EmailEditor/components/Column/index.js +253 -0
  40. package/src/components/EmailEditor/components/Header/index.js +243 -0
  41. package/src/components/EmailEditor/components/LeftSideBar/index.js +253 -0
  42. package/src/components/EmailEditor/components/Main/index.js +281 -0
  43. package/src/components/EmailEditor/components/Preview/index.js +97 -0
  44. package/src/components/EmailEditor/components/RichText/Bold.js +37 -0
  45. package/src/components/EmailEditor/components/RichText/FontColor.js +39 -0
  46. package/src/components/EmailEditor/components/RichText/InsertOrderedList.js +36 -0
  47. package/src/components/EmailEditor/components/RichText/InsertUnorderedList.js +36 -0
  48. package/src/components/EmailEditor/components/RichText/Italic.js +36 -0
  49. package/src/components/EmailEditor/components/RichText/Link.js +99 -0
  50. package/src/components/EmailEditor/components/RichText/RichTextLayout.js +53 -0
  51. package/src/components/EmailEditor/components/RichText/Strikethrough.js +36 -0
  52. package/src/components/EmailEditor/components/RichText/TextAlign.js +58 -0
  53. package/src/components/EmailEditor/components/RichText/Underline.js +36 -0
  54. package/src/components/EmailEditor/components/RichText/index.js +210 -0
  55. package/src/components/EmailEditor/components/RightSetting/index.js +126 -0
  56. package/src/components/EmailEditor/components/StyleSettings/ButtonStyleSettings.js +141 -0
  57. package/src/components/EmailEditor/components/StyleSettings/ColumnStyleSettings.js +241 -0
  58. package/src/components/EmailEditor/components/StyleSettings/DividerStyleSettings.js +111 -0
  59. package/src/components/EmailEditor/components/StyleSettings/HeadingStyleSettings.js +162 -0
  60. package/src/components/EmailEditor/components/StyleSettings/ImageStyleSettings.js +217 -0
  61. package/src/components/EmailEditor/components/StyleSettings/MenuStyleSettings.js +177 -0
  62. package/src/components/EmailEditor/components/StyleSettings/PaddingSettings.js +30 -0
  63. package/src/components/EmailEditor/components/StyleSettings/SocialLinkSettings.js +250 -0
  64. package/src/components/EmailEditor/components/StyleSettings/SpacerStyleSettings.js +38 -0
  65. package/src/components/EmailEditor/components/StyleSettings/TextStyleSettings.js +108 -0
  66. package/src/components/EmailEditor/components/StyleSettings/index.js +32 -0
  67. package/src/components/EmailEditor/configs/getBlockConfigsList.js +263 -0
  68. package/src/components/EmailEditor/configs/getColumnConfigFunc.js +59 -0
  69. package/src/components/EmailEditor/configs/getColumnsSettings.js +246 -0
  70. package/src/components/EmailEditor/configs/useDataSource.js +19 -0
  71. package/src/components/EmailEditor/index.js +93 -0
  72. package/src/components/EmailEditor/reducers/index.js +173 -0
  73. package/src/components/EmailEditor/translation/en.js +166 -0
  74. package/src/components/EmailEditor/translation/index.js +39 -0
  75. package/src/components/EmailEditor/translation/zh.js +166 -0
  76. package/src/components/EmailEditor/utils/classNames.js +5 -0
  77. package/src/components/EmailEditor/utils/dataToHTML.js +323 -0
  78. package/src/components/EmailEditor/utils/exportValidation.js +296 -0
  79. package/src/components/EmailEditor/utils/helpers.js +48 -0
  80. package/src/components/EmailEditor/utils/pexels.js +20 -0
  81. package/src/components/EmailEditor/utils/useSection.js +24 -0
  82. package/src/components/EmailEditor/utils/useStyleLayout.js +82 -0
  83. package/src/index.css +99 -0
  84. package/src/index.js +15 -0
  85. package/src/logo.svg +1 -0
  86. package/src/pages/AppPage/index.js +10 -0
  87. package/src/pages/Dashboard/Header.js +192 -0
  88. package/src/pages/Dashboard/defaultBlockList.json +1758 -0
  89. package/src/pages/Dashboard/index.js +48 -0
  90. package/src/reportWebVitals.js +13 -0
  91. package/src/setupTests.js +5 -0
@@ -0,0 +1,56 @@
1
+ /*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */
6
+
7
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
8
+
9
+ /**
10
+ * @license React
11
+ * react-dom.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */
18
+
19
+ /**
20
+ * @license React
21
+ * react-jsx-runtime.production.min.js
22
+ *
23
+ * Copyright (c) Facebook, Inc. and its affiliates.
24
+ *
25
+ * This source code is licensed under the MIT license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */
28
+
29
+ /**
30
+ * @license React
31
+ * react.production.min.js
32
+ *
33
+ * Copyright (c) Facebook, Inc. and its affiliates.
34
+ *
35
+ * This source code is licensed under the MIT license found in the
36
+ * LICENSE file in the root directory of this source tree.
37
+ */
38
+
39
+ /**
40
+ * @license React
41
+ * scheduler.production.min.js
42
+ *
43
+ * Copyright (c) Facebook, Inc. and its affiliates.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE file in the root directory of this source tree.
47
+ */
48
+
49
+ /** @license React v16.13.1
50
+ * react-is.production.min.js
51
+ *
52
+ * Copyright (c) Facebook, Inc. and its affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ */
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@markopolo_ai_inc/markopolo-email-editor",
3
+ "version": "1.0.3",
4
+ "private": false,
5
+ "files": [
6
+ "build",
7
+ "public",
8
+ "src",
9
+ "README.md"
10
+ ],
11
+ "dependencies": {
12
+ "@fortawesome/fontawesome-svg-core": "1.2.27",
13
+ "@fortawesome/free-solid-svg-icons": "5.12.1",
14
+ "@fortawesome/react-fontawesome": "^0.2.0",
15
+ "@testing-library/jest-dom": "^5.16.3",
16
+ "@testing-library/react": "^14.0.0",
17
+ "@testing-library/user-event": "^13.5.0",
18
+ "antd": "^4.22.6",
19
+ "axios": "^1.7.0",
20
+ "clsx": "1.1.0",
21
+ "framer-motion": "^7.10.2",
22
+ "pexels": "^1.4.0",
23
+ "react": "^18.2.0",
24
+ "react-color": "^2.19.3",
25
+ "react-dom": "^18.0.0",
26
+ "react-redux": "^7.2.8",
27
+ "react-router-dom": "^5.1.2",
28
+ "react-scripts": "5.0.0",
29
+ "redux": "^4.2.0",
30
+ "redux-thunk": "^2.4.1",
31
+ "web-vitals": "^2.1.4"
32
+ },
33
+ "overrides": {
34
+ "@tootallnate/once": ">=3.0.1",
35
+ "nth-check": ">=2.0.1",
36
+ "serialize-javascript": ">=7.0.3",
37
+ "postcss": ">=8.4.31",
38
+ "webpack-dev-server": ">=5.2.1"
39
+ },
40
+ "scripts": {
41
+ "start": "react-scripts start",
42
+ "build": "react-scripts build",
43
+ "test": "react-scripts test",
44
+ "eject": "react-scripts eject"
45
+ },
46
+ "eslintConfig": {
47
+ "extends": [
48
+ "react-app",
49
+ "react-app/jest"
50
+ ]
51
+ },
52
+ "browserslist": {
53
+ "production": [
54
+ ">0.2%",
55
+ "not dead",
56
+ "not op_mini all"
57
+ ],
58
+ "development": [
59
+ "last 1 chrome version",
60
+ "last 1 firefox version",
61
+ "last 1 safari version"
62
+ ]
63
+ }
64
+ }
Binary file
@@ -0,0 +1,50 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <link rel="icon" href="https://img.icons8.com/bubbles/344/new-post.png" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <meta name="theme-color" content="#000000" />
9
+ <meta name="description" content="Web site created using create-react-app" />
10
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
11
+ <!--
12
+ manifest.json provides metadata used when your web app is installed on a
13
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14
+ -->
15
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16
+ <!--
17
+ Notice the use of %PUBLIC_URL% in the tags above.
18
+ It will be replaced with the URL of the `public` folder during the build.
19
+ Only files inside the `public` folder can be referenced from the HTML.
20
+
21
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22
+ work correctly both with client-side routing and a non-root public URL.
23
+ Learn how to configure a non-root public URL by running `npm run build`.
24
+ -->
25
+ <title>Markopolo Email Template Editor</title>
26
+ </head>
27
+ <style>
28
+ * {
29
+ padding: 0;
30
+ margin: 0;
31
+ box-sizing: border-box;
32
+ }
33
+ </style>
34
+
35
+ <body>
36
+ <noscript>You need to enable JavaScript to run this app.</noscript>
37
+ <div id="root"></div>
38
+ <!--
39
+ This HTML file is a template.
40
+ If you open it directly in the browser, you will see an empty page.
41
+
42
+ You can add webfonts, meta tags, or analytics to this file.
43
+ The build step will place the bundled scripts into the <body> tag.
44
+
45
+ To begin the development, run `npm start` or `yarn start`.
46
+ To create a production bundle, use `npm run build` or `yarn build`.
47
+ -->
48
+ </body>
49
+
50
+ </html>
Binary file
Binary file
@@ -0,0 +1,25 @@
1
+ {
2
+ "short_name": "Email Editor",
3
+ "name": "Email Editor - Design your own email",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ },
10
+ {
11
+ "src": "logo192.png",
12
+ "type": "image/png",
13
+ "sizes": "192x192"
14
+ },
15
+ {
16
+ "src": "logo512.png",
17
+ "type": "image/png",
18
+ "sizes": "512x512"
19
+ }
20
+ ],
21
+ "start_url": ".",
22
+ "display": "standalone",
23
+ "theme_color": "#000000",
24
+ "background_color": "#ffffff"
25
+ }
@@ -0,0 +1,3 @@
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
package/src/App.js ADDED
@@ -0,0 +1,15 @@
1
+ import AppPage from "./pages/AppPage";
2
+ import { createBrowserHistory } from "history";
3
+ import { Router } from "react-router-dom";
4
+
5
+ function App() {
6
+ const history = createBrowserHistory();
7
+
8
+ return (
9
+ <Router history={history}>
10
+ <AppPage />
11
+ </Router>
12
+ );
13
+ }
14
+
15
+ export default App;
@@ -0,0 +1,339 @@
1
+ @import "./RichText.css";
2
+ @import "./ImageBlock.css";
3
+ @import "./Sidebar.css";
4
+ @import "./Preview.css";
5
+ @import "./Header.css";
6
+ @import "./Columns.css";
7
+ @import "./RightSettings.css";
8
+
9
+ .email-editor * {
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ /* Email editor design tokens aligned to Nabiq dark theme (globals.scss .dark). */
14
+ :root {
15
+ color-scheme: dark;
16
+
17
+ /* Nabiq dark semantic tokens */
18
+ --ee-bg: #0a0a0a;
19
+ --ee-foreground: #fafafa;
20
+ --ee-primary: #d8fe91;
21
+ --ee-primary-foreground: #171717;
22
+ --ee-card: #171717;
23
+ --ee-muted: #262626;
24
+ --ee-muted-foreground: #a1a1a1;
25
+ --ee-border: #282828;
26
+ --ee-border-width: 1px;
27
+ --ee-radius: 0.5rem;
28
+ --ee-shadow:
29
+ 0px 1px 3px 0px rgba(0, 0, 0, 0.25), 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
30
+ --ee-shadow-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
31
+
32
+ --block-active-border: var(--ee-primary);
33
+ --block-hover-border: #b8e67a;
34
+ --block-empty-content-color: #374151;
35
+ --block-empty-content-background: rgba(216, 254, 145, 0.12);
36
+
37
+ --start-content-background: var(--ee-muted);
38
+ --start-content-font-color: var(--ee-muted-foreground);
39
+
40
+ --left-sidebar-background: var(--ee-muted);
41
+ --left-sidebar-tabs-background: var(--ee-card);
42
+ --left-sidebar-tab-color: var(--ee-foreground);
43
+ --left-sidebar-tab-hover-background: #404040;
44
+ --left-sidebar-tab-active-color: var(--ee-primary);
45
+ --rich-text-icon: rgba(216, 254, 145, 0.35);
46
+
47
+ --tools-font-color: var(--ee-primary-foreground);
48
+ --option-hover-color: rgba(216, 254, 145, 0.15);
49
+ --border-color: var(--ee-border);
50
+
51
+ --header-bg-color: var(--ee-card);
52
+ --header-icon-hover-color: var(--ee-foreground);
53
+ --header-icon-active-color: var(--ee-primary);
54
+ --header-icon-disabled-color: var(--ee-muted-foreground);
55
+ --header-drawer-close-bg-color: var(--ee-muted-foreground);
56
+ --header-drawer-close-color: var(--ee-foreground);
57
+ --header-drawer-close-hover-bg-color: #404040;
58
+ --header-drawer-head-bg-color: var(--ee-muted);
59
+
60
+ --right-settings-font-color: var(--ee-foreground);
61
+ --right-settings-title-font-color: var(--ee-muted-foreground);
62
+ --right-settings-block-title-font-color: var(--ee-foreground);
63
+ --right-settings-block-title-background-color: var(--ee-muted);
64
+
65
+ --column-background: var(--ee-muted);
66
+ --column-active-border: var(--ee-primary);
67
+ --column-un-active-border: var(--ee-border);
68
+ --column-divider-color: var(--ee-muted-foreground);
69
+
70
+ --align-style-item-active-color: var(--ee-primary);
71
+ --align-style-item-un-active-color: var(--ee-border);
72
+
73
+ --blue-500: var(--ee-primary);
74
+ --gray-400: var(--ee-muted-foreground);
75
+ --slate-100: var(--ee-muted);
76
+ --red-100: rgba(248, 113, 113, 0.2);
77
+ --red-500: #f87070;
78
+ }
79
+
80
+ img {
81
+ max-width: 100%;
82
+ }
83
+
84
+ .hover-visible {
85
+ width: 100%;
86
+ height: 100%;
87
+ position: absolute;
88
+ }
89
+
90
+ .font-semibold {
91
+ font-weight: 600;
92
+ }
93
+
94
+ .width-full {
95
+ width: 100%;
96
+ }
97
+
98
+ .margin-y-30 {
99
+ margin-top: 30px;
100
+ margin-bottom: 30px;
101
+ }
102
+
103
+ .margin-top-6 {
104
+ margin-top: 6px;
105
+ }
106
+
107
+ .margin-top-12 {
108
+ margin-top: 12px;
109
+ }
110
+
111
+ .margin-top-18 {
112
+ margin-top: 18px;
113
+ }
114
+
115
+ .margin-top-32 {
116
+ margin-top: 32px;
117
+ }
118
+
119
+ .height-full {
120
+ height: 100%;
121
+ }
122
+
123
+ .relative {
124
+ position: relative;
125
+ }
126
+
127
+ .absolute {
128
+ position: absolute;
129
+ }
130
+
131
+ .select-none {
132
+ user-select: none;
133
+ }
134
+
135
+ .margin-auto {
136
+ margin: auto;
137
+ }
138
+
139
+ .text-left {
140
+ text-align: left;
141
+ }
142
+
143
+ .text-center {
144
+ text-align: center;
145
+ }
146
+
147
+ .text-right {
148
+ text-align: right;
149
+ }
150
+
151
+ .inline-block {
152
+ display: inline-block;
153
+ }
154
+
155
+ .flex {
156
+ display: flex;
157
+ }
158
+
159
+ .justify-center {
160
+ justify-content: center;
161
+ }
162
+
163
+ .justify-between {
164
+ justify-content: space-between;
165
+ }
166
+
167
+ .items-center {
168
+ align-items: center;
169
+ }
170
+
171
+ .cursor-default {
172
+ cursor: default;
173
+ }
174
+
175
+ .cursor-pointer {
176
+ cursor: pointer;
177
+ }
178
+
179
+ .cursor-grab {
180
+ cursor: grab;
181
+ }
182
+
183
+ .border-transparent {
184
+ border-color: transparent;
185
+ }
186
+
187
+ ol {
188
+ list-style: auto;
189
+ margin-left: 11px;
190
+ }
191
+
192
+ ul {
193
+ list-style: disc;
194
+ margin-left: 11px;
195
+ }
196
+
197
+ a:hover {
198
+ text-decoration: underline;
199
+ }
200
+
201
+ @keyframes shake {
202
+ 0%,
203
+ 100% {
204
+ transform: translateX(0) rotate(0);
205
+ }
206
+
207
+ 5%,
208
+ 30%,
209
+ 50%,
210
+ 70%,
211
+ 90% {
212
+ transform: rotate(5deg);
213
+ }
214
+
215
+ 20%,
216
+ 40%,
217
+ 60%,
218
+ 80% {
219
+ transform: rotate(-5deg);
220
+ }
221
+ }
222
+
223
+ .ant-btn-primary {
224
+ background-color: var(--ee-primary);
225
+ border-color: var(--ee-primary);
226
+ }
227
+
228
+ .block-style_settings-collapse .ant-collapse-header {
229
+ font-weight: bold;
230
+ background-color: var(--start-content-background);
231
+ color: var(--start-content-font-color) !important;
232
+ }
233
+
234
+ .block-style_settings-collapse .ant-collapse-item {
235
+ margin-bottom: 12px;
236
+ padding: 0;
237
+ }
238
+
239
+ .block-style_settings-collapse .ant-collapse-content-box {
240
+ padding: 0 !important;
241
+ }
242
+
243
+ /* Dark theme for confirmation modals (Delete Column, Add Link, etc.) */
244
+ .ee-modal-dark .ant-modal-content {
245
+ background-color: var(--ee-card) !important;
246
+ border: var(--ee-border-width) solid var(--ee-border);
247
+ border-radius: var(--ee-radius);
248
+ box-shadow: var(--ee-shadow);
249
+ }
250
+ .ee-modal-dark .ant-modal-header {
251
+ background-color: var(--ee-card) !important;
252
+ border-bottom: var(--ee-border-width) solid var(--ee-border);
253
+ border-radius: var(--ee-radius) var(--ee-radius) 0 0;
254
+ }
255
+ .ee-modal-dark .ant-modal-title {
256
+ color: var(--ee-foreground) !important;
257
+ }
258
+ .ee-modal-dark .ant-modal-body {
259
+ background-color: var(--ee-card) !important;
260
+ color: var(--ee-foreground);
261
+ }
262
+ .ee-modal-dark .ant-modal-body p,
263
+ .ee-modal-dark .ant-modal-body .column-modal-context {
264
+ color: var(--ee-foreground);
265
+ }
266
+ .ee-modal-dark .ant-modal-close-x {
267
+ color: var(--ee-muted-foreground);
268
+ }
269
+ .ee-modal-dark .ant-modal-close-x:hover {
270
+ color: var(--ee-foreground);
271
+ }
272
+ .ee-modal-dark .ant-modal-footer {
273
+ background-color: var(--ee-card) !important;
274
+ border-top: var(--ee-border-width) solid var(--ee-border);
275
+ }
276
+ .ee-modal-dark .ant-modal-footer .ant-btn-default {
277
+ background-color: var(--ee-muted) !important;
278
+ border-color: var(--ee-border) !important;
279
+ color: var(--ee-foreground);
280
+ }
281
+ .ee-modal-dark .ant-modal-footer .ant-btn-default:hover {
282
+ border-color: var(--ee-primary);
283
+ color: var(--ee-primary);
284
+ }
285
+ .ee-modal-dark .ant-modal-footer .ant-btn-primary {
286
+ background-color: var(--ee-primary) !important;
287
+ border-color: var(--ee-primary) !important;
288
+ color: var(--ee-primary-foreground) !important;
289
+ }
290
+ .ee-modal-dark .ant-modal-footer .ant-btn-primary:hover {
291
+ background-color: #b8e67a !important;
292
+ border-color: #b8e67a !important;
293
+ color: var(--ee-primary-foreground) !important;
294
+ }
295
+ /* Input inside modal (e.g. Add Link) */
296
+ .ee-modal-dark .ant-modal-body .ant-input,
297
+ .ee-modal-dark .ant-modal-body .ant-input-affix-wrapper {
298
+ background-color: var(--ee-muted) !important;
299
+ border-color: var(--ee-border) !important;
300
+ color: var(--ee-foreground) !important;
301
+ }
302
+ .ee-modal-dark .ant-modal-body .ant-input:focus,
303
+ .ee-modal-dark .ant-modal-body .ant-input-affix-wrapper-focused {
304
+ border-color: var(--ee-primary) !important;
305
+ box-shadow: 0 0 0 1px var(--ee-primary) !important;
306
+ }
307
+ .ee-modal-dark .ant-modal-body .ant-input-group-addon {
308
+ background-color: var(--ee-muted) !important;
309
+ border-color: var(--ee-border) !important;
310
+ color: var(--ee-foreground);
311
+ }
312
+
313
+ /* Export validation modal: severity headings and location text (dark theme) */
314
+ .ee-modal-dark .export-validation-errors-heading {
315
+ color: var(--red-500);
316
+ }
317
+ .ee-modal-dark .export-validation-warnings-heading {
318
+ color: #fbbf24;
319
+ }
320
+ .ee-modal-dark .export-validation-info-heading {
321
+ color: #60a5fa;
322
+ }
323
+ .ee-modal-dark .export-validation-location {
324
+ color: var(--ee-muted-foreground);
325
+ }
326
+
327
+ /* Force InputNumber unit addon (px/%) dark – antd uses .ant-input-number-group-addon with #fafafa */
328
+ .email-editor .right-settings .ant-input-number-group-addon,
329
+ .email-editor
330
+ .right-settings
331
+ .ant-input-number-group-wrapper
332
+ .ant-input-number-group-addon {
333
+ background-color: var(--ee-muted) !important;
334
+ border-color: var(--ee-border) !important;
335
+ color: var(--ee-foreground) !important;
336
+ }
337
+ .email-editor .right-settings .ant-input-number-group-addon * {
338
+ color: var(--ee-foreground) !important;
339
+ }