@acorex/styles 21.0.3-next.23 → 21.0.3-next.25
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/package.json +1 -1
- package/themes/default.css +84 -50
package/package.json
CHANGED
package/themes/default.css
CHANGED
|
@@ -74,6 +74,28 @@ html.ax-dark {
|
|
|
74
74
|
--ax-sys-icon-height: inherit;
|
|
75
75
|
--ax-sys-body-font-size: 1rem;
|
|
76
76
|
--ax-sys-border-radius-base: 0.5rem;
|
|
77
|
+
--ax-sys-spacing-base: 0.25rem;
|
|
78
|
+
--ax-sys-text-xs-base: 0.75rem;
|
|
79
|
+
--ax-sys-text-sm-base: 0.875rem;
|
|
80
|
+
--ax-sys-text-lg-base: 1.125rem;
|
|
81
|
+
--ax-sys-text-xl-base: 1.25rem;
|
|
82
|
+
--ax-sys-leading-3-base: 0.75rem;
|
|
83
|
+
--ax-sys-leading-4-base: 1rem;
|
|
84
|
+
--ax-sys-leading-5-base: 1.25rem;
|
|
85
|
+
--ax-sys-leading-6-base: 1.5rem;
|
|
86
|
+
|
|
87
|
+
/* Default Tailwind scale (matches ax-md) — used when no ax-* size class is applied */
|
|
88
|
+
--spacing: var(--ax-sys-spacing-base);
|
|
89
|
+
--text-xs: var(--ax-sys-text-xs-base);
|
|
90
|
+
--text-sm: var(--ax-sys-text-sm-base);
|
|
91
|
+
--text-base: var(--ax-sys-body-font-size);
|
|
92
|
+
--text-lg: var(--ax-sys-text-lg-base);
|
|
93
|
+
--text-xl: var(--ax-sys-text-xl-base);
|
|
94
|
+
--leading-3: var(--ax-sys-leading-3-base);
|
|
95
|
+
--leading-4: var(--ax-sys-leading-4-base);
|
|
96
|
+
--leading-5: var(--ax-sys-leading-5-base);
|
|
97
|
+
--leading-6: var(--ax-sys-leading-6-base);
|
|
98
|
+
|
|
77
99
|
--ax-sys-border-radius: var(--ax-sys-border-radius-base);
|
|
78
100
|
--ax-sys-transition-duration: 150ms;
|
|
79
101
|
--ax-sys-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -2222,6 +2244,18 @@ html.ax-dark {
|
|
|
2222
2244
|
--color-accent6-darkest: rgba(var(--ax-sys-color-accent6-darkest-surface));
|
|
2223
2245
|
--color-on-accent6-darkest: rgba(var(--ax-sys-color-on-accent6-darkest-surface));
|
|
2224
2246
|
--color-border-accent6-darkest: rgba(var(--ax-sys-color-border-accent6-darkest-surface));
|
|
2247
|
+
|
|
2248
|
+
/* Default scale (matches ax-md) — wired to base tokens so all utilities respond to theme changes */
|
|
2249
|
+
--spacing: var(--ax-sys-spacing-base);
|
|
2250
|
+
--text-xs: var(--ax-sys-text-xs-base);
|
|
2251
|
+
--text-sm: var(--ax-sys-text-sm-base);
|
|
2252
|
+
--text-base: var(--ax-sys-body-font-size);
|
|
2253
|
+
--text-lg: var(--ax-sys-text-lg-base);
|
|
2254
|
+
--text-xl: var(--ax-sys-text-xl-base);
|
|
2255
|
+
--leading-3: var(--ax-sys-leading-3-base);
|
|
2256
|
+
--leading-4: var(--ax-sys-leading-4-base);
|
|
2257
|
+
--leading-5: var(--ax-sys-leading-5-base);
|
|
2258
|
+
--leading-6: var(--ax-sys-leading-6-base);
|
|
2225
2259
|
}
|
|
2226
2260
|
|
|
2227
2261
|
@utility text-muted {
|
|
@@ -3404,95 +3438,95 @@ html.ax-dark {
|
|
|
3404
3438
|
|
|
3405
3439
|
@utility ax-xs {
|
|
3406
3440
|
/* Spacing */
|
|
3407
|
-
--spacing: 0.
|
|
3441
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 0.5);
|
|
3408
3442
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 0.5);
|
|
3409
3443
|
|
|
3410
3444
|
/* Typography */
|
|
3411
|
-
--text-xs:
|
|
3412
|
-
--text-sm:
|
|
3413
|
-
--text-base: 0.
|
|
3414
|
-
--text-lg:
|
|
3415
|
-
--text-xl:
|
|
3445
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 5 / 6);
|
|
3446
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 11 / 14);
|
|
3447
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 0.75);
|
|
3448
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 7 / 9);
|
|
3449
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 0.8);
|
|
3416
3450
|
|
|
3417
3451
|
/* Line Heights */
|
|
3418
|
-
--leading-3:
|
|
3419
|
-
--leading-4: 0.
|
|
3420
|
-
--leading-5:
|
|
3421
|
-
--leading-6:
|
|
3452
|
+
--leading-3: var(--ax-sys-leading-3-base);
|
|
3453
|
+
--leading-4: calc(var(--ax-sys-leading-4-base) * 0.875);
|
|
3454
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 0.8);
|
|
3455
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 5 / 6);
|
|
3422
3456
|
}
|
|
3423
3457
|
|
|
3424
3458
|
@utility ax-sm {
|
|
3425
3459
|
/* Spacing */
|
|
3426
|
-
--spacing: 0.
|
|
3460
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 0.75);
|
|
3427
3461
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 0.75);
|
|
3428
3462
|
|
|
3429
3463
|
/* Typography */
|
|
3430
|
-
--text-xs:
|
|
3431
|
-
--text-sm:
|
|
3432
|
-
--text-base: 0.
|
|
3433
|
-
--text-lg:
|
|
3434
|
-
--text-xl:
|
|
3464
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 11 / 12);
|
|
3465
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 6 / 7);
|
|
3466
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 0.875);
|
|
3467
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 8 / 9);
|
|
3468
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 0.9);
|
|
3435
3469
|
|
|
3436
3470
|
/* Line Heights */
|
|
3437
|
-
--leading-3:
|
|
3438
|
-
--leading-4:
|
|
3439
|
-
--leading-5:
|
|
3440
|
-
--leading-6:
|
|
3471
|
+
--leading-3: calc(var(--ax-sys-leading-3-base) * 7 / 6);
|
|
3472
|
+
--leading-4: var(--ax-sys-leading-4-base);
|
|
3473
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 0.9);
|
|
3474
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 11 / 12);
|
|
3441
3475
|
}
|
|
3442
3476
|
|
|
3443
3477
|
@utility ax-md {
|
|
3444
3478
|
/* Tailwind Default Scale */
|
|
3445
|
-
--spacing:
|
|
3479
|
+
--spacing: var(--ax-sys-spacing-base);
|
|
3446
3480
|
--ax-sys-border-radius: var(--ax-sys-border-radius-base);
|
|
3447
3481
|
|
|
3448
3482
|
/* Typography */
|
|
3449
|
-
--text-xs:
|
|
3450
|
-
--text-sm:
|
|
3451
|
-
--text-base:
|
|
3452
|
-
--text-lg:
|
|
3453
|
-
--text-xl:
|
|
3483
|
+
--text-xs: var(--ax-sys-text-xs-base);
|
|
3484
|
+
--text-sm: var(--ax-sys-text-sm-base);
|
|
3485
|
+
--text-base: var(--ax-sys-body-font-size);
|
|
3486
|
+
--text-lg: var(--ax-sys-text-lg-base);
|
|
3487
|
+
--text-xl: var(--ax-sys-text-xl-base);
|
|
3454
3488
|
|
|
3455
3489
|
/* Line Heights */
|
|
3456
|
-
--leading-3:
|
|
3457
|
-
--leading-4:
|
|
3458
|
-
--leading-5:
|
|
3459
|
-
--leading-6:
|
|
3490
|
+
--leading-3: var(--ax-sys-leading-3-base);
|
|
3491
|
+
--leading-4: var(--ax-sys-leading-4-base);
|
|
3492
|
+
--leading-5: var(--ax-sys-leading-5-base);
|
|
3493
|
+
--leading-6: var(--ax-sys-leading-6-base);
|
|
3460
3494
|
}
|
|
3461
3495
|
|
|
3462
3496
|
@utility ax-lg {
|
|
3463
3497
|
/* Spacing */
|
|
3464
|
-
--spacing:
|
|
3498
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 1.25);
|
|
3465
3499
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 1.25);
|
|
3466
3500
|
|
|
3467
3501
|
/* Typography */
|
|
3468
|
-
--text-xs:
|
|
3469
|
-
--text-sm:
|
|
3470
|
-
--text-base:
|
|
3471
|
-
--text-lg:
|
|
3472
|
-
--text-xl: 1.
|
|
3502
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 13 / 12);
|
|
3503
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 15 / 14);
|
|
3504
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 17 / 16);
|
|
3505
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 10 / 9);
|
|
3506
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 1.1);
|
|
3473
3507
|
|
|
3474
3508
|
/* Line Heights */
|
|
3475
|
-
--leading-3:
|
|
3476
|
-
--leading-4: 1.
|
|
3477
|
-
--leading-5: 1.
|
|
3478
|
-
--leading-6:
|
|
3509
|
+
--leading-3: calc(var(--ax-sys-leading-3-base) * 4 / 3);
|
|
3510
|
+
--leading-4: calc(var(--ax-sys-leading-4-base) * 1.125);
|
|
3511
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 1.1);
|
|
3512
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 13 / 12);
|
|
3479
3513
|
}
|
|
3480
3514
|
|
|
3481
3515
|
@utility ax-xl {
|
|
3482
3516
|
/* Spacing */
|
|
3483
|
-
--spacing:
|
|
3517
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 1.5);
|
|
3484
3518
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 1.5);
|
|
3485
3519
|
|
|
3486
3520
|
/* Typography */
|
|
3487
|
-
--text-xs:
|
|
3488
|
-
--text-sm:
|
|
3489
|
-
--text-base: 1.
|
|
3490
|
-
--text-lg:
|
|
3491
|
-
--text-xl: 1.
|
|
3521
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 7 / 6);
|
|
3522
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 8 / 7);
|
|
3523
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 1.125);
|
|
3524
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 11 / 9);
|
|
3525
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 1.2);
|
|
3492
3526
|
|
|
3493
3527
|
/* Line Heights */
|
|
3494
|
-
--leading-3: 1.
|
|
3495
|
-
--leading-4: 1.
|
|
3496
|
-
--leading-5: 1.
|
|
3497
|
-
--leading-6:
|
|
3528
|
+
--leading-3: calc(var(--ax-sys-leading-3-base) * 1.5);
|
|
3529
|
+
--leading-4: calc(var(--ax-sys-leading-4-base) * 1.25);
|
|
3530
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 1.2);
|
|
3531
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 7 / 6);
|
|
3498
3532
|
}
|