@stackoverflow/stacks 2.0.0-rc.13 → 2.0.0-rc.14
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/css/stacks.css
CHANGED
|
@@ -7581,19 +7581,19 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
|
|
|
7581
7581
|
--theme-secondary-400: var(--theme-secondary-custom-400, var(--blue-400));
|
|
7582
7582
|
--theme-secondary-500: var(--theme-secondary-custom-500, var(--blue-500));
|
|
7583
7583
|
--theme-secondary-600: var(--theme-secondary-custom-600, var(--blue-600));
|
|
7584
|
-
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7585
|
-
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7586
|
-
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7584
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .9)));
|
|
7585
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .75)));
|
|
7586
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .5)));
|
|
7587
7587
|
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), var(--theme-base-primary-color-l));
|
|
7588
|
-
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7589
|
-
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7588
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.3)));
|
|
7589
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.6)));
|
|
7590
7590
|
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
7591
|
-
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7592
|
-
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7593
|
-
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7591
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .9)));
|
|
7592
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .75)));
|
|
7593
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .5)));
|
|
7594
7594
|
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l));
|
|
7595
|
-
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7596
|
-
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7595
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.3)));
|
|
7596
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.6)));
|
|
7597
7597
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
7598
7598
|
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
7599
7599
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -7707,19 +7707,19 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
7707
7707
|
--theme-secondary-400: var(--theme-dark-secondary-custom-400, var(--blue-400));
|
|
7708
7708
|
--theme-secondary-500: var(--theme-dark-secondary-custom-500, var(--blue-500));
|
|
7709
7709
|
--theme-secondary-600: var(--theme-dark-secondary-custom-600, var(--blue-600));
|
|
7710
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
7711
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
7712
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
7710
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
7711
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
7712
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
7713
7713
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
7714
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7715
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7714
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
7715
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
7716
7716
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
7717
|
-
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h),
|
|
7718
|
-
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h),
|
|
7719
|
-
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h),
|
|
7717
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.6)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.7)));
|
|
7718
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.4)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.5)));
|
|
7719
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.3)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.2)));
|
|
7720
7720
|
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l));
|
|
7721
|
-
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7722
|
-
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7721
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .5)));
|
|
7722
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .8)));
|
|
7723
7723
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
7724
7724
|
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
7725
7725
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -7831,19 +7831,19 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
7831
7831
|
--theme-secondary-400: var(--theme-dark-secondary-custom-400, var(--blue-400));
|
|
7832
7832
|
--theme-secondary-500: var(--theme-dark-secondary-custom-500, var(--blue-500));
|
|
7833
7833
|
--theme-secondary-600: var(--theme-dark-secondary-custom-600, var(--blue-600));
|
|
7834
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
7835
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
7836
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
7834
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
7835
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
7836
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
7837
7837
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
7838
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7839
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7838
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
7839
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
7840
7840
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
7841
|
-
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h),
|
|
7842
|
-
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h),
|
|
7843
|
-
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h),
|
|
7841
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.6)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.7)));
|
|
7842
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.4)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.5)));
|
|
7843
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.3)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.2)));
|
|
7844
7844
|
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l));
|
|
7845
|
-
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7846
|
-
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7845
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .5)));
|
|
7846
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .8)));
|
|
7847
7847
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
7848
7848
|
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
7849
7849
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -386,19 +386,19 @@ body .themed {
|
|
|
386
386
|
--theme-secondary-400: var(--theme-secondary-custom-400, var(--blue-400));
|
|
387
387
|
--theme-secondary-500: var(--theme-secondary-custom-500, var(--blue-500));
|
|
388
388
|
--theme-secondary-600: var(--theme-secondary-custom-600, var(--blue-600));
|
|
389
|
-
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
390
|
-
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
391
|
-
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
389
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .9)));
|
|
390
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .75)));
|
|
391
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .5)));
|
|
392
392
|
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), var(--theme-base-primary-color-l));
|
|
393
|
-
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
394
|
-
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
393
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.3)));
|
|
394
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.6)));
|
|
395
395
|
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
396
|
-
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
397
|
-
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
398
|
-
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
396
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .9)));
|
|
397
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .75)));
|
|
398
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .5)));
|
|
399
399
|
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l));
|
|
400
|
-
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
401
|
-
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
400
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.3)));
|
|
401
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.6)));
|
|
402
402
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
403
403
|
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
404
404
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -411,12 +411,12 @@ exports[`color-mixins > theming > create-custom-theme-hsl-rgb-variables 1`] = `
|
|
|
411
411
|
--theme-base-primary-color-h: 4;
|
|
412
412
|
--theme-base-primary-color-s: 100%;
|
|
413
413
|
--theme-base-primary-color-l: 50%;
|
|
414
|
-
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
415
|
-
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
416
|
-
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
414
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .9)));
|
|
415
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .75)));
|
|
416
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .5)));
|
|
417
417
|
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), var(--theme-base-primary-color-l));
|
|
418
|
-
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
419
|
-
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
418
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.3)));
|
|
419
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.6)));
|
|
420
420
|
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
421
421
|
}
|
|
422
422
|
|
|
@@ -424,12 +424,12 @@ create-custom-theme-hsl-rgb-variables(#29ff53, secondary, base) {
|
|
|
424
424
|
--theme-base-secondary-color-h: 131.77570093;
|
|
425
425
|
--theme-base-secondary-color-s: 100%;
|
|
426
426
|
--theme-base-secondary-color-l: 58.03921569%;
|
|
427
|
-
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
428
|
-
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
429
|
-
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
427
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .9)));
|
|
428
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .75)));
|
|
429
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .5)));
|
|
430
430
|
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l));
|
|
431
|
-
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
432
|
-
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
431
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.3)));
|
|
432
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.6)));
|
|
433
433
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
434
434
|
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
435
435
|
}
|
|
@@ -438,12 +438,12 @@ create-custom-theme-hsl-rgb-variables(#1c091d, primary, dark) {
|
|
|
438
438
|
--theme-dark-primary-color-h: 297;
|
|
439
439
|
--theme-dark-primary-color-s: 52.63157895%;
|
|
440
440
|
--theme-dark-primary-color-l: 7.45098039%;
|
|
441
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
442
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
443
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
441
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
442
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
443
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
444
444
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
445
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
446
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
445
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
446
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
447
447
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
448
448
|
}
|
|
449
449
|
|
|
@@ -451,12 +451,12 @@ create-custom-theme-hsl-rgb-variables(#49281f, secondary, dark) {
|
|
|
451
451
|
--theme-dark-secondary-color-h: 12.85714286;
|
|
452
452
|
--theme-dark-secondary-color-s: 40.38461538%;
|
|
453
453
|
--theme-dark-secondary-color-l: 20.39215686%;
|
|
454
|
-
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h),
|
|
455
|
-
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h),
|
|
456
|
-
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h),
|
|
454
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.6)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.7)));
|
|
455
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.4)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.5)));
|
|
456
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.3)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.2)));
|
|
457
457
|
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l));
|
|
458
|
-
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
459
|
-
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
458
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .5)));
|
|
459
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .8)));
|
|
460
460
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
461
461
|
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
462
462
|
}
|
|
@@ -465,43 +465,43 @@ create-custom-theme-hsl-rgb-variables(#49281f, secondary, dark) {
|
|
|
465
465
|
|
|
466
466
|
exports[`color-mixins > theming > create-custom-theme-variables 1`] = `
|
|
467
467
|
"create-custom-theme-variables(primary, base) {
|
|
468
|
-
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
469
|
-
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
470
|
-
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
468
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .9)));
|
|
469
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .75)));
|
|
470
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .5)));
|
|
471
471
|
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), var(--theme-base-primary-color-l));
|
|
472
|
-
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
473
|
-
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
472
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.3)));
|
|
473
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.6)));
|
|
474
474
|
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
475
475
|
}
|
|
476
476
|
|
|
477
477
|
create-custom-theme-variables(primary, dark) {
|
|
478
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
479
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
480
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
478
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
479
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
480
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
481
481
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
482
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
483
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
482
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
483
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
484
484
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
create-custom-theme-variables(secondary, base) {
|
|
488
|
-
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
489
|
-
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
490
|
-
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
488
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .9)));
|
|
489
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .75)));
|
|
490
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .5)));
|
|
491
491
|
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l));
|
|
492
|
-
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
493
|
-
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
492
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.3)));
|
|
493
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.6)));
|
|
494
494
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
495
495
|
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
create-custom-theme-variables(secondary, base) {
|
|
499
|
-
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
500
|
-
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
501
|
-
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
499
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .9)));
|
|
500
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .75)));
|
|
501
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .5)));
|
|
502
502
|
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l));
|
|
503
|
-
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
504
|
-
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
503
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.3)));
|
|
504
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.6)));
|
|
505
505
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
506
506
|
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
507
507
|
}
|
|
@@ -174,19 +174,19 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
|
|
|
174
174
|
--theme-secondary-400: var(--theme-secondary-custom-400, var(--blue-400));
|
|
175
175
|
--theme-secondary-500: var(--theme-secondary-custom-500, var(--blue-500));
|
|
176
176
|
--theme-secondary-600: var(--theme-secondary-custom-600, var(--blue-600));
|
|
177
|
-
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
178
|
-
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
179
|
-
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
177
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .9)));
|
|
178
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .75)));
|
|
179
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .5)));
|
|
180
180
|
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), var(--theme-base-primary-color-l));
|
|
181
|
-
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
182
|
-
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
181
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.3)));
|
|
182
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.6)));
|
|
183
183
|
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
184
|
-
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
185
|
-
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
186
|
-
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
184
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .9)));
|
|
185
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .75)));
|
|
186
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .5)));
|
|
187
187
|
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l));
|
|
188
|
-
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
189
|
-
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
188
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.3)));
|
|
189
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.6)));
|
|
190
190
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
191
191
|
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
192
192
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -301,19 +301,19 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
301
301
|
--theme-secondary-400: var(--theme-dark-secondary-custom-400, var(--blue-400));
|
|
302
302
|
--theme-secondary-500: var(--theme-dark-secondary-custom-500, var(--blue-500));
|
|
303
303
|
--theme-secondary-600: var(--theme-dark-secondary-custom-600, var(--blue-600));
|
|
304
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
305
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
306
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
304
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
305
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
306
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
307
307
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
308
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
309
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
308
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
309
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
310
310
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
311
|
-
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h),
|
|
312
|
-
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h),
|
|
313
|
-
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h),
|
|
311
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.6)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.7)));
|
|
312
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.4)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.5)));
|
|
313
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.3)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.2)));
|
|
314
314
|
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l));
|
|
315
|
-
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
316
|
-
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
315
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .5)));
|
|
316
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .8)));
|
|
317
317
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
318
318
|
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
319
319
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -426,19 +426,19 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
426
426
|
--theme-secondary-400: var(--theme-dark-secondary-custom-400, var(--blue-400));
|
|
427
427
|
--theme-secondary-500: var(--theme-dark-secondary-custom-500, var(--blue-500));
|
|
428
428
|
--theme-secondary-600: var(--theme-dark-secondary-custom-600, var(--blue-600));
|
|
429
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
430
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
431
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
429
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
430
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
431
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
432
432
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
433
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
434
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
433
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
434
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
435
435
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
436
|
-
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h),
|
|
437
|
-
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h),
|
|
438
|
-
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h),
|
|
436
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.6)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.7)));
|
|
437
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.4)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.5)));
|
|
438
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.3)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.2)));
|
|
439
439
|
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l));
|
|
440
|
-
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
441
|
-
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
440
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .5)));
|
|
441
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .8)));
|
|
442
442
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
443
443
|
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
444
444
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -210,20 +210,20 @@
|
|
|
210
210
|
.create-custom-theme-variables(@tier: primary, @modeCustom: base) {
|
|
211
211
|
@valueVar: ~"theme-@{modeCustom}-@{tier}-color";
|
|
212
212
|
@focusRingHSLVars: ~"var(--@{valueVar}-h), var(--@{valueVar}-s), var(--@{valueVar}-l)";
|
|
213
|
-
@
|
|
214
|
-
@
|
|
215
|
-
@
|
|
213
|
+
@h: var(~"--@{valueVar}-h");
|
|
214
|
+
@s: var(~"--@{valueVar}-s");
|
|
215
|
+
@l: var(~"--@{valueVar}-l");
|
|
216
216
|
|
|
217
217
|
// TODO verify color stops with design
|
|
218
218
|
& when (@modeCustom = base) {
|
|
219
219
|
@varBase: ~"--theme-@{tier}-custom";
|
|
220
220
|
|
|
221
|
-
@{varBase}-100: ~"hsl(@{
|
|
222
|
-
@{varBase}-200: ~"hsl(@{
|
|
223
|
-
@{varBase}-300: ~"hsl(@{
|
|
224
|
-
@{varBase}-400: ~"hsl(@{
|
|
225
|
-
@{varBase}-500: ~"hsl(@{
|
|
226
|
-
@{varBase}-600: ~"hsl(@{
|
|
221
|
+
@{varBase}-100: ~"hsl(@{h}, @{s}, calc(@{l} + ((100% - @{l}) * .9)))";
|
|
222
|
+
@{varBase}-200: ~"hsl(@{h}, @{s}, calc(@{l} + ((100% - @{l}) * .75)))";
|
|
223
|
+
@{varBase}-300: ~"hsl(@{h}, @{s}, calc(@{l} + ((100% - @{l}) * .5)))";
|
|
224
|
+
@{varBase}-400: ~"hsl(@{h}, @{s}, @{l})";
|
|
225
|
+
@{varBase}-500: ~"hsl(@{h}, @{s}, calc(@{l} + (@{l} * -.3)))";
|
|
226
|
+
@{varBase}-600: ~"hsl(@{h}, @{s}, calc(@{l} + (@{l} * -.6)))";
|
|
227
227
|
@{varBase}: ~"var(@{varBase}-400)";
|
|
228
228
|
|
|
229
229
|
& when (@tier = secondary) {
|
|
@@ -234,12 +234,12 @@
|
|
|
234
234
|
& when (@modeCustom = dark) {
|
|
235
235
|
@varBaseDark: ~"--theme-@{modeCustom}-@{tier}-custom";
|
|
236
236
|
|
|
237
|
-
@{varBaseDark}-100: ~"hsl(@{
|
|
238
|
-
@{varBaseDark}-200: ~"hsl(@{
|
|
239
|
-
@{varBaseDark}-300: ~"hsl(@{
|
|
240
|
-
@{varBaseDark}-400: ~"hsl(@{
|
|
241
|
-
@{varBaseDark}-500: ~"hsl(@{
|
|
242
|
-
@{varBaseDark}-600: ~"hsl(@{
|
|
237
|
+
@{varBaseDark}-100: ~"hsl(@{h}, calc(@{s} + (@{s} * -.6)), calc(@{l} + (@{l} * -.7)))";
|
|
238
|
+
@{varBaseDark}-200: ~"hsl(@{h}, calc(@{s} + (@{s} * -.4)), calc(@{l} + (@{l} * -.5)))";
|
|
239
|
+
@{varBaseDark}-300: ~"hsl(@{h}, calc(@{s} + (@{s} * -.3)), calc(@{l} + (@{l} * -.2)))";
|
|
240
|
+
@{varBaseDark}-400: ~"hsl(@{h}, @{s}, @{l})";
|
|
241
|
+
@{varBaseDark}-500: ~"hsl(@{h}, @{s}, calc(@{l} + ((100% - @{l}) * .5)))";
|
|
242
|
+
@{varBaseDark}-600: ~"hsl(@{h}, @{s}, calc(@{l} + ((100% - @{l}) * .8)))";
|
|
243
243
|
@{varBaseDark}: ~"var(@{varBaseDark}-400)";
|
|
244
244
|
|
|
245
245
|
& when (@tier = secondary) {
|
package/lib/exports/mixins.less
CHANGED
|
@@ -138,44 +138,6 @@
|
|
|
138
138
|
calc(var(~"--@{color-prefix}-l") + @amountPercentage));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
.alter-hsl-var(@baseAmount, @change: 0%, @max: 100%) {
|
|
143
|
-
& when (@change > 0) {
|
|
144
|
-
calc(@baseAmount + ((@max - @baseAmount) * @change));
|
|
145
|
-
}
|
|
146
|
-
& when(@change < 0) {
|
|
147
|
-
calc(@baseAmount + (@baseAmount * @change));
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
// Alter the lightness of a color in the HSL color space
|
|
153
|
-
.native-lightness(@color-prefix, @lMod: 0) {
|
|
154
|
-
@result: hsl(
|
|
155
|
-
var(~"--@{color-prefix}-h"),
|
|
156
|
-
var(~"--@{color-prefix}-s"),
|
|
157
|
-
calc(
|
|
158
|
-
var(~"--@{color-prefix}-l") +
|
|
159
|
-
((100% - var(~"--@{color-prefix}-l")) * @lMod)
|
|
160
|
-
)
|
|
161
|
-
);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
// Alter the saturation and lightness of a color in the HSL color space
|
|
165
|
-
.native-saturation-lightness(@color-prefix, @sMod: 0, @lMod: 0) {
|
|
166
|
-
@result: hsl(
|
|
167
|
-
var(~"--@{color-prefix}-h"),
|
|
168
|
-
calc(
|
|
169
|
-
var(~"--@{color-prefix}-s") +
|
|
170
|
-
((100% - var(~"--@{color-prefix}-s")) * @sMod)
|
|
171
|
-
),
|
|
172
|
-
calc(
|
|
173
|
-
var(~"--@{color-prefix}-l") +
|
|
174
|
-
((100% - var(~"--@{color-prefix}-l")) * @lMod)
|
|
175
|
-
)
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
141
|
// Decrease the lightness and saturation of a color in the HSL color space by absolute amounts.
|
|
180
142
|
.native-darken-desaturate(@color-prefix, @darken-amount, @desaturate-amount) {
|
|
181
143
|
@darkenAmountPercentage: .load-color-variables(@darken-amount)[@amountPercentage];
|