@keenmate/pure-admin-theme-corporate 1.0.0 → 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 +1141 -623
- package/package.json +7 -2
- package/src/scss/corporate.scss +33 -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,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
|
+
"corporate",
|
|
22
|
+
"css"
|
|
23
|
+
],
|
|
19
24
|
"author": "KeenMate",
|
|
20
25
|
"license": "MIT",
|
|
21
26
|
"peerDependencies": {
|
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;
|
|
@@ -284,8 +284,8 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
284
284
|
--drp-border-color: #{$corporate-slate-200};
|
|
285
285
|
--drp-primary-bg: #{$corporate-slate-50};
|
|
286
286
|
--drp-primary-bg-hover: #{$corporate-slate-100};
|
|
287
|
-
--drp-text-
|
|
288
|
-
--drp-text-
|
|
287
|
+
--drp-text-color-1: #{$corporate-slate-700};
|
|
288
|
+
--drp-text-bg: #{$corporate-slate-500};
|
|
289
289
|
--drp-button-bg: transparent;
|
|
290
290
|
--drp-button-color: #{$corporate-slate-700};
|
|
291
291
|
--drp-button-accent-text-color: #ffffff;
|
|
@@ -317,20 +317,20 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
317
317
|
$dark-surface: #334155;
|
|
318
318
|
$dark-border: #475569;
|
|
319
319
|
$dark-text: #f1f5f9;
|
|
320
|
-
$dark-text-
|
|
320
|
+
$dark-text-bg: #94a3b8;
|
|
321
321
|
|
|
322
322
|
--page-loader-bg: rgba(15, 23, 42, 0.95);
|
|
323
323
|
--page-loader-spinner-border: #334155;
|
|
324
324
|
--page-loader-spinner-accent: #{$corporate-blue-500};
|
|
325
325
|
|
|
326
326
|
// Core colors - dark backgrounds
|
|
327
|
-
--pa-
|
|
328
|
-
--pa-bg
|
|
329
|
-
--pa-
|
|
327
|
+
--pa-main-bg: #{$dark-bg};
|
|
328
|
+
--pa-page-bg: #{$dark-bg};
|
|
329
|
+
--pa-subtle-bg: #0a0f1a;
|
|
330
330
|
|
|
331
331
|
// Text colors - light text on dark bg
|
|
332
|
-
--pa-text-
|
|
333
|
-
--pa-text-
|
|
332
|
+
--pa-text-color-1: #{$dark-text};
|
|
333
|
+
--pa-text-color-2: #{$dark-text-bg};
|
|
334
334
|
|
|
335
335
|
// Keep Corporate brand colors
|
|
336
336
|
--pa-accent: #{$corporate-blue-500};
|
|
@@ -344,13 +344,13 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
344
344
|
--pa-header-bg: #{$dark-card};
|
|
345
345
|
--pa-header-border-color: #{$dark-border};
|
|
346
346
|
--pa-header-text: #{$dark-text};
|
|
347
|
-
--pa-header-text-secondary: #{$dark-text-
|
|
347
|
+
--pa-header-text-secondary: #{$dark-text-bg};
|
|
348
348
|
--pa-header-profile-name-color: #{$dark-text};
|
|
349
349
|
|
|
350
350
|
// Sidebar
|
|
351
351
|
--pa-sidebar-bg: #{$dark-card};
|
|
352
352
|
--pa-sidebar-text: #{$dark-text};
|
|
353
|
-
--pa-sidebar-text-secondary: #{$dark-text-
|
|
353
|
+
--pa-sidebar-text-secondary: #{$dark-text-bg};
|
|
354
354
|
--pa-sidebar-submenu-bg: #{$dark-bg};
|
|
355
355
|
--pa-sidebar-submenu-hover-bg: rgba(14, 165, 233, 0.1);
|
|
356
356
|
--pa-sidebar-submenu-active-bg: #{$corporate-blue-600};
|
|
@@ -446,14 +446,24 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
446
446
|
--pa-info-bg-light: rgba(6, 182, 212, 0.2);
|
|
447
447
|
|
|
448
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
|
|
449
458
|
--base-surface-1: #{$dark-card};
|
|
450
459
|
--base-surface-2: #{$dark-bg};
|
|
451
460
|
--base-surface-3: #{$dark-surface};
|
|
452
461
|
--base-surface-inverse: #{$dark-text};
|
|
453
|
-
--base-
|
|
454
|
-
--base-
|
|
462
|
+
--base-color-1-bg: #{$dark-bg};
|
|
463
|
+
--base-color-1-bg-hover: #{$dark-surface};
|
|
464
|
+
// Text colors
|
|
455
465
|
--base-text-color-1: #{$dark-text};
|
|
456
|
-
--base-text-color-2: #{$dark-text-
|
|
466
|
+
--base-text-color-2: #{$dark-text-bg};
|
|
457
467
|
--base-text-color-3: #64748b;
|
|
458
468
|
--base-text-color-4: #475569;
|
|
459
469
|
--base-border-color: #{$dark-border};
|
|
@@ -476,14 +486,14 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
476
486
|
--drp-border-color: #{$dark-border};
|
|
477
487
|
--drp-primary-bg: #{$dark-bg};
|
|
478
488
|
--drp-primary-bg-hover: #{$dark-surface};
|
|
479
|
-
--drp-text-
|
|
480
|
-
--drp-text-
|
|
489
|
+
--drp-text-color-1: #{$dark-text};
|
|
490
|
+
--drp-text-bg: #{$dark-text-bg};
|
|
481
491
|
--drp-button-bg: transparent;
|
|
482
492
|
--drp-button-color: #{$dark-text};
|
|
483
493
|
--drp-button-accent-text-color: #ffffff;
|
|
484
494
|
--drp-button-today-color: #{$corporate-blue-500};
|
|
485
|
-
--drp-button-clear-color: #{$dark-text-
|
|
486
|
-
--drp-button-cancel-color: #{$dark-text-
|
|
495
|
+
--drp-button-clear-color: #{$dark-text-bg};
|
|
496
|
+
--drp-button-cancel-color: #{$dark-text-bg};
|
|
487
497
|
}
|
|
488
498
|
|
|
489
499
|
// Multiselect overrides (dark mode)
|
|
@@ -494,7 +504,7 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
494
504
|
--ms-primary-bg-hover: #{$dark-surface};
|
|
495
505
|
--ms-border-color: #{$dark-border};
|
|
496
506
|
--ms-text-color-1: #{$dark-text};
|
|
497
|
-
--ms-text-color-2: #{$dark-text-
|
|
507
|
+
--ms-text-color-2: #{$dark-text-bg};
|
|
498
508
|
--ms-text-color-3: #64748b;
|
|
499
509
|
--ms-text-color-4: #475569;
|
|
500
510
|
--ms-hint-bg: #{$dark-bg};
|
|
@@ -531,7 +541,7 @@ $checkbox-focus-shadow: 0 0 0 2px rgba($base-accent-color, 0.25);
|
|
|
531
541
|
}
|
|
532
542
|
}
|
|
533
543
|
|
|
534
|
-
.pa-btn--outline-
|
|
544
|
+
.pa-btn--outline-bg {
|
|
535
545
|
border-color: #64748b !important;
|
|
536
546
|
color: #94a3b8 !important;
|
|
537
547
|
|