@keenmate/pure-admin-theme-audi 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/audi.css +1810 -795
- package/package.json +9 -4
- package/src/scss/audi.scss +49 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keenmate/pure-admin-theme-audi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Audi theme for Pure Admin - includes dark and light variants",
|
|
5
5
|
"style": "dist/audi.css",
|
|
6
6
|
"exports": {
|
|
@@ -18,14 +18,19 @@
|
|
|
18
18
|
"build": "sass src/scss:dist --no-source-map --silence-deprecation=import --load-path=../../node_modules",
|
|
19
19
|
"prepublishOnly": "npm run build"
|
|
20
20
|
},
|
|
21
|
-
"keywords": [
|
|
21
|
+
"keywords": [
|
|
22
|
+
"pure-admin",
|
|
23
|
+
"theme",
|
|
24
|
+
"audi",
|
|
25
|
+
"css"
|
|
26
|
+
],
|
|
22
27
|
"author": "KeenMate",
|
|
23
28
|
"license": "MIT",
|
|
24
29
|
"peerDependencies": {
|
|
25
|
-
"@keenmate/pure-admin-core": "^1.0.0
|
|
30
|
+
"@keenmate/pure-admin-core": "^1.0.0"
|
|
26
31
|
},
|
|
27
32
|
"devDependencies": {
|
|
28
|
-
"@keenmate/pure-admin-core": "^1.0.0
|
|
33
|
+
"@keenmate/pure-admin-core": "^1.0.0",
|
|
29
34
|
"sass": "^1.70.0"
|
|
30
35
|
},
|
|
31
36
|
"publishConfig": {
|
package/src/scss/audi.scss
CHANGED
|
@@ -40,13 +40,22 @@ $base-text-color-3: #999999;
|
|
|
40
40
|
$base-text-color-4: #666666;
|
|
41
41
|
$base-text-color-on-accent: #ffffff;
|
|
42
42
|
|
|
43
|
-
//
|
|
44
|
-
$base-
|
|
45
|
-
$base-
|
|
46
|
-
$base-
|
|
47
|
-
$base-
|
|
43
|
+
// Background colors (dark mode - semantic naming)
|
|
44
|
+
$base-main-bg: $audi-dark; // Cards, modals (primary background)
|
|
45
|
+
$base-page-bg: $audi-near-black; // Page background
|
|
46
|
+
$base-subtle-bg: $audi-gray; // Subtle/muted areas
|
|
47
|
+
$base-inverse-bg: #ffffff; // Inverse (light elements on dark)
|
|
48
|
+
$base-hover-bg: $audi-gray; // Hover state background
|
|
49
|
+
$base-active-bg: $audi-gray-light; // Active/pressed state
|
|
50
|
+
$base-disabled-bg: $audi-gray; // Disabled state background
|
|
48
51
|
$base-overlay-bg: rgba($audi-black, 0.8);
|
|
49
52
|
|
|
53
|
+
// Legacy surface aliases (for backward compatibility)
|
|
54
|
+
$base-surface-1: $base-main-bg;
|
|
55
|
+
$base-surface-2: $base-page-bg;
|
|
56
|
+
$base-surface-3: $audi-gray-light;
|
|
57
|
+
$base-surface-inverse: $base-inverse-bg;
|
|
58
|
+
|
|
50
59
|
// Border
|
|
51
60
|
$base-border-color: $audi-gray-light;
|
|
52
61
|
|
|
@@ -104,6 +113,9 @@ $color-7: #8c8c8c; // Silver (metallic)
|
|
|
104
113
|
$color-8: #404040; // Charcoal (neutral)
|
|
105
114
|
$color-9: #6b3fa0; // Purple (luxury)
|
|
106
115
|
|
|
116
|
+
// Typography - Fira Sans Condensed for Audi brand
|
|
117
|
+
$base-font-family: "Fira Sans Condensed", "Arial Narrow", "Arial", sans-serif;
|
|
118
|
+
|
|
107
119
|
// =============================================================================
|
|
108
120
|
// IMPORT CORE VARIABLES (with base variables already set)
|
|
109
121
|
// =============================================================================
|
|
@@ -122,9 +134,9 @@ $table-hover-accent-width: 0.3rem; // 3px in 10px base
|
|
|
122
134
|
$table-hover-accent-position: left;
|
|
123
135
|
|
|
124
136
|
// Dark mode theme colors
|
|
125
|
-
$
|
|
126
|
-
$bg
|
|
127
|
-
$
|
|
137
|
+
$main-bg: $audi-near-black;
|
|
138
|
+
$page-bg: $audi-near-black;
|
|
139
|
+
$subtle-bg: $audi-dark;
|
|
128
140
|
$header-bg: $audi-black;
|
|
129
141
|
$header-border-color: $audi-gray-light;
|
|
130
142
|
$header-text: #ffffff;
|
|
@@ -256,8 +268,6 @@ $btn-dark-text: #ffffff;
|
|
|
256
268
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
257
269
|
}
|
|
258
270
|
|
|
259
|
-
$body-font-family: "Fira Sans Condensed", "Arial Narrow", "Arial", sans-serif;
|
|
260
|
-
|
|
261
271
|
// Card styling - thicker border for Audi design language
|
|
262
272
|
$card-border-width: $border-width-medium;
|
|
263
273
|
$card-border-radius: 0; // Sharp edges
|
|
@@ -272,7 +282,7 @@ $card-border-radius: 0; // Sharp edges
|
|
|
272
282
|
// =============================================================================
|
|
273
283
|
// AUDI-SPECIFIC COMPONENT OVERRIDES
|
|
274
284
|
// =============================================================================
|
|
275
|
-
.pa-btn--
|
|
285
|
+
.pa-btn--color-1 {
|
|
276
286
|
font-weight: $font-weight-bold;
|
|
277
287
|
color: #ffffff !important;
|
|
278
288
|
border-radius: 0 !important;
|
|
@@ -330,13 +340,16 @@ $card-border-radius: 0; // Sharp edges
|
|
|
330
340
|
@include output-base-css-variables;
|
|
331
341
|
@include output-pa-css-variables;
|
|
332
342
|
|
|
343
|
+
// Override base-elevated-bg for dark mode (web-grid striped rows, headers)
|
|
344
|
+
--base-elevated-bg: #{$audi-gray};
|
|
345
|
+
|
|
333
346
|
// Daterangepicker overrides (dark mode)
|
|
334
347
|
--drp-dropdown-bg: #{$audi-dark};
|
|
335
348
|
--drp-border-color: #{$audi-gray-light};
|
|
336
349
|
--drp-primary-bg: #{$audi-gray};
|
|
337
350
|
--drp-primary-bg-hover: #{$audi-gray-light};
|
|
338
|
-
--drp-text-
|
|
339
|
-
--drp-text-
|
|
351
|
+
--drp-text-color-1: #ffffff;
|
|
352
|
+
--drp-text-color-2: #999999;
|
|
340
353
|
--drp-button-bg: transparent;
|
|
341
354
|
--drp-button-color: #ffffff;
|
|
342
355
|
--drp-button-accent-text-color: #ffffff;
|
|
@@ -379,11 +392,11 @@ $card-border-radius: 0; // Sharp edges
|
|
|
379
392
|
--page-loader-spinner-accent: #ff0000;
|
|
380
393
|
|
|
381
394
|
// Core colors
|
|
382
|
-
--pa-
|
|
383
|
-
--pa-bg
|
|
384
|
-
--pa-
|
|
385
|
-
--pa-text-
|
|
386
|
-
--pa-text-
|
|
395
|
+
--pa-main-bg: #{$light-gray-100};
|
|
396
|
+
--pa-page-bg: #{$light-gray-50};
|
|
397
|
+
--pa-subtle-bg: #{$light-gray-100};
|
|
398
|
+
--pa-text-color-1: #{$light-gray-900};
|
|
399
|
+
--pa-text-color-2: #{$light-gray-600};
|
|
387
400
|
--pa-accent: #ff0000;
|
|
388
401
|
--pa-accent-hover: rgba(255, 0, 0, 0.1);
|
|
389
402
|
--pa-accent-light: rgba(255, 0, 0, 0.05);
|
|
@@ -415,6 +428,12 @@ $card-border-radius: 0; // Sharp edges
|
|
|
415
428
|
--pa-input-border: #{$light-gray-300};
|
|
416
429
|
--pa-input-text: #{$light-gray-900};
|
|
417
430
|
|
|
431
|
+
// Input group - light gray background for light mode
|
|
432
|
+
--pa-input-group-prepend-bg: #{$light-gray-200};
|
|
433
|
+
--pa-input-group-prepend-text: #{$light-gray-700};
|
|
434
|
+
--pa-input-group-append-bg: #{$light-gray-200};
|
|
435
|
+
--pa-input-group-append-text: #{$light-gray-700};
|
|
436
|
+
|
|
418
437
|
// Tables
|
|
419
438
|
--pa-table-bg: #{$light-white};
|
|
420
439
|
--pa-table-header-bg: #{$light-gray-100};
|
|
@@ -444,11 +463,19 @@ $card-border-radius: 0; // Sharp edges
|
|
|
444
463
|
--pa-info-bg-light: rgba(0, 153, 255, 0.1);
|
|
445
464
|
|
|
446
465
|
// Base variables for web components (light mode)
|
|
466
|
+
// Semantic names (preferred)
|
|
467
|
+
--base-main-bg: #{$light-white};
|
|
468
|
+
--base-page-bg: #{$light-gray-100};
|
|
469
|
+
--base-subtle-bg: #{$light-gray-200};
|
|
470
|
+
--base-hover-bg: #{$light-gray-200};
|
|
471
|
+
--base-active-bg: #{$light-gray-300};
|
|
472
|
+
--base-disabled-bg: #{$light-gray-100};
|
|
473
|
+
--base-elevated-bg: #{$light-gray-100};
|
|
474
|
+
// Legacy aliases
|
|
447
475
|
--base-surface-1: #{$light-white};
|
|
448
476
|
--base-surface-2: #{$light-gray-100};
|
|
449
477
|
--base-surface-3: #{$light-gray-200};
|
|
450
|
-
|
|
451
|
-
--base-primary-bg-hover: #{$light-gray-200};
|
|
478
|
+
// Text colors
|
|
452
479
|
--base-text-color-1: #{$light-gray-900};
|
|
453
480
|
--base-text-color-2: #{$light-gray-600};
|
|
454
481
|
--base-text-color-3: #{$light-gray-500};
|
|
@@ -469,8 +496,8 @@ $card-border-radius: 0; // Sharp edges
|
|
|
469
496
|
--drp-border-color: #{$light-gray-300};
|
|
470
497
|
--drp-primary-bg: #{$light-gray-100};
|
|
471
498
|
--drp-primary-bg-hover: #{$light-gray-200};
|
|
472
|
-
--drp-text-
|
|
473
|
-
--drp-text-
|
|
499
|
+
--drp-text-color-1: #{$light-gray-900};
|
|
500
|
+
--drp-text-color-2: #{$light-gray-600};
|
|
474
501
|
--drp-button-bg: transparent;
|
|
475
502
|
--drp-button-color: #{$light-gray-900};
|
|
476
503
|
--drp-button-accent-text-color: #ffffff;
|