@keenmate/pure-admin-theme-minimal 1.0.0-rc06 → 1.1.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.
- package/dist/minimal.css +1568 -538
- package/package.json +9 -4
- package/src/scss/minimal.scss +44 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keenmate/pure-admin-theme-minimal",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Minimal theme for Pure Admin",
|
|
5
5
|
"style": "dist/minimal.css",
|
|
6
6
|
"exports": {
|
|
@@ -15,14 +15,19 @@
|
|
|
15
15
|
"build": "sass src/scss:dist --no-source-map --silence-deprecation=import --load-path=../../node_modules",
|
|
16
16
|
"prepublishOnly": "npm run build"
|
|
17
17
|
},
|
|
18
|
-
"keywords": [
|
|
18
|
+
"keywords": [
|
|
19
|
+
"pure-admin",
|
|
20
|
+
"theme",
|
|
21
|
+
"minimal",
|
|
22
|
+
"css"
|
|
23
|
+
],
|
|
19
24
|
"author": "KeenMate",
|
|
20
25
|
"license": "MIT",
|
|
21
26
|
"peerDependencies": {
|
|
22
|
-
"@keenmate/pure-admin-core": "^1.0.0
|
|
27
|
+
"@keenmate/pure-admin-core": "^1.0.0"
|
|
23
28
|
},
|
|
24
29
|
"devDependencies": {
|
|
25
|
-
"@keenmate/pure-admin-core": "^1.0.0
|
|
30
|
+
"@keenmate/pure-admin-core": "^1.0.0",
|
|
26
31
|
"sass": "^1.70.0"
|
|
27
32
|
},
|
|
28
33
|
"publishConfig": {
|
package/src/scss/minimal.scss
CHANGED
|
@@ -120,13 +120,13 @@ $footer-height: 3.2rem; // 32px (10px base)
|
|
|
120
120
|
$sidebar-width: 29rem; // 290px (10px base)
|
|
121
121
|
|
|
122
122
|
// Layout-specific overrides
|
|
123
|
-
$
|
|
124
|
-
$
|
|
123
|
+
$main-bg: $minimal-white;
|
|
124
|
+
$subtle-bg: $minimal-white;
|
|
125
125
|
$header-bg: $minimal-gray-50;
|
|
126
126
|
$sidebar-bg: $minimal-gray-150;
|
|
127
127
|
$footer-bg: $minimal-gray-50;
|
|
128
|
-
$text-
|
|
129
|
-
$text-
|
|
128
|
+
$text-color-1: $base-text-color-1;
|
|
129
|
+
$text-color-2: $base-text-color-2;
|
|
130
130
|
$accent-hover: rgba($minimal-gray-800, 0.1);
|
|
131
131
|
$accent-light: rgba($minimal-gray-800, 0.05);
|
|
132
132
|
|
|
@@ -160,10 +160,10 @@ $table-hover-bg: $minimal-gray-100;
|
|
|
160
160
|
$table-stripe: $minimal-gray-200;
|
|
161
161
|
|
|
162
162
|
// Button colors - minimal grayscale approach with selective color
|
|
163
|
-
$btn-
|
|
164
|
-
$btn-
|
|
165
|
-
$btn-
|
|
166
|
-
$btn-
|
|
163
|
+
$btn-color-1-bg: $minimal-gray-800;
|
|
164
|
+
$btn-color-1-bg-hover: $minimal-gray-850;
|
|
165
|
+
$btn-bg-bg: $minimal-gray-400;
|
|
166
|
+
$btn-bg-bg-hover: $minimal-gray-500;
|
|
167
167
|
$btn-light-bg: $minimal-gray-100;
|
|
168
168
|
$btn-light-text: $minimal-gray-900;
|
|
169
169
|
$btn-light-bg-hover: $minimal-gray-600;
|
|
@@ -200,13 +200,19 @@ $modal-content-bg: $minimal-white;
|
|
|
200
200
|
// Pure Admin theme CSS variables
|
|
201
201
|
@include output-pa-css-variables;
|
|
202
202
|
|
|
203
|
+
// Input group - light gray background for light mode
|
|
204
|
+
--pa-input-group-prepend-bg: #{$minimal-gray-100};
|
|
205
|
+
--pa-input-group-prepend-text: #{$minimal-gray-800};
|
|
206
|
+
--pa-input-group-append-bg: #{$minimal-gray-100};
|
|
207
|
+
--pa-input-group-append-text: #{$minimal-gray-800};
|
|
208
|
+
|
|
203
209
|
// Web component overrides (light mode)
|
|
204
210
|
--drp-dropdown-bg: #{$minimal-white};
|
|
205
211
|
--drp-border-color: #{$minimal-gray-400};
|
|
206
212
|
--drp-primary-bg: #{$minimal-gray-50};
|
|
207
213
|
--drp-primary-bg-hover: #{$minimal-gray-100};
|
|
208
|
-
--drp-text-
|
|
209
|
-
--drp-text-
|
|
214
|
+
--drp-text-color-1: #{$minimal-gray-900};
|
|
215
|
+
--drp-text-bg: #{$minimal-gray-700};
|
|
210
216
|
--drp-button-bg: transparent;
|
|
211
217
|
--drp-button-color: #{$minimal-gray-900};
|
|
212
218
|
--drp-button-accent-text-color: #{$minimal-white};
|
|
@@ -238,20 +244,20 @@ $modal-content-bg: $minimal-white;
|
|
|
238
244
|
$dark-surface: #2e2e2e;
|
|
239
245
|
$dark-border: #404040;
|
|
240
246
|
$dark-text: #e8e8e8;
|
|
241
|
-
$dark-text-
|
|
247
|
+
$dark-text-bg: #a0a0a0;
|
|
242
248
|
|
|
243
249
|
--page-loader-bg: rgba(26, 26, 26, 0.95);
|
|
244
250
|
--page-loader-spinner-border: #404040;
|
|
245
251
|
--page-loader-spinner-accent: #e8e8e8;
|
|
246
252
|
|
|
247
253
|
// Core colors - dark backgrounds
|
|
248
|
-
--pa-
|
|
249
|
-
--pa-bg
|
|
250
|
-
--pa-
|
|
254
|
+
--pa-main-bg: #{$dark-bg};
|
|
255
|
+
--pa-page-bg: #{$dark-bg};
|
|
256
|
+
--pa-subtle-bg: #141414;
|
|
251
257
|
|
|
252
258
|
// Text colors - light text on dark bg
|
|
253
|
-
--pa-text-
|
|
254
|
-
--pa-text-
|
|
259
|
+
--pa-text-color-1: #{$dark-text};
|
|
260
|
+
--pa-text-color-2: #{$dark-text-bg};
|
|
255
261
|
|
|
256
262
|
// Accent stays grayscale
|
|
257
263
|
--pa-accent: #{$dark-text};
|
|
@@ -265,13 +271,13 @@ $modal-content-bg: $minimal-white;
|
|
|
265
271
|
--pa-header-bg: #{$dark-card};
|
|
266
272
|
--pa-header-border-color: #{$dark-border};
|
|
267
273
|
--pa-header-text: #{$dark-text};
|
|
268
|
-
--pa-header-text-secondary: #{$dark-text-
|
|
274
|
+
--pa-header-text-secondary: #{$dark-text-bg};
|
|
269
275
|
--pa-header-profile-name-color: #{$dark-text};
|
|
270
276
|
|
|
271
277
|
// Sidebar - dark grayscale
|
|
272
278
|
--pa-sidebar-bg: #{$dark-card};
|
|
273
279
|
--pa-sidebar-text: #{$dark-text};
|
|
274
|
-
--pa-sidebar-text-secondary: #{$dark-text-
|
|
280
|
+
--pa-sidebar-text-secondary: #{$dark-text-bg};
|
|
275
281
|
--pa-sidebar-submenu-bg: #{$dark-bg};
|
|
276
282
|
--pa-sidebar-submenu-hover-bg: rgba(255, 255, 255, 0.08);
|
|
277
283
|
--pa-sidebar-submenu-active-bg: #{$dark-surface};
|
|
@@ -294,9 +300,9 @@ $modal-content-bg: $minimal-white;
|
|
|
294
300
|
|
|
295
301
|
// Input group
|
|
296
302
|
--pa-input-group-prepend-bg: #{$dark-border};
|
|
297
|
-
--pa-input-group-prepend-text: #{$dark-text-
|
|
303
|
+
--pa-input-group-prepend-text: #{$dark-text-bg};
|
|
298
304
|
--pa-input-group-append-bg: #{$dark-border};
|
|
299
|
-
--pa-input-group-append-text: #{$dark-text-
|
|
305
|
+
--pa-input-group-append-text: #{$dark-text-bg};
|
|
300
306
|
|
|
301
307
|
// Input group buttons
|
|
302
308
|
.pa-input-group__button {
|
|
@@ -374,11 +380,21 @@ $modal-content-bg: $minimal-white;
|
|
|
374
380
|
--pa-info-bg-light: rgba(23, 162, 184, 0.2);
|
|
375
381
|
|
|
376
382
|
// Base variables for web components (dark mode)
|
|
383
|
+
// Semantic names (preferred)
|
|
384
|
+
--base-main-bg: #{$dark-card};
|
|
385
|
+
--base-page-bg: #{$dark-bg};
|
|
386
|
+
--base-subtle-bg: #{$dark-surface};
|
|
387
|
+
--base-hover-bg: #{$dark-surface};
|
|
388
|
+
--base-active-bg: #{$dark-border};
|
|
389
|
+
--base-disabled-bg: #{$dark-surface};
|
|
390
|
+
--base-elevated-bg: #{$dark-surface};
|
|
391
|
+
// Legacy aliases
|
|
377
392
|
--base-surface-1: #{$dark-card};
|
|
378
393
|
--base-surface-2: #{$dark-bg};
|
|
379
394
|
--base-surface-3: #{$dark-surface};
|
|
395
|
+
// Text colors
|
|
380
396
|
--base-text-color-1: #{$dark-text};
|
|
381
|
-
--base-text-color-2: #{$dark-text-
|
|
397
|
+
--base-text-color-2: #{$dark-text-bg};
|
|
382
398
|
--base-text-color-3: #707070;
|
|
383
399
|
--base-text-color-4: #505050;
|
|
384
400
|
--base-accent-color: #{$dark-text};
|
|
@@ -405,14 +421,14 @@ $modal-content-bg: $minimal-white;
|
|
|
405
421
|
--drp-border-color: #{$dark-border};
|
|
406
422
|
--drp-primary-bg: #{$dark-bg};
|
|
407
423
|
--drp-primary-bg-hover: #{$dark-surface};
|
|
408
|
-
--drp-text-
|
|
409
|
-
--drp-text-
|
|
424
|
+
--drp-text-color-1: #{$dark-text};
|
|
425
|
+
--drp-text-bg: #{$dark-text-bg};
|
|
410
426
|
--drp-button-bg: transparent;
|
|
411
427
|
--drp-button-color: #{$dark-text};
|
|
412
428
|
--drp-button-accent-text-color: #{$dark-bg};
|
|
413
429
|
--drp-button-today-color: #{$dark-text};
|
|
414
|
-
--drp-button-clear-color: #{$dark-text-
|
|
415
|
-
--drp-button-cancel-color: #{$dark-text-
|
|
430
|
+
--drp-button-clear-color: #{$dark-text-bg};
|
|
431
|
+
--drp-button-cancel-color: #{$dark-text-bg};
|
|
416
432
|
}
|
|
417
433
|
|
|
418
434
|
// Multiselect overrides (dark mode)
|
|
@@ -423,7 +439,7 @@ $modal-content-bg: $minimal-white;
|
|
|
423
439
|
--ms-primary-bg-hover: #{$dark-surface};
|
|
424
440
|
--ms-border-color: #{$dark-border};
|
|
425
441
|
--ms-text-color-1: #{$dark-text};
|
|
426
|
-
--ms-text-color-2: #{$dark-text-
|
|
442
|
+
--ms-text-color-2: #{$dark-text-bg};
|
|
427
443
|
--ms-text-color-3: #707070;
|
|
428
444
|
--ms-text-color-4: #505050;
|
|
429
445
|
--ms-hint-bg: #{$dark-bg};
|
|
@@ -442,7 +458,7 @@ $modal-content-bg: $minimal-white;
|
|
|
442
458
|
}
|
|
443
459
|
|
|
444
460
|
// Primary button - inverted for minimal (light on dark)
|
|
445
|
-
.pa-btn--
|
|
461
|
+
.pa-btn--color-1 {
|
|
446
462
|
background-color: #e8e8e8 !important;
|
|
447
463
|
color: #1a1a1a !important;
|
|
448
464
|
|
|
@@ -464,7 +480,7 @@ $modal-content-bg: $minimal-white;
|
|
|
464
480
|
}
|
|
465
481
|
|
|
466
482
|
// Outline secondary button
|
|
467
|
-
.pa-btn--outline-
|
|
483
|
+
.pa-btn--outline-bg {
|
|
468
484
|
border-color: #606060 !important;
|
|
469
485
|
color: #a0a0a0 !important;
|
|
470
486
|
|