@keenmate/pure-admin-theme-corporate 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/corporate.css +1673 -643
- package/package.json +9 -4
- package/src/scss/corporate.scss +39 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keenmate/pure-admin-theme-corporate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Corporate theme for Pure Admin",
|
|
5
5
|
"style": "dist/corporate.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
|
+
"corporate",
|
|
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/corporate.scss
CHANGED
|
@@ -123,8 +123,8 @@ $footer-height: 3.2rem;
|
|
|
123
123
|
$sidebar-width: 29rem;
|
|
124
124
|
|
|
125
125
|
// Layout colors (derived from base but with specific overrides)
|
|
126
|
-
$
|
|
127
|
-
$
|
|
126
|
+
$main-bg: #f4f6f9;
|
|
127
|
+
$subtle-bg: #f4f6f9;
|
|
128
128
|
$header-bg: $corporate-slate-800;
|
|
129
129
|
$header-border-color: $corporate-slate-200;
|
|
130
130
|
$header-profile-name-color: #ffffff;
|
|
@@ -145,8 +145,8 @@ $table-hover-bg: $corporate-slate-50;
|
|
|
145
145
|
$table-stripe: $corporate-slate-50;
|
|
146
146
|
|
|
147
147
|
// Secondary button (not derived from base)
|
|
148
|
-
$btn-
|
|
149
|
-
$btn-
|
|
148
|
+
$btn-bg-bg: $corporate-gray-500;
|
|
149
|
+
$btn-bg-bg-hover: $corporate-gray-600;
|
|
150
150
|
|
|
151
151
|
// Light/dark buttons
|
|
152
152
|
$btn-light-bg: $corporate-gray-100;
|
|
@@ -273,13 +273,19 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
273
273
|
@include output-base-css-variables;
|
|
274
274
|
@include output-pa-css-variables;
|
|
275
275
|
|
|
276
|
+
// Input group - light gray background for light mode
|
|
277
|
+
--pa-input-group-prepend-bg: #{$corporate-slate-100};
|
|
278
|
+
--pa-input-group-prepend-text: #{$corporate-slate-700};
|
|
279
|
+
--pa-input-group-append-bg: #{$corporate-slate-100};
|
|
280
|
+
--pa-input-group-append-text: #{$corporate-slate-700};
|
|
281
|
+
|
|
276
282
|
// Web component overrides (light mode)
|
|
277
283
|
--drp-dropdown-bg: #ffffff;
|
|
278
284
|
--drp-border-color: #{$corporate-slate-200};
|
|
279
285
|
--drp-primary-bg: #{$corporate-slate-50};
|
|
280
286
|
--drp-primary-bg-hover: #{$corporate-slate-100};
|
|
281
|
-
--drp-text-
|
|
282
|
-
--drp-text-
|
|
287
|
+
--drp-text-color-1: #{$corporate-slate-700};
|
|
288
|
+
--drp-text-bg: #{$corporate-slate-500};
|
|
283
289
|
--drp-button-bg: transparent;
|
|
284
290
|
--drp-button-color: #{$corporate-slate-700};
|
|
285
291
|
--drp-button-accent-text-color: #ffffff;
|
|
@@ -311,20 +317,20 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
311
317
|
$dark-surface: #334155;
|
|
312
318
|
$dark-border: #475569;
|
|
313
319
|
$dark-text: #f1f5f9;
|
|
314
|
-
$dark-text-
|
|
320
|
+
$dark-text-bg: #94a3b8;
|
|
315
321
|
|
|
316
322
|
--page-loader-bg: rgba(15, 23, 42, 0.95);
|
|
317
323
|
--page-loader-spinner-border: #334155;
|
|
318
324
|
--page-loader-spinner-accent: #{$corporate-blue-500};
|
|
319
325
|
|
|
320
326
|
// Core colors - dark backgrounds
|
|
321
|
-
--pa-
|
|
322
|
-
--pa-bg
|
|
323
|
-
--pa-
|
|
327
|
+
--pa-main-bg: #{$dark-bg};
|
|
328
|
+
--pa-page-bg: #{$dark-bg};
|
|
329
|
+
--pa-subtle-bg: #0a0f1a;
|
|
324
330
|
|
|
325
331
|
// Text colors - light text on dark bg
|
|
326
|
-
--pa-text-
|
|
327
|
-
--pa-text-
|
|
332
|
+
--pa-text-color-1: #{$dark-text};
|
|
333
|
+
--pa-text-color-2: #{$dark-text-bg};
|
|
328
334
|
|
|
329
335
|
// Keep Corporate brand colors
|
|
330
336
|
--pa-accent: #{$corporate-blue-500};
|
|
@@ -338,13 +344,13 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
338
344
|
--pa-header-bg: #{$dark-card};
|
|
339
345
|
--pa-header-border-color: #{$dark-border};
|
|
340
346
|
--pa-header-text: #{$dark-text};
|
|
341
|
-
--pa-header-text-secondary: #{$dark-text-
|
|
347
|
+
--pa-header-text-secondary: #{$dark-text-bg};
|
|
342
348
|
--pa-header-profile-name-color: #{$dark-text};
|
|
343
349
|
|
|
344
350
|
// Sidebar
|
|
345
351
|
--pa-sidebar-bg: #{$dark-card};
|
|
346
352
|
--pa-sidebar-text: #{$dark-text};
|
|
347
|
-
--pa-sidebar-text-secondary: #{$dark-text-
|
|
353
|
+
--pa-sidebar-text-secondary: #{$dark-text-bg};
|
|
348
354
|
--pa-sidebar-submenu-bg: #{$dark-bg};
|
|
349
355
|
--pa-sidebar-submenu-hover-bg: rgba(14, 165, 233, 0.1);
|
|
350
356
|
--pa-sidebar-submenu-active-bg: #{$corporate-blue-600};
|
|
@@ -440,14 +446,24 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
440
446
|
--pa-info-bg-light: rgba(6, 182, 212, 0.2);
|
|
441
447
|
|
|
442
448
|
// Base variables for web components (dark mode)
|
|
449
|
+
// Semantic names (preferred)
|
|
450
|
+
--base-main-bg: #{$dark-card};
|
|
451
|
+
--base-page-bg: #{$dark-bg};
|
|
452
|
+
--base-subtle-bg: #{$dark-surface};
|
|
453
|
+
--base-hover-bg: #{$dark-surface};
|
|
454
|
+
--base-active-bg: #{$dark-border};
|
|
455
|
+
--base-disabled-bg: #{$dark-surface};
|
|
456
|
+
--base-elevated-bg: #{$dark-surface};
|
|
457
|
+
// Legacy aliases
|
|
443
458
|
--base-surface-1: #{$dark-card};
|
|
444
459
|
--base-surface-2: #{$dark-bg};
|
|
445
460
|
--base-surface-3: #{$dark-surface};
|
|
446
461
|
--base-surface-inverse: #{$dark-text};
|
|
447
|
-
--base-
|
|
448
|
-
--base-
|
|
462
|
+
--base-color-1-bg: #{$dark-bg};
|
|
463
|
+
--base-color-1-bg-hover: #{$dark-surface};
|
|
464
|
+
// Text colors
|
|
449
465
|
--base-text-color-1: #{$dark-text};
|
|
450
|
-
--base-text-color-2: #{$dark-text-
|
|
466
|
+
--base-text-color-2: #{$dark-text-bg};
|
|
451
467
|
--base-text-color-3: #64748b;
|
|
452
468
|
--base-text-color-4: #475569;
|
|
453
469
|
--base-border-color: #{$dark-border};
|
|
@@ -470,14 +486,14 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
470
486
|
--drp-border-color: #{$dark-border};
|
|
471
487
|
--drp-primary-bg: #{$dark-bg};
|
|
472
488
|
--drp-primary-bg-hover: #{$dark-surface};
|
|
473
|
-
--drp-text-
|
|
474
|
-
--drp-text-
|
|
489
|
+
--drp-text-color-1: #{$dark-text};
|
|
490
|
+
--drp-text-bg: #{$dark-text-bg};
|
|
475
491
|
--drp-button-bg: transparent;
|
|
476
492
|
--drp-button-color: #{$dark-text};
|
|
477
493
|
--drp-button-accent-text-color: #ffffff;
|
|
478
494
|
--drp-button-today-color: #{$corporate-blue-500};
|
|
479
|
-
--drp-button-clear-color: #{$dark-text-
|
|
480
|
-
--drp-button-cancel-color: #{$dark-text-
|
|
495
|
+
--drp-button-clear-color: #{$dark-text-bg};
|
|
496
|
+
--drp-button-cancel-color: #{$dark-text-bg};
|
|
481
497
|
}
|
|
482
498
|
|
|
483
499
|
// Multiselect overrides (dark mode)
|
|
@@ -488,7 +504,7 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
488
504
|
--ms-primary-bg-hover: #{$dark-surface};
|
|
489
505
|
--ms-border-color: #{$dark-border};
|
|
490
506
|
--ms-text-color-1: #{$dark-text};
|
|
491
|
-
--ms-text-color-2: #{$dark-text-
|
|
507
|
+
--ms-text-color-2: #{$dark-text-bg};
|
|
492
508
|
--ms-text-color-3: #64748b;
|
|
493
509
|
--ms-text-color-4: #475569;
|
|
494
510
|
--ms-hint-bg: #{$dark-bg};
|
|
@@ -525,7 +541,7 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
525
541
|
}
|
|
526
542
|
}
|
|
527
543
|
|
|
528
|
-
.pa-btn--outline-
|
|
544
|
+
.pa-btn--outline-bg {
|
|
529
545
|
border-color: #64748b !important;
|
|
530
546
|
color: #94a3b8 !important;
|
|
531
547
|
|