@acorex/styles 21.0.3-next.22 → 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/components/_editor-container.css +18 -5
- package/package.json +1 -1
- package/themes/default.css +66 -51
|
@@ -34,15 +34,28 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&:has(.ax-general-button-control, .ax-general-button-icon) {
|
|
37
|
-
@apply pe-
|
|
37
|
+
@apply pe-2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:has(ax-prefix ax-button) {
|
|
41
|
+
@apply ps-0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:has(ax-suffix ax-button) {
|
|
45
|
+
@apply pe-0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
ax-prefix > ax-button {
|
|
49
|
+
@apply rounded-e-none!;
|
|
38
50
|
}
|
|
39
51
|
|
|
40
|
-
|
|
41
|
-
@apply
|
|
52
|
+
ax-suffix > ax-button {
|
|
53
|
+
@apply rounded-s-none!;
|
|
42
54
|
}
|
|
43
55
|
|
|
44
|
-
|
|
45
|
-
|
|
56
|
+
ax-suffix > ax-icon,
|
|
57
|
+
ax-prefix > ax-icon {
|
|
58
|
+
@apply text-muted;
|
|
46
59
|
}
|
|
47
60
|
|
|
48
61
|
ax-prefix,
|
package/package.json
CHANGED
package/themes/default.css
CHANGED
|
@@ -73,7 +73,17 @@ html.ax-dark {
|
|
|
73
73
|
--ax-sys-icon-width: inherit;
|
|
74
74
|
--ax-sys-icon-height: inherit;
|
|
75
75
|
--ax-sys-body-font-size: 1rem;
|
|
76
|
-
--ax-sys-border-radius: 0.5rem;
|
|
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
|
+
--ax-sys-border-radius: var(--ax-sys-border-radius-base);
|
|
77
87
|
--ax-sys-transition-duration: 150ms;
|
|
78
88
|
--ax-sys-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
79
89
|
|
|
@@ -3403,90 +3413,95 @@ html.ax-dark {
|
|
|
3403
3413
|
|
|
3404
3414
|
@utility ax-xs {
|
|
3405
3415
|
/* Spacing */
|
|
3406
|
-
--spacing: 0.
|
|
3416
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 0.5);
|
|
3417
|
+
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 0.5);
|
|
3407
3418
|
|
|
3408
3419
|
/* Typography */
|
|
3409
|
-
--text-xs:
|
|
3410
|
-
--text-sm:
|
|
3411
|
-
--text-base: 0.
|
|
3412
|
-
--text-lg:
|
|
3413
|
-
--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);
|
|
3414
3425
|
|
|
3415
3426
|
/* Line Heights */
|
|
3416
|
-
--leading-3:
|
|
3417
|
-
--leading-4: 0.
|
|
3418
|
-
--leading-5:
|
|
3419
|
-
--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);
|
|
3420
3431
|
}
|
|
3421
3432
|
|
|
3422
3433
|
@utility ax-sm {
|
|
3423
3434
|
/* Spacing */
|
|
3424
|
-
--spacing: 0.
|
|
3435
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 0.75);
|
|
3436
|
+
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 0.75);
|
|
3425
3437
|
|
|
3426
3438
|
/* Typography */
|
|
3427
|
-
--text-xs:
|
|
3428
|
-
--text-sm:
|
|
3429
|
-
--text-base: 0.
|
|
3430
|
-
--text-lg:
|
|
3431
|
-
--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);
|
|
3432
3444
|
|
|
3433
3445
|
/* Line Heights */
|
|
3434
|
-
--leading-3:
|
|
3435
|
-
--leading-4:
|
|
3436
|
-
--leading-5:
|
|
3437
|
-
--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);
|
|
3438
3450
|
}
|
|
3439
3451
|
|
|
3440
3452
|
@utility ax-md {
|
|
3441
3453
|
/* Tailwind Default Scale */
|
|
3442
|
-
--spacing:
|
|
3454
|
+
--spacing: var(--ax-sys-spacing-base);
|
|
3455
|
+
--ax-sys-border-radius: var(--ax-sys-border-radius-base);
|
|
3443
3456
|
|
|
3444
3457
|
/* Typography */
|
|
3445
|
-
--text-xs:
|
|
3446
|
-
--text-sm:
|
|
3447
|
-
--text-base:
|
|
3448
|
-
--text-lg:
|
|
3449
|
-
--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);
|
|
3450
3463
|
|
|
3451
3464
|
/* Line Heights */
|
|
3452
|
-
--leading-3:
|
|
3453
|
-
--leading-4:
|
|
3454
|
-
--leading-5:
|
|
3455
|
-
--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);
|
|
3456
3469
|
}
|
|
3457
3470
|
|
|
3458
3471
|
@utility ax-lg {
|
|
3459
3472
|
/* Spacing */
|
|
3460
|
-
--spacing:
|
|
3473
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 1.25);
|
|
3474
|
+
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 1.25);
|
|
3461
3475
|
|
|
3462
3476
|
/* Typography */
|
|
3463
|
-
--text-xs:
|
|
3464
|
-
--text-sm:
|
|
3465
|
-
--text-base:
|
|
3466
|
-
--text-lg:
|
|
3467
|
-
--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);
|
|
3468
3482
|
|
|
3469
3483
|
/* Line Heights */
|
|
3470
|
-
--leading-3:
|
|
3471
|
-
--leading-4: 1.
|
|
3472
|
-
--leading-5: 1.
|
|
3473
|
-
--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);
|
|
3474
3488
|
}
|
|
3475
3489
|
|
|
3476
3490
|
@utility ax-xl {
|
|
3477
3491
|
/* Spacing */
|
|
3478
|
-
--spacing:
|
|
3492
|
+
--spacing: calc(var(--ax-sys-spacing-base) * 1.5);
|
|
3493
|
+
--ax-sys-border-radius: calc(var(--ax-sys-border-radius-base) * 1.5);
|
|
3479
3494
|
|
|
3480
3495
|
/* Typography */
|
|
3481
|
-
--text-xs:
|
|
3482
|
-
--text-sm:
|
|
3483
|
-
--text-base: 1.
|
|
3484
|
-
--text-lg:
|
|
3485
|
-
--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);
|
|
3486
3501
|
|
|
3487
3502
|
/* Line Heights */
|
|
3488
|
-
--leading-3: 1.
|
|
3489
|
-
--leading-4: 1.
|
|
3490
|
-
--leading-5: 1.
|
|
3491
|
-
--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);
|
|
3492
3507
|
}
|