@keenmate/pure-admin-theme-minimal 1.0.0 → 1.1.1
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 +1217 -514
- package/package.json +7 -2
- package/src/scss/minimal.scss +38 -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.1",
|
|
4
4
|
"description": "Minimal theme for Pure Admin",
|
|
5
5
|
"style": "dist/minimal.css",
|
|
6
6
|
"exports": {
|
|
@@ -15,7 +15,12 @@
|
|
|
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": {
|
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;
|
|
@@ -211,8 +211,8 @@ $modal-content-bg: $minimal-white;
|
|
|
211
211
|
--drp-border-color: #{$minimal-gray-400};
|
|
212
212
|
--drp-primary-bg: #{$minimal-gray-50};
|
|
213
213
|
--drp-primary-bg-hover: #{$minimal-gray-100};
|
|
214
|
-
--drp-text-
|
|
215
|
-
--drp-text-
|
|
214
|
+
--drp-text-color-1: #{$minimal-gray-900};
|
|
215
|
+
--drp-text-bg: #{$minimal-gray-700};
|
|
216
216
|
--drp-button-bg: transparent;
|
|
217
217
|
--drp-button-color: #{$minimal-gray-900};
|
|
218
218
|
--drp-button-accent-text-color: #{$minimal-white};
|
|
@@ -244,20 +244,20 @@ $modal-content-bg: $minimal-white;
|
|
|
244
244
|
$dark-surface: #2e2e2e;
|
|
245
245
|
$dark-border: #404040;
|
|
246
246
|
$dark-text: #e8e8e8;
|
|
247
|
-
$dark-text-
|
|
247
|
+
$dark-text-bg: #a0a0a0;
|
|
248
248
|
|
|
249
249
|
--page-loader-bg: rgba(26, 26, 26, 0.95);
|
|
250
250
|
--page-loader-spinner-border: #404040;
|
|
251
251
|
--page-loader-spinner-accent: #e8e8e8;
|
|
252
252
|
|
|
253
253
|
// Core colors - dark backgrounds
|
|
254
|
-
--pa-
|
|
255
|
-
--pa-bg
|
|
256
|
-
--pa-
|
|
254
|
+
--pa-main-bg: #{$dark-bg};
|
|
255
|
+
--pa-page-bg: #{$dark-bg};
|
|
256
|
+
--pa-subtle-bg: #141414;
|
|
257
257
|
|
|
258
258
|
// Text colors - light text on dark bg
|
|
259
|
-
--pa-text-
|
|
260
|
-
--pa-text-
|
|
259
|
+
--pa-text-color-1: #{$dark-text};
|
|
260
|
+
--pa-text-color-2: #{$dark-text-bg};
|
|
261
261
|
|
|
262
262
|
// Accent stays grayscale
|
|
263
263
|
--pa-accent: #{$dark-text};
|
|
@@ -271,13 +271,13 @@ $modal-content-bg: $minimal-white;
|
|
|
271
271
|
--pa-header-bg: #{$dark-card};
|
|
272
272
|
--pa-header-border-color: #{$dark-border};
|
|
273
273
|
--pa-header-text: #{$dark-text};
|
|
274
|
-
--pa-header-text-secondary: #{$dark-text-
|
|
274
|
+
--pa-header-text-secondary: #{$dark-text-bg};
|
|
275
275
|
--pa-header-profile-name-color: #{$dark-text};
|
|
276
276
|
|
|
277
277
|
// Sidebar - dark grayscale
|
|
278
278
|
--pa-sidebar-bg: #{$dark-card};
|
|
279
279
|
--pa-sidebar-text: #{$dark-text};
|
|
280
|
-
--pa-sidebar-text-secondary: #{$dark-text-
|
|
280
|
+
--pa-sidebar-text-secondary: #{$dark-text-bg};
|
|
281
281
|
--pa-sidebar-submenu-bg: #{$dark-bg};
|
|
282
282
|
--pa-sidebar-submenu-hover-bg: rgba(255, 255, 255, 0.08);
|
|
283
283
|
--pa-sidebar-submenu-active-bg: #{$dark-surface};
|
|
@@ -300,9 +300,9 @@ $modal-content-bg: $minimal-white;
|
|
|
300
300
|
|
|
301
301
|
// Input group
|
|
302
302
|
--pa-input-group-prepend-bg: #{$dark-border};
|
|
303
|
-
--pa-input-group-prepend-text: #{$dark-text-
|
|
303
|
+
--pa-input-group-prepend-text: #{$dark-text-bg};
|
|
304
304
|
--pa-input-group-append-bg: #{$dark-border};
|
|
305
|
-
--pa-input-group-append-text: #{$dark-text-
|
|
305
|
+
--pa-input-group-append-text: #{$dark-text-bg};
|
|
306
306
|
|
|
307
307
|
// Input group buttons
|
|
308
308
|
.pa-input-group__button {
|
|
@@ -380,11 +380,21 @@ $modal-content-bg: $minimal-white;
|
|
|
380
380
|
--pa-info-bg-light: rgba(23, 162, 184, 0.2);
|
|
381
381
|
|
|
382
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
|
|
383
392
|
--base-surface-1: #{$dark-card};
|
|
384
393
|
--base-surface-2: #{$dark-bg};
|
|
385
394
|
--base-surface-3: #{$dark-surface};
|
|
395
|
+
// Text colors
|
|
386
396
|
--base-text-color-1: #{$dark-text};
|
|
387
|
-
--base-text-color-2: #{$dark-text-
|
|
397
|
+
--base-text-color-2: #{$dark-text-bg};
|
|
388
398
|
--base-text-color-3: #707070;
|
|
389
399
|
--base-text-color-4: #505050;
|
|
390
400
|
--base-accent-color: #{$dark-text};
|
|
@@ -411,14 +421,14 @@ $modal-content-bg: $minimal-white;
|
|
|
411
421
|
--drp-border-color: #{$dark-border};
|
|
412
422
|
--drp-primary-bg: #{$dark-bg};
|
|
413
423
|
--drp-primary-bg-hover: #{$dark-surface};
|
|
414
|
-
--drp-text-
|
|
415
|
-
--drp-text-
|
|
424
|
+
--drp-text-color-1: #{$dark-text};
|
|
425
|
+
--drp-text-bg: #{$dark-text-bg};
|
|
416
426
|
--drp-button-bg: transparent;
|
|
417
427
|
--drp-button-color: #{$dark-text};
|
|
418
428
|
--drp-button-accent-text-color: #{$dark-bg};
|
|
419
429
|
--drp-button-today-color: #{$dark-text};
|
|
420
|
-
--drp-button-clear-color: #{$dark-text-
|
|
421
|
-
--drp-button-cancel-color: #{$dark-text-
|
|
430
|
+
--drp-button-clear-color: #{$dark-text-bg};
|
|
431
|
+
--drp-button-cancel-color: #{$dark-text-bg};
|
|
422
432
|
}
|
|
423
433
|
|
|
424
434
|
// Multiselect overrides (dark mode)
|
|
@@ -429,7 +439,7 @@ $modal-content-bg: $minimal-white;
|
|
|
429
439
|
--ms-primary-bg-hover: #{$dark-surface};
|
|
430
440
|
--ms-border-color: #{$dark-border};
|
|
431
441
|
--ms-text-color-1: #{$dark-text};
|
|
432
|
-
--ms-text-color-2: #{$dark-text-
|
|
442
|
+
--ms-text-color-2: #{$dark-text-bg};
|
|
433
443
|
--ms-text-color-3: #707070;
|
|
434
444
|
--ms-text-color-4: #505050;
|
|
435
445
|
--ms-hint-bg: #{$dark-bg};
|
|
@@ -448,7 +458,7 @@ $modal-content-bg: $minimal-white;
|
|
|
448
458
|
}
|
|
449
459
|
|
|
450
460
|
// Primary button - inverted for minimal (light on dark)
|
|
451
|
-
.pa-btn--
|
|
461
|
+
.pa-btn--color-1 {
|
|
452
462
|
background-color: #e8e8e8 !important;
|
|
453
463
|
color: #1a1a1a !important;
|
|
454
464
|
|
|
@@ -470,7 +480,7 @@ $modal-content-bg: $minimal-white;
|
|
|
470
480
|
}
|
|
471
481
|
|
|
472
482
|
// Outline secondary button
|
|
473
|
-
.pa-btn--outline-
|
|
483
|
+
.pa-btn--outline-bg {
|
|
474
484
|
border-color: #606060 !important;
|
|
475
485
|
color: #a0a0a0 !important;
|
|
476
486
|
|