@acorex/styles 21.0.3-next.23 → 21.0.3-next.24
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 +59 -50
package/package.json
CHANGED
package/themes/default.css
CHANGED
|
@@ -74,6 +74,15 @@ 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;
|
|
77
86
|
--ax-sys-border-radius: var(--ax-sys-border-radius-base);
|
|
78
87
|
--ax-sys-transition-duration: 150ms;
|
|
79
88
|
--ax-sys-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -3404,95 +3413,95 @@ html.ax-dark {
|
|
|
3404
3413
|
|
|
3405
3414
|
@utility ax-xs {
|
|
3406
3415
|
/* Spacing */
|
|
3407
|
-
--spacing: 0.
|
|
3416
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 0.5);
|
|
3408
3417
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 0.5);
|
|
3409
3418
|
|
|
3410
3419
|
/* Typography */
|
|
3411
|
-
--text-xs:
|
|
3412
|
-
--text-sm:
|
|
3413
|
-
--text-base: 0.
|
|
3414
|
-
--text-lg:
|
|
3415
|
-
--text-xl:
|
|
3420
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 5 / 6);
|
|
3421
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 11 / 14);
|
|
3422
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 0.75);
|
|
3423
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 7 / 9);
|
|
3424
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 0.8);
|
|
3416
3425
|
|
|
3417
3426
|
/* Line Heights */
|
|
3418
|
-
--leading-3:
|
|
3419
|
-
--leading-4: 0.
|
|
3420
|
-
--leading-5:
|
|
3421
|
-
--leading-6:
|
|
3427
|
+
--leading-3: var(--ax-sys-leading-3-base);
|
|
3428
|
+
--leading-4: calc(var(--ax-sys-leading-4-base) * 0.875);
|
|
3429
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 0.8);
|
|
3430
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 5 / 6);
|
|
3422
3431
|
}
|
|
3423
3432
|
|
|
3424
3433
|
@utility ax-sm {
|
|
3425
3434
|
/* Spacing */
|
|
3426
|
-
--spacing: 0.
|
|
3435
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 0.75);
|
|
3427
3436
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 0.75);
|
|
3428
3437
|
|
|
3429
3438
|
/* Typography */
|
|
3430
|
-
--text-xs:
|
|
3431
|
-
--text-sm:
|
|
3432
|
-
--text-base: 0.
|
|
3433
|
-
--text-lg:
|
|
3434
|
-
--text-xl:
|
|
3439
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 11 / 12);
|
|
3440
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 6 / 7);
|
|
3441
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 0.875);
|
|
3442
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 8 / 9);
|
|
3443
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 0.9);
|
|
3435
3444
|
|
|
3436
3445
|
/* Line Heights */
|
|
3437
|
-
--leading-3:
|
|
3438
|
-
--leading-4:
|
|
3439
|
-
--leading-5:
|
|
3440
|
-
--leading-6:
|
|
3446
|
+
--leading-3: calc(var(--ax-sys-leading-3-base) * 7 / 6);
|
|
3447
|
+
--leading-4: var(--ax-sys-leading-4-base);
|
|
3448
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 0.9);
|
|
3449
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 11 / 12);
|
|
3441
3450
|
}
|
|
3442
3451
|
|
|
3443
3452
|
@utility ax-md {
|
|
3444
3453
|
/* Tailwind Default Scale */
|
|
3445
|
-
--spacing:
|
|
3454
|
+
--spacing: var(--ax-sys-spacing-base);
|
|
3446
3455
|
--ax-sys-border-radius: var(--ax-sys-border-radius-base);
|
|
3447
3456
|
|
|
3448
3457
|
/* Typography */
|
|
3449
|
-
--text-xs:
|
|
3450
|
-
--text-sm:
|
|
3451
|
-
--text-base:
|
|
3452
|
-
--text-lg:
|
|
3453
|
-
--text-xl:
|
|
3458
|
+
--text-xs: var(--ax-sys-text-xs-base);
|
|
3459
|
+
--text-sm: var(--ax-sys-text-sm-base);
|
|
3460
|
+
--text-base: var(--ax-sys-body-font-size);
|
|
3461
|
+
--text-lg: var(--ax-sys-text-lg-base);
|
|
3462
|
+
--text-xl: var(--ax-sys-text-xl-base);
|
|
3454
3463
|
|
|
3455
3464
|
/* Line Heights */
|
|
3456
|
-
--leading-3:
|
|
3457
|
-
--leading-4:
|
|
3458
|
-
--leading-5:
|
|
3459
|
-
--leading-6:
|
|
3465
|
+
--leading-3: var(--ax-sys-leading-3-base);
|
|
3466
|
+
--leading-4: var(--ax-sys-leading-4-base);
|
|
3467
|
+
--leading-5: var(--ax-sys-leading-5-base);
|
|
3468
|
+
--leading-6: var(--ax-sys-leading-6-base);
|
|
3460
3469
|
}
|
|
3461
3470
|
|
|
3462
3471
|
@utility ax-lg {
|
|
3463
3472
|
/* Spacing */
|
|
3464
|
-
--spacing:
|
|
3473
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 1.25);
|
|
3465
3474
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 1.25);
|
|
3466
3475
|
|
|
3467
3476
|
/* Typography */
|
|
3468
|
-
--text-xs:
|
|
3469
|
-
--text-sm:
|
|
3470
|
-
--text-base:
|
|
3471
|
-
--text-lg:
|
|
3472
|
-
--text-xl: 1.
|
|
3477
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 13 / 12);
|
|
3478
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 15 / 14);
|
|
3479
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 17 / 16);
|
|
3480
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 10 / 9);
|
|
3481
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 1.1);
|
|
3473
3482
|
|
|
3474
3483
|
/* Line Heights */
|
|
3475
|
-
--leading-3:
|
|
3476
|
-
--leading-4: 1.
|
|
3477
|
-
--leading-5: 1.
|
|
3478
|
-
--leading-6:
|
|
3484
|
+
--leading-3: calc(var(--ax-sys-leading-3-base) * 4 / 3);
|
|
3485
|
+
--leading-4: calc(var(--ax-sys-leading-4-base) * 1.125);
|
|
3486
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 1.1);
|
|
3487
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 13 / 12);
|
|
3479
3488
|
}
|
|
3480
3489
|
|
|
3481
3490
|
@utility ax-xl {
|
|
3482
3491
|
/* Spacing */
|
|
3483
|
-
--spacing:
|
|
3492
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 1.5);
|
|
3484
3493
|
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 1.5);
|
|
3485
3494
|
|
|
3486
3495
|
/* Typography */
|
|
3487
|
-
--text-xs:
|
|
3488
|
-
--text-sm:
|
|
3489
|
-
--text-base: 1.
|
|
3490
|
-
--text-lg:
|
|
3491
|
-
--text-xl: 1.
|
|
3496
|
+
--text-xs: calc(var(--ax-sys-text-xs-base) * 7 / 6);
|
|
3497
|
+
--text-sm: calc(var(--ax-sys-text-sm-base) * 8 / 7);
|
|
3498
|
+
--text-base: calc(var(--ax-sys-body-font-size) * 1.125);
|
|
3499
|
+
--text-lg: calc(var(--ax-sys-text-lg-base) * 11 / 9);
|
|
3500
|
+
--text-xl: calc(var(--ax-sys-text-xl-base) * 1.2);
|
|
3492
3501
|
|
|
3493
3502
|
/* Line Heights */
|
|
3494
|
-
--leading-3: 1.
|
|
3495
|
-
--leading-4: 1.
|
|
3496
|
-
--leading-5: 1.
|
|
3497
|
-
--leading-6:
|
|
3503
|
+
--leading-3: calc(var(--ax-sys-leading-3-base) * 1.5);
|
|
3504
|
+
--leading-4: calc(var(--ax-sys-leading-4-base) * 1.25);
|
|
3505
|
+
--leading-5: calc(var(--ax-sys-leading-5-base) * 1.2);
|
|
3506
|
+
--leading-6: calc(var(--ax-sys-leading-6-base) * 7 / 6);
|
|
3498
3507
|
}
|