@atlassian/aui 9.6.1 → 9.7.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/aui/@atlaskit-internal_atlassian-dark-iteration.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-dark-iteration.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-dark-new-input-border.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-dark-new-input-border.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-dark.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-dark.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-legacy-dark.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-legacy-dark.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-legacy-light.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-legacy-light.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-light-new-input-border.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-light-new-input-border.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-light.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-light.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-shape.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-shape.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-spacing.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-spacing.js.map +1 -0
- package/dist/aui/@atlaskit-internal_atlassian-typography.js +2 -0
- package/dist/aui/@atlaskit-internal_atlassian-typography.js.map +1 -0
- package/dist/aui/aui-css-deprecations.js +1 -1
- package/dist/aui/aui-css-deprecations.js.map +1 -1
- package/dist/aui/aui-prototyping-browserfocus.css +532 -5
- package/dist/aui/aui-prototyping-darkmode.css +258 -5
- package/dist/aui/aui-prototyping-design-tokens-api.js +18 -0
- package/dist/aui/aui-prototyping-design-tokens-api.js.map +1 -0
- package/dist/aui/aui-prototyping.css +8 -8
- package/dist/aui/aui-prototyping.css.map +1 -1
- package/dist/aui/aui-prototyping.js +2 -2
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +8 -8
- package/dist/aui/aui-prototyping.nodeps.css.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.js +2 -2
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/entry/aui.design-tokens-api.js +2 -0
- package/entry/styles/aui.page.design-tokens-mode.js +1 -0
- package/entry/styles/aui.page.reset.js +1 -0
- package/package.json +4 -2
- package/src/js/aui/design-tokens/design-tokens.js +104 -0
- package/src/js/aui/form-notification.js +44 -10
- package/src/js/aui/form-validation.js +8 -1
- package/src/js/aui/internal/globalize.js +1 -1
- package/src/js/aui/toggle.js +6 -6
- package/src/js/aui/tooltip.js +64 -26
- package/src/js/aui-css-deprecations.js +8 -0
- package/src/less/aui-banner.less +4 -5
- package/src/less/aui-close-button.less +1 -2
- package/src/less/aui-experimental-tooltip.less +1 -1
- package/src/less/aui-spinner.less +1 -1
- package/src/less/forms-radios-and-checkboxes.less +0 -2
- package/src/less/imports/aui-theme/components/buttons.less +1 -1
- package/src/less/imports/aui-theme/components/forms.less +0 -1
- package/src/less/imports/aui-theme/components/progress-tracker.less +0 -2
- package/src/less/imports/aui-theme/core/colors.less +337 -12
- package/src/less/imports/aui-theme/theme.less +16 -1
- package/src/less/messages.less +3 -4
- package/src/less/themes/design-tokens.aui-theme.less +5 -0
- package/src/less/themes/themes.less +2 -0
- /package/{LICENSE.md → LICENSE} +0 -0
|
@@ -166,7 +166,6 @@
|
|
|
166
166
|
--aui-form-select-bg-color: @ak-color-N30;
|
|
167
167
|
--aui-form-select-border-color: @ak-color-N30;
|
|
168
168
|
--aui-form-select-hover-bg-color: @ak-color-N40;
|
|
169
|
-
--aui-form-checkbox-radio-hover-bg-color: @ak-color-B300;
|
|
170
169
|
--aui-form-checkbox-radio-active-bg-color: @ak-color-B50;
|
|
171
170
|
--aui-form-optgroup-text-color: @ak-color-N100;
|
|
172
171
|
--aui-form-optgroup-bg-color: @ak-color-N20;
|
|
@@ -187,8 +186,6 @@
|
|
|
187
186
|
--aui-form-checkbox-active-icon-color: @ak-color-B400;
|
|
188
187
|
--aui-form-radio-unchecked-bg-color: @ak-color-N10;
|
|
189
188
|
--aui-form-radio-unchecked-border-color: @ak-color-N40;
|
|
190
|
-
--aui-form-radio-unchecked-hover-bg-color: @ak-color-N30;
|
|
191
|
-
--aui-form-radio-unchecked-hover-border-color: @ak-color-N40;
|
|
192
189
|
|
|
193
190
|
--aui-toggle-default-bg-color: @ak-color-N200;
|
|
194
191
|
--aui-toggle-default-bg-hover-color: @ak-color-N70;
|
|
@@ -203,9 +200,11 @@
|
|
|
203
200
|
--aui-form-notification-error-color: var(--aui-message-error-icon-color);
|
|
204
201
|
--aui-form-notification-success-color: var(--aui-message-success-icon-color);
|
|
205
202
|
|
|
206
|
-
// Progress
|
|
203
|
+
// Progress bar
|
|
207
204
|
--aui-progressbar-color: @ak-color-N500;
|
|
208
205
|
--aui-progressbar-track-color: @ak-color-N40A;
|
|
206
|
+
|
|
207
|
+
// Spinner
|
|
209
208
|
--aui-spinner-color: @ak-color-N500;
|
|
210
209
|
|
|
211
210
|
// Navigation
|
|
@@ -243,8 +242,6 @@
|
|
|
243
242
|
--aui-tabs-tab-active-text-color: @ak-color-B400;
|
|
244
243
|
|
|
245
244
|
// Multi-step wizard
|
|
246
|
-
--aui-progress-tracker-step-border-color: @ak-color-N20;
|
|
247
|
-
--aui-progress-tracker-container-color: @ak-color-N20;
|
|
248
245
|
--aui-progress-tracker-current-step-color: @ak-color-B300;
|
|
249
246
|
--aui-progress-tracker-current-step-text-color: var(--aui-progress-tracker-visited-step-text-color);
|
|
250
247
|
--aui-progress-tracker-visited-step-text-color: @ak-color-N800;
|
|
@@ -488,7 +485,6 @@
|
|
|
488
485
|
--aui-form-select-bg-color: @ak-color-N70;
|
|
489
486
|
--aui-form-select-border-color: @ak-color-N70;
|
|
490
487
|
--aui-form-select-hover-bg-color: @ak-color-N40;
|
|
491
|
-
--aui-form-checkbox-radio-hover-bg-color: @ak-color-B300;
|
|
492
488
|
--aui-form-checkbox-radio-active-bg-color: @ak-color-B100;
|
|
493
489
|
--aui-form-optgroup-text-color: @ak-color-N100;
|
|
494
490
|
--aui-form-optgroup-bg-color: @ak-color-N20;
|
|
@@ -509,8 +505,6 @@
|
|
|
509
505
|
--aui-form-checkbox-active-icon-color: @ak-color-B200;
|
|
510
506
|
--aui-form-radio-unchecked-bg-color: @ak-color-N10;
|
|
511
507
|
--aui-form-radio-unchecked-border-color: @ak-color-N70;
|
|
512
|
-
--aui-form-radio-unchecked-hover-bg-color: @ak-color-N30;
|
|
513
|
-
--aui-form-radio-unchecked-hover-border-color: @ak-color-N70;
|
|
514
508
|
|
|
515
509
|
--aui-toggle-default-bg-color: @ak-color-N90;
|
|
516
510
|
--aui-toggle-default-bg-hover-color: @ak-color-N100;
|
|
@@ -525,9 +519,11 @@
|
|
|
525
519
|
--aui-form-notification-error-color: @ak-color-R300;
|
|
526
520
|
--aui-form-notification-success-color: @ak-color-G300;
|
|
527
521
|
|
|
528
|
-
// Progress
|
|
522
|
+
// Progress bar
|
|
529
523
|
--aui-progressbar-color: @ak-color-N800;
|
|
530
524
|
--aui-progressbar-track-color: @ak-color-N400A;
|
|
525
|
+
|
|
526
|
+
// Spinner
|
|
531
527
|
--aui-spinner-color: @ak-color-N800;
|
|
532
528
|
|
|
533
529
|
// Navigation
|
|
@@ -565,8 +561,6 @@
|
|
|
565
561
|
--aui-tabs-tab-active-text-color: @ak-color-B100;
|
|
566
562
|
|
|
567
563
|
// Multi-step wizard
|
|
568
|
-
--aui-progress-tracker-step-border-color: @ak-color-N20;
|
|
569
|
-
--aui-progress-tracker-container-color: @ak-color-N20;
|
|
570
564
|
--aui-progress-tracker-current-step-color: @ak-color-B300;
|
|
571
565
|
--aui-progress-tracker-current-step-text-color: var(--aui-progress-tracker-visited-step-text-color);
|
|
572
566
|
--aui-progress-tracker-visited-step-text-color: @ak-color-N800;
|
|
@@ -650,4 +644,335 @@
|
|
|
650
644
|
--aui-datepicker-disabled-text-color: @ak-color-N100;
|
|
651
645
|
--aui-datepicker-hint-text-color: @ak-color-N400;
|
|
652
646
|
}
|
|
647
|
+
|
|
648
|
+
.design-tokens() {
|
|
649
|
+
@import (reference) '../adg/adg-colors';
|
|
650
|
+
@import (reference) '../adg/adg-neutral-light';
|
|
651
|
+
|
|
652
|
+
// Actual theme
|
|
653
|
+
|
|
654
|
+
--aui-shadow1: var(--ds-border);
|
|
655
|
+
--aui-shadow2: var(--ds-background-neutral-pressed);
|
|
656
|
+
--aui-blanket: var(--ds-blanket);
|
|
657
|
+
|
|
658
|
+
// Page
|
|
659
|
+
--aui-body-text: var(--ds-text);
|
|
660
|
+
--aui-lesser-body-text: var(--ds-text-subtlest);
|
|
661
|
+
--aui-lesser-header-text: var(--ds-text-subtlest);
|
|
662
|
+
--aui-body-background: var(--ds-surface);
|
|
663
|
+
--aui-page-background: var(--ds-surface);
|
|
664
|
+
--aui-page-border: var(--ds-border);
|
|
665
|
+
--aui-border: var(--ds-border);
|
|
666
|
+
--aui-border-strong: var(--ds-border-accent-gray);
|
|
667
|
+
--aui-focus: var(--ds-border-focused);
|
|
668
|
+
--aui-link-color: var(--ds-link);
|
|
669
|
+
--aui-link-decoration: none;
|
|
670
|
+
--aui-link-hover-color: var(--ds-link);
|
|
671
|
+
--aui-link-active-color: var(--ds-link-pressed);
|
|
672
|
+
--aui-link-hover-decoration: underline;
|
|
673
|
+
--aui-link-visited-color: var(--ds-link-pressed);
|
|
674
|
+
|
|
675
|
+
// "Item" pattern - used for navigation, buttons, dropdown options, pagination, and similar.
|
|
676
|
+
--aui-itemheading-text: var(--ds-text-subtle);
|
|
677
|
+
--aui-item-bg: transparent;
|
|
678
|
+
--aui-item-text: var(--ds-text-subtlest);
|
|
679
|
+
--aui-item-focus-bg: var(--ds-background-accent-gray-subtler);
|
|
680
|
+
--aui-item-focus-text: var(--ds-text-subtle);
|
|
681
|
+
--aui-item-active-text: var(--ds-text-subtle);
|
|
682
|
+
--aui-item-active-bg: var(--ds-background-selected);
|
|
683
|
+
--aui-item-selected-bg: var(--aui-item-focus-bg);
|
|
684
|
+
--aui-item-selected-text: var(--aui-item-focus-text);
|
|
685
|
+
--aui-item-disabled-bg: transparent;
|
|
686
|
+
--aui-item-disabled-text: var(--ds-text-disabled);
|
|
687
|
+
|
|
688
|
+
// Tooltips
|
|
689
|
+
--aui-tooltip-bg-color: var(--ds-background-neutral-bold);
|
|
690
|
+
--aui-tooltip-border-color: var(--ds-background-neutral-bold);
|
|
691
|
+
--aui-tooltip-content-text-color: var(--ds-text-inverse);
|
|
692
|
+
--aui-tooltip-title-text-color: var(--ds-text-inverse);
|
|
693
|
+
|
|
694
|
+
// Help text and onboarding messaging
|
|
695
|
+
--aui-help-color: var(--ds-border-discovery);
|
|
696
|
+
|
|
697
|
+
// Badges
|
|
698
|
+
--aui-badge-bg-color: var(--ds-background-accent-gray-subtler);
|
|
699
|
+
--aui-badge-text-color: var(--ds-text-accent-gray);
|
|
700
|
+
--aui-badge-primary-bg-color: var(--ds-background-information-bold);
|
|
701
|
+
--aui-badge-primary-text-color: var(--ds-text-inverse);
|
|
702
|
+
--aui-badge-added-bg-color: var(--ds-background-accent-green-subtlest);
|
|
703
|
+
--aui-badge-addded-text-color: var(--ds-text-accent-green);
|
|
704
|
+
--aui-badge-removed-bg-color: var(--ds-background-accent-red-subtlest);
|
|
705
|
+
--aui-badge-removed-text-color: var(--ds-text-accent-red);
|
|
706
|
+
--aui-badge-important-bg-color: var(--ds-background-accent-red-bolder);
|
|
707
|
+
--aui-badge-important-text-color: var(--ds-text-inverse);
|
|
708
|
+
--aui-badge-on-blue-text-color: var(--ds-text-inverse);
|
|
709
|
+
--aui-badge-on-blue-bg-color: var(--ds-background-accent-blue-subtler);
|
|
710
|
+
|
|
711
|
+
// Avatars
|
|
712
|
+
--aui-avatar-outline: var(--ds-border-inverse);
|
|
713
|
+
--aui-avatar-text: var(--ds-text-inverse);
|
|
714
|
+
|
|
715
|
+
// Lozenges
|
|
716
|
+
--aui-lozenge-bg-color: var(--ds-background-accent-gray-bolder);
|
|
717
|
+
--aui-lozenge-text-color: var(--ds-text-inverse);
|
|
718
|
+
--aui-lozenge-subtle-bg-color: var(--ds-background-accent-gray-subtler);
|
|
719
|
+
--aui-lozenge-subtle-text-color: var(--ds-text-inverse);
|
|
720
|
+
--aui-lozenge-success-bg-color: var(--ds-background-success-bold);
|
|
721
|
+
--aui-lozenge-success-text-color: var(--ds-text-inverse);
|
|
722
|
+
--aui-lozenge-success-subtle-bg-color: var(--ds-background-success);
|
|
723
|
+
--aui-lozenge-success-subtle-text-color: var(--ds-text-success);
|
|
724
|
+
--aui-lozenge-current-bg-color: var(--ds-background-information-bold);
|
|
725
|
+
--aui-lozenge-current-text-color: var(--ds-text-inverse);
|
|
726
|
+
--aui-lozenge-current-subtle-bg-color: var(--ds-background-information);
|
|
727
|
+
--aui-lozenge-current-subtle-text-color: var(--ds-text-information);
|
|
728
|
+
--aui-lozenge-moved-bg-color: var(--ds-background-warning-bold);
|
|
729
|
+
--aui-lozenge-moved-text-color: var(--ds-text-inverse);
|
|
730
|
+
--aui-lozenge-moved-subtle-bg-color: var(--ds-background-warning);
|
|
731
|
+
--aui-lozenge-moved-subtle-text-color: var(--ds-text-warning);
|
|
732
|
+
--aui-lozenge-error-bg-color: var(--ds-background-danger-bold);
|
|
733
|
+
--aui-lozenge-error-text-color: var(--ds-text-inverse);
|
|
734
|
+
--aui-lozenge-error-subtle-bg-color: var(--ds-background-danger);
|
|
735
|
+
--aui-lozenge-error-subtle-text-color: var(--ds-text-danger);
|
|
736
|
+
--aui-lozenge-new-bg-color: var(--ds-background-discovery-bold);
|
|
737
|
+
--aui-lozenge-new-text-color: var(--ds-text-inverse);
|
|
738
|
+
--aui-lozenge-new-subtle-bg-color: var(--ds-background-discovery);
|
|
739
|
+
--aui-lozenge-new-subtle-text-color: var(--ds-text-discovery);
|
|
740
|
+
|
|
741
|
+
// Messages
|
|
742
|
+
--aui-message-info-bg-color: var(--ds-background-information);
|
|
743
|
+
--aui-message-info-icon-color: var(--ds-icon-information);
|
|
744
|
+
--aui-message-info-text-color: var(--ds-text);
|
|
745
|
+
--aui-message-success-bg-color: var(--ds-background-success);
|
|
746
|
+
--aui-message-success-icon-color: var(--ds-icon-success);
|
|
747
|
+
--aui-message-success-text-color: var(--ds-text);
|
|
748
|
+
--aui-message-warning-bg-color: var(--ds-background-warning);
|
|
749
|
+
--aui-message-warning-icon-color: var(--ds-icon-warning);
|
|
750
|
+
--aui-message-warning-text-color: var(--ds-text);
|
|
751
|
+
--aui-message-error-bg-color: var(--ds-background-danger);
|
|
752
|
+
--aui-message-error-icon-color: var(--ds-icon-danger);
|
|
753
|
+
--aui-message-error-text-color: var(--ds-text);
|
|
754
|
+
--aui-message-change-bg-color: var(--ds-background-discovery);
|
|
755
|
+
--aui-message-change-icon-color: var(--ds-icon-discovery);
|
|
756
|
+
--aui-message-change-text-color: var(--ds-text);
|
|
757
|
+
|
|
758
|
+
// Banners
|
|
759
|
+
--aui-banner-error-bg-color: var(--ds-background-danger-bold);
|
|
760
|
+
--aui-banner-error-text-color: var(--ds-text-inverse);
|
|
761
|
+
|
|
762
|
+
// Flags
|
|
763
|
+
--aui-flag-bg-color: var(--aui-dropdown-bg-color);
|
|
764
|
+
--aui-flag-info-color: var(--ds-icon-information);
|
|
765
|
+
--aui-flag-success-color: var(--ds-icon-success);
|
|
766
|
+
--aui-flag-warning-color: var(--ds-icon-warning);
|
|
767
|
+
--aui-flag-error-color: var(--ds-icon-danger);
|
|
768
|
+
|
|
769
|
+
// Buttons
|
|
770
|
+
--aui-button-default-bg-color: var(--ds-background-neutral);
|
|
771
|
+
--aui-button-default-text-color: var(--ds-text);
|
|
772
|
+
--aui-button-default-hover-bg-color: var(--ds-background-neutral-hovered);
|
|
773
|
+
--aui-button-default-active-bg-color: var(--ds-background-selected);
|
|
774
|
+
--aui-button-default-active-text-color: var(--ds-text-selected);
|
|
775
|
+
--aui-button-default-selected-bg-color: var(--ds-background-selected-bold-pressed);
|
|
776
|
+
--aui-button-default-selected-text-color: var(--ds-text-inverse);
|
|
777
|
+
--aui-button-default-disabled-bg-color: var(--ds-background-disabled);
|
|
778
|
+
--aui-button-default-disabled-text-color: var(--ds-text-disabled);
|
|
779
|
+
--aui-button-primary-bg-color: var(--ds-background-brand-bold);
|
|
780
|
+
--aui-button-primary-text-color: var(--ds-text-inverse);
|
|
781
|
+
--aui-button-primary-hover-bg-color: var(--ds-background-brand-bold-hovered);
|
|
782
|
+
--aui-button-primary-active-bg-color: var(--ds-background-selected-bold-pressed);
|
|
783
|
+
--aui-button-primary-active-text-color: var(--ds-text-inverse);
|
|
784
|
+
--aui-button-primary-disabled-bg-color: var(--aui-button-default-disabled-bg-color);
|
|
785
|
+
--aui-button-primary-disabled-text-color: var(--aui-button-default-disabled-text-color);
|
|
786
|
+
--aui-button-light-bg-color: var(--ds-background-input);
|
|
787
|
+
--aui-button-subtle-text-color: var(--ds-text);
|
|
788
|
+
|
|
789
|
+
// "Labels" (e.g., page tags, selected values in components, etc.)
|
|
790
|
+
--aui-label-text-color: var(--ds-text);
|
|
791
|
+
--aui-label-link-color: var(--ds-link);
|
|
792
|
+
--aui-label-bg-color: var(--ds-background-neutral);
|
|
793
|
+
--aui-label-hover-bg-color: var(--ds-background-neutral);
|
|
794
|
+
--aui-label-close-hover-bg-color: var(--ds-background-accent-red-subtle);
|
|
795
|
+
--aui-label-close-hover-text-color: var(--ds-icon-accent-gray);
|
|
796
|
+
|
|
797
|
+
// Forms
|
|
798
|
+
--aui-form-placeholder-text-color: var(--ds-text-subtlest);
|
|
799
|
+
--aui-form-placeholder-disabled-text-color: var(--ds-text-disabled);
|
|
800
|
+
--aui-form-label-text-color: var(--ds-text-subtle);
|
|
801
|
+
--aui-form-error-text-color: var(--ds-text-danger);
|
|
802
|
+
--aui-form-description-text-color: var(--ds-text-subtlest);
|
|
803
|
+
--aui-form-disabled-field-bg-color: var(--ds-text-disabled);
|
|
804
|
+
--aui-form-disabled-field-text-color: var(--ds-text-subtlest);
|
|
805
|
+
--aui-form-disabled-field-label-color: var(--ds-text-subtle);
|
|
806
|
+
--aui-form-field-border-color: var(--ds-border-input);
|
|
807
|
+
--aui-form-field-hover-border-color: var(--ds-border-focused);
|
|
808
|
+
--aui-form-field-default-text-color: var(--ds-text);
|
|
809
|
+
--aui-form-field-default-bg-color: var(--ds-background-input);
|
|
810
|
+
--aui-form-field-hover-text-color: var(--ds-text);
|
|
811
|
+
--aui-form-field-hover-bg-color: var(--ds-background-input-hovered);
|
|
812
|
+
--aui-form-field-focus-bg-color: var(--ds-background-input);
|
|
813
|
+
--aui-form-select-bg-color: var(--ds-background-input);
|
|
814
|
+
--aui-form-select-border-color: var(--ds-border-input);
|
|
815
|
+
--aui-form-select-hover-bg-color: var(--ds-border-input);
|
|
816
|
+
--aui-form-checkbox-radio-active-bg-color: var(--ds-background-accent-blue-subtler);
|
|
817
|
+
--aui-form-optgroup-text-color: var(--ds-text-subtlest);
|
|
818
|
+
--aui-form-optgroup-bg-color: var(--ds-background-neutral);
|
|
819
|
+
--aui-form-option-bg-color: var(--ds-background-input);
|
|
820
|
+
--aui-form-pre-bg-color: var(--ds-background-neutral);
|
|
821
|
+
|
|
822
|
+
--aui-form-field-autofilled-bg-color: var(--ds-background-discovery);
|
|
823
|
+
--aui-form-field-autofilled-border-color: var(--ds-border-discovery);
|
|
824
|
+
--aui-form-field-autofilled-text-color: var(--ds-text-discovery);
|
|
825
|
+
|
|
826
|
+
--aui-form-glyph-disabled-icon-color: var(--ds-icon-disabled);
|
|
827
|
+
--aui-form-glyph-disabled-fill-color: var(--ds-background-disabled);
|
|
828
|
+
--aui-form-glyph-icon-color: var(--ds-icon-inverse);
|
|
829
|
+
--aui-form-glyph-fill-color: var(--ds-icon-accent-blue);
|
|
830
|
+
|
|
831
|
+
--aui-form-checkbox-active-bg-color: var(--ds-background-accent-blue-subtler);
|
|
832
|
+
--aui-form-checkbox-active-border-color: var(--ds-border-accent-blue);
|
|
833
|
+
--aui-form-checkbox-active-icon-color: var(--ds-icon-information);
|
|
834
|
+
|
|
835
|
+
--aui-form-radio-unchecked-bg-color: var(--ds-background-input);
|
|
836
|
+
--aui-form-radio-unchecked-border-color: var(--ds-border-input);
|
|
837
|
+
|
|
838
|
+
// Toggle
|
|
839
|
+
--aui-toggle-default-bg-color: var(--ds-background-neutral-bold);
|
|
840
|
+
--aui-toggle-default-bg-hover-color: var(--ds-background-neutral-bold-hovered);
|
|
841
|
+
--aui-toggle-button-color: var(--ds-icon-inverse);
|
|
842
|
+
--aui-toggle-on-color: var(--ds-background-success-bold);
|
|
843
|
+
--aui-toggle-on-hover-color: var(--ds-background-success-bold-hovered);
|
|
844
|
+
--aui-toggle-disabled-overlay-color: var(--ds-background-neutral-subtle);
|
|
845
|
+
--aui-toggle-tick-color: var(--ds-icon-inverse);
|
|
846
|
+
--aui-toggle-cross-color: var(--ds-icon-inverse);
|
|
847
|
+
|
|
848
|
+
// Form notification
|
|
849
|
+
--aui-form-notification-info-color: var(--ds-icon-subtle);
|
|
850
|
+
--aui-form-notification-error-color: var(--aui-message-error-icon-color);
|
|
851
|
+
--aui-form-notification-success-color: var(--aui-message-success-icon-color);
|
|
852
|
+
|
|
853
|
+
// Progress bars
|
|
854
|
+
--aui-progressbar-color: var(--ds-background-neutral-bold);
|
|
855
|
+
--aui-progressbar-track-color: var(--ds-background-neutral);
|
|
856
|
+
|
|
857
|
+
// Spinner
|
|
858
|
+
--aui-spinner-color: var(--ds-icon-subtle);
|
|
859
|
+
|
|
860
|
+
// Navigation
|
|
861
|
+
--aui-nav-pagination-text-color: var(--ds-text);
|
|
862
|
+
--aui-nav-pagination-active-text-color: var(--ds-text-subtlest);
|
|
863
|
+
|
|
864
|
+
// Application header
|
|
865
|
+
--aui-appheader-bg-color: var(--ds-surface);
|
|
866
|
+
--aui-appheader-text-color: var(--ds-text);
|
|
867
|
+
--aui-appheader-item-focus-bg-color: var(--ds-background-neutral-hovered);
|
|
868
|
+
--aui-appheader-item-focus-text-color: var(--ds-text);
|
|
869
|
+
--aui-appheader-item-active-bg-color: var(--ds-background-neutral-subtle-pressed);
|
|
870
|
+
--aui-appheader-item-active-text-color: var(--ds-text);
|
|
871
|
+
--aui-appheader-quicksearch-bg-color: var(--ds-border-input);
|
|
872
|
+
--aui-appheader-quicksearch-border-color: var(--ds-border-input);
|
|
873
|
+
--aui-appheader-quicksearch-text-color: var(--ds-text-subtlest);
|
|
874
|
+
--aui-appheader-quicksearch-placeholder-text-color: var(--ds-text);
|
|
875
|
+
--aui-appheader-quicksearch-focus-bg-color: var(--aui-appheader-quicksearch-bg-color);
|
|
876
|
+
--aui-appheader-quicksearch-focus-text-color: var(--ds-text-subtlest);
|
|
877
|
+
|
|
878
|
+
--aui-sidebar-icon-color: var(--ds-icon);
|
|
879
|
+
--aui-sidebar-toggle-icon-color: var(--ds-icon);
|
|
880
|
+
--aui-sidebar-bg-color: var(--ds-surface-sunken);
|
|
881
|
+
--aui-sidebar-dropdown-arrow-color: var(--ds-icon);
|
|
882
|
+
--aui-sidebar-tooltip-bg-color: var(--ds-icon);
|
|
883
|
+
--aui-sidebar-badge-bg-color: var(--ds-background-accent-gray-subtler);
|
|
884
|
+
--aui-sidebar-badge-text-color: var(--ds-text);
|
|
885
|
+
|
|
886
|
+
// Tabs
|
|
887
|
+
--aui-tabs-tab-border-color: var(--ds-border);
|
|
888
|
+
--aui-tabs-tab-text-color: var(--ds-text-selected);
|
|
889
|
+
--aui-tabs-tab-hover-text-color: var(--ds-text-selected);
|
|
890
|
+
--aui-tabs-tab-active-border-color: var(--ds-border-accent-blue);
|
|
891
|
+
--aui-tabs-tab-active-text-color: var(--ds-text-selected);
|
|
892
|
+
|
|
893
|
+
// Multi-step wizard
|
|
894
|
+
--aui-progress-tracker-current-step-color: var(--ds-background-brand-bold);
|
|
895
|
+
--aui-progress-tracker-current-step-text-color: var(--aui-progress-tracker-visited-step-text-color);
|
|
896
|
+
--aui-progress-tracker-visited-step-text-color: var(--ds-text);
|
|
897
|
+
--aui-progress-tracker-visited-step-hover-text-color: var(--ds-link);
|
|
898
|
+
--aui-progress-tracker-visited-step-active-text-color: var(--ds-link);
|
|
899
|
+
--aui-progress-tracker-future-step-color: var(--ds-icon-subtle);
|
|
900
|
+
--aui-progress-tracker-future-step-text-color: var(--ds-text-subtle);
|
|
901
|
+
|
|
902
|
+
// Tables
|
|
903
|
+
--aui-table-row-bg-color: var(--ds-background-neutral-subtle);
|
|
904
|
+
--aui-table-row-text-color: var(--ds-text);
|
|
905
|
+
--aui-table-header-bg-color: var(--ds-background-neutral-subtle);
|
|
906
|
+
--aui-table-heading-text-color: var(--ds-text-subtle);
|
|
907
|
+
--aui-table-border-color: var(--ds-border);
|
|
908
|
+
--aui-table-caption-bg-color: var(--ds-background-accent-gray-subtlest);
|
|
909
|
+
--aui-table-caption-text-color: var(--ds-text-subtle);
|
|
910
|
+
--aui-table-list-row-hover-color: var(--ds-background-neutral-subtle-hovered);
|
|
911
|
+
--aui-table-list-row-subtle-color: var(--ds-background-neutral-subtle-hovered);
|
|
912
|
+
--aui-table-sortable-hover-bg-color: var(--ds-background-neutral-subtle-hovered);
|
|
913
|
+
--aui-table-sortable-active-bg-color: var(--ds-background-accent-blue-subtler);
|
|
914
|
+
--aui-table-sortable-active-border-color: var(--ds-border-accent-blue);
|
|
915
|
+
--aui-table-sortable-active-text-color: var(--ds-text-accent-blue);
|
|
916
|
+
--aui-table-sortable-selected-bg-color: var(--ds-background-neutral-subtle);
|
|
917
|
+
--aui-table-sortable-selected-border-color: var(--ds-border-accent-gray);
|
|
918
|
+
--aui-table-sortable-selected-text-color: var(--ds-text);
|
|
919
|
+
|
|
920
|
+
// Dynamic tables
|
|
921
|
+
--aui-restfultable-row-focused-border-color: var(--ds-border);
|
|
922
|
+
--aui-restfultable-row-create-border-color: var(--ds-border-disabled);
|
|
923
|
+
--aui-restfultable-row-editable-hover-bg-color: var(--aui-form-field-hover-bg-color);
|
|
924
|
+
--aui-restfultable-error-text-color: var(--aui-form-notification-error-color);
|
|
925
|
+
--aui-restfultable-header-row-bg-color: var(--ds-surface);
|
|
926
|
+
--aui-restfultable-header-row-text-color: var(--ds-text-subtlest);
|
|
927
|
+
--aui-restfultable-row-moving-bg-color: var(--ds-surface-raised);
|
|
928
|
+
--aui-restfultable-editable-em-text-color: var(--ds-text-subtlest);
|
|
929
|
+
--aui-restfultable-row-active-bg-color: var(--ds-background-neutral-subtle-pressed);
|
|
930
|
+
--aui-restfultable-row-hover-bg-color: var(--ds-background-input-hovered);
|
|
931
|
+
|
|
932
|
+
// Dropdowns
|
|
933
|
+
--aui-dropdown-bg-color: var(--ds-surface);
|
|
934
|
+
--aui-dropdown-border-color: var(--ds-border);
|
|
935
|
+
|
|
936
|
+
// Selects
|
|
937
|
+
--aui-select2-placeholder-text-color: var(--ds-text-subtlest);
|
|
938
|
+
--aui-select2-chosen-bg-color: var(--ds-background-neutral);
|
|
939
|
+
--aui-select2-chosen-text-color: var(--ds-text);
|
|
940
|
+
--aui-select2-chosen-hover-bg-color: var(--ds-background-neutral-hovered);
|
|
941
|
+
--aui-select2-chosen-hover-text-color: var(--ds-text);
|
|
942
|
+
--aui-select2-active-chosen-bg-color: var(--ds-background-neutral);
|
|
943
|
+
--aui-select2-active-chosen-text-color: var(--ds-text);
|
|
944
|
+
--aui-select2-field-default-bg-color: var(--ds-background-input);
|
|
945
|
+
--aui-select2-field-border-color: var(--ds-border-input);
|
|
946
|
+
--aui-select2-field-hover-bg-color: var(--ds-border-focused);
|
|
947
|
+
--aui-select2-drop-bg-color: var(--ds-surface);
|
|
948
|
+
|
|
949
|
+
// Dialogs
|
|
950
|
+
--aui-dialog-bg-color: var(--ds-surface-overlay);
|
|
951
|
+
--aui-dialog-border-color: var(--ds-border);
|
|
952
|
+
--aui-dialog-header-bg-color: var(--aui-dialog-bg-color);
|
|
953
|
+
--aui-dialog-header-warning-bg-color: var(--ds-background-danger-bold);
|
|
954
|
+
--aui-dialog-header-warning-text-color: var(--ds-text-inverse);
|
|
955
|
+
--aui-dialog-button-hover-border-color: var(--ds-border);
|
|
956
|
+
--aui-dialog-footer-hint-text-color: var(--ds-text-subtlest);
|
|
957
|
+
--aui-inline-dialog-bg-color: var(--aui-dropdown-bg-color); // shared this way because both inline dialogs and dropdowns need to layer well on top of modals
|
|
958
|
+
--aui-inline-dialog-border-color: var(--aui-dropdown-border-color);
|
|
959
|
+
|
|
960
|
+
// Date pickers
|
|
961
|
+
--aui-datepicker-panel-bg-color: var(--ds-background-input);
|
|
962
|
+
--aui-datepicker-panel-divider-color: var(--ds-border);
|
|
963
|
+
--aui-datepicker-heading-bg-color: var(--ds-background-information);
|
|
964
|
+
--aui-datepicker-heading-text-color: var(--ds-text);
|
|
965
|
+
--aui-datepicker-heading-weekdays-text-color: var(--ds-text-subtle);
|
|
966
|
+
--aui-datepicker-option-bg-color: var(--ds-background-neutral-subtle);
|
|
967
|
+
--aui-datepicker-option-text-color: var(--ds-text-selected);
|
|
968
|
+
--aui-datepicker-option-focus-bg-color: var(--ds-background-neutral-subtle-hovered);
|
|
969
|
+
--aui-datepicker-option-focus-text-color: var(--ds-text-accent-blue);
|
|
970
|
+
--aui-datepicker-option-selected-bg-color: var(--ds-background-selected-bold);
|
|
971
|
+
--aui-datepicker-option-selected-text-color: var(--ds-text-inverse);
|
|
972
|
+
--aui-datepicker-option-unselectable-bg-color: var(--ds-background-disabled);
|
|
973
|
+
--aui-datepicker-option-unselectable-text-color: var(--ds-text-disabled);
|
|
974
|
+
--aui-datepicker-disabled-text-color: var(--ds-text-disabled);
|
|
975
|
+
--aui-datepicker-hint-text-color: var(--ds-text-subtlest);
|
|
976
|
+
}
|
|
977
|
+
|
|
653
978
|
}
|
|
@@ -2,14 +2,29 @@
|
|
|
2
2
|
@import (reference) 'component-variables';
|
|
3
3
|
|
|
4
4
|
#aui-themes {
|
|
5
|
+
// The mixins are intended to apply certain styles only when the light or
|
|
6
|
+
// dark color mode is on. They support both the classic approach to the
|
|
7
|
+
// themes and the new recommended design-tokens one. `data-color-mode`
|
|
8
|
+
// corresponds to the value set by `setGlobalTheme` in
|
|
9
|
+
// atlassian-frontend/packages/design-system/tokens
|
|
5
10
|
.when-light(@rules) {
|
|
6
|
-
|
|
11
|
+
& {
|
|
12
|
+
@rules();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html[data-color-mode="light"] body.aui-theme-design-tokens & {
|
|
16
|
+
@rules();
|
|
17
|
+
}
|
|
7
18
|
}
|
|
8
19
|
|
|
9
20
|
.when-dark(@rules) {
|
|
10
21
|
body.aui-theme-dark & {
|
|
11
22
|
@rules();
|
|
12
23
|
}
|
|
24
|
+
|
|
25
|
+
html[data-color-mode="dark"] body.aui-theme-design-tokens & {
|
|
26
|
+
@rules();
|
|
27
|
+
}
|
|
13
28
|
}
|
|
14
29
|
|
|
15
30
|
.switch-light-dark(@lightRules; @darkRules) {
|
package/src/less/messages.less
CHANGED
|
@@ -100,10 +100,9 @@ aui-message, .aui-message {
|
|
|
100
100
|
// Better interop of links and focus styles
|
|
101
101
|
// for non-flag messages
|
|
102
102
|
:not(.aui-flag) > .aui-message {
|
|
103
|
-
|
|
104
|
-
--aui-link-color:
|
|
105
|
-
--aui-link-
|
|
106
|
-
--aui-link-active-color: 'currentColor';
|
|
103
|
+
--aui-link-color: currentcolor;
|
|
104
|
+
--aui-link-hover-color: currentcolor;
|
|
105
|
+
--aui-link-active-color: currentcolor;
|
|
107
106
|
--aui-link-decoration: underline;
|
|
108
107
|
--aui-link-hover-decoration: double underline;
|
|
109
108
|
--aui-focus: currentcolor;
|
/package/{LICENSE.md → LICENSE}
RENAMED
|
File without changes
|