@atlassian/aui 10.2.2 → 11.0.0-m005
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/aui-prototyping-browserfocus.css +1 -1
- package/dist/aui/aui-prototyping-browserfocus.css.map +1 -1
- package/dist/aui/aui-prototyping-design-tokens-api-full.js +1 -1
- package/dist/aui/aui-prototyping-design-tokens-api-full.js.map +1 -1
- package/dist/aui/aui-prototyping-design-tokens-api.js +1 -1
- package/dist/aui/aui-prototyping-design-tokens-api.js.map +1 -1
- package/dist/aui/aui-prototyping.css +11 -11
- package/dist/aui/aui-prototyping.css.map +1 -1
- package/dist/aui/aui-prototyping.js +11 -11
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +11 -11
- package/dist/aui/aui-prototyping.nodeps.css.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.js +11 -11
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/dist/aui/fonts/AtlassianMono-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-greek-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-greek-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/adgs-icons.eot +0 -0
- package/dist/aui/fonts/adgs-icons.ttf +0 -0
- package/dist/aui/fonts/adgs-icons.woff +0 -0
- package/dist/aui/images/adgs-icons.svg +558 -558
- package/entry/token-themes-generated/aui-prototyping-design-tokens-base-themes.less +58 -4
- package/entry/token-themes-generated/aui-prototyping-design-tokens-theme-import-map.js +2 -8
- package/package.json +5 -5
- package/src/js/aui/banner.js +23 -5
- package/src/less/adg-header-quicksearch.less +1 -6
- package/src/less/adg-help.less +6 -2
- package/src/less/aui-appheader.less +9 -16
- package/src/less/aui-badge.less +7 -5
- package/src/less/aui-banner.less +31 -15
- package/src/less/aui-date-picker.less +5 -5
- package/src/less/aui-experimental-progress-indicator.less +52 -14
- package/src/less/aui-experimental-progress-tracker.less +1 -1
- package/src/less/aui-icons.less +2 -2
- package/src/less/aui-lozenge.less +30 -7
- package/src/less/aui-navigation.less +3 -1
- package/src/less/aui-page-typography.less +120 -28
- package/src/less/aui-select2.less +3 -1
- package/src/less/aui-sidebar-skeleton.less +2 -2
- package/src/less/dialog.less +1 -1
- package/src/less/dialog2.less +2 -1
- package/src/less/dropdown2.less +3 -1
- package/src/less/fonts/AtlassianMono-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-vietnamese.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-vietnamese.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-greek-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-vietnamese.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-greek-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-vietnamese.woff2 +0 -0
- package/src/less/fonts.less +295 -0
- package/src/less/forms-current.less +26 -9
- package/src/less/forms.less +1 -4
- package/src/less/imports/aui-theme/core/colors.less +50 -39
- package/src/less/imports/aui-theme/core/icons.less +2 -1
- package/src/less/imports/aui-theme/core/text.less +0 -7
- package/src/less/imports/aui-theme/theme.less +5 -5
- package/src/less/imports/mixins/typography.less +0 -85
- package/src/less/imports/mixins.less +0 -16
- package/src/less/layer.less +1 -1
- package/src/less/messages.less +1 -1
- package/src/less/tables.less +2 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@import (reference) './imports/global';
|
|
2
2
|
@import (reference) './imports/mixins';
|
|
3
3
|
@import (reference) './imports/aui-theme/components/forms';
|
|
4
|
+
@import (reference) './imports/aui-theme/theme';
|
|
4
5
|
|
|
5
6
|
/* Field styles */
|
|
6
7
|
form.aui:not(.aui-legacy-forms) {
|
|
@@ -245,26 +246,42 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
245
246
|
padding-top: 0;
|
|
246
247
|
}
|
|
247
248
|
|
|
248
|
-
//
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
// Yes, this is a hardcoded image :pain: Why? Safari doesn't support pseudo elements yet
|
|
250
|
+
// https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Forms/Customizable_select
|
|
251
|
+
// This also means hardcoded tokens
|
|
252
|
+
// Enabled - Light mode - "light" theme - #505258 --ds-text-subtle
|
|
253
|
+
// Enabled - Dark mode - "dark" theme - #A9ABAF --ds-text-subtle
|
|
254
|
+
// Disabled - Light mode - "light" theme - #080F214A --ds-text-disabled
|
|
255
|
+
// Disabled - Dark mode - "dark" theme - #E5E9F640 --ds-text-disabled
|
|
256
|
+
@chevron-enabled-light: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23505258" d="m14.53 6.03-6 6a.75.75 0 0 1-1.004.052l-.056-.052-6-6 1.06-1.06L8 10.44l5.47-5.47z"/%3E%3C/svg%3E%0A');
|
|
257
|
+
@chevron-enabled-dark: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23A9ABAF" d="m14.53 6.03-6 6a.75.75 0 0 1-1.004.052l-.056-.052-6-6 1.06-1.06L8 10.44l5.47-5.47z"/%3E%3C/svg%3E%0A');
|
|
258
|
+
@chevron-disabled-light: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23080F214A" d="m14.53 6.03-6 6a.75.75 0 0 1-1.004.052l-.056-.052-6-6 1.06-1.06L8 10.44l5.47-5.47z"/%3E%3C/svg%3E%0A');
|
|
259
|
+
@chevron-disabled-dark: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23E5E9F640" d="m14.53 6.03-6 6a.75.75 0 0 1-1.004.052l-.056-.052-6-6 1.06-1.06L8 10.44l5.47-5.47z"/%3E%3C/svg%3E%0A');
|
|
251
260
|
|
|
252
261
|
select[disabled]:not([size]),
|
|
253
262
|
.select:not([size]) {
|
|
254
263
|
background-repeat: no-repeat;
|
|
255
|
-
background-position: calc(100%
|
|
256
|
-
background-size:
|
|
264
|
+
background-position: calc(100% - 3px) 50%;
|
|
265
|
+
background-size: 12px;
|
|
257
266
|
}
|
|
258
267
|
|
|
259
268
|
select.select[disabled]:not([size]) {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
269
|
+
#aui-themes.when-light-mode({
|
|
270
|
+
background-image: @chevron-disabled-light;
|
|
271
|
+
});
|
|
272
|
+
#aui-themes.when-dark-mode({
|
|
273
|
+
background-image: @chevron-disabled-dark;
|
|
274
|
+
});
|
|
263
275
|
}
|
|
264
276
|
|
|
265
277
|
select.select:not([size]) {
|
|
266
278
|
padding-right: 20px;
|
|
267
|
-
|
|
279
|
+
#aui-themes.when-light-mode({
|
|
280
|
+
background-image: @chevron-enabled-light;
|
|
281
|
+
});
|
|
282
|
+
#aui-themes.when-dark-mode({
|
|
283
|
+
background-image: @chevron-enabled-dark;
|
|
284
|
+
});
|
|
268
285
|
}
|
|
269
286
|
|
|
270
287
|
.icon-required {
|
package/src/less/forms.less
CHANGED
|
@@ -313,12 +313,9 @@ form.aui span.content {
|
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
form.aui pre.aui-form {
|
|
316
|
-
@size: 12px;
|
|
317
316
|
background-color: @aui-form-pre-bg-color;
|
|
318
317
|
border: 1px solid @aui-border-color;
|
|
319
|
-
font
|
|
320
|
-
font-size: @size;
|
|
321
|
-
line-height: unit((20 / @size));
|
|
318
|
+
font: var(--ds-font-code);
|
|
322
319
|
overflow-x: auto;
|
|
323
320
|
overflow-y: visible;
|
|
324
321
|
padding: @aui-grid * 1.5;
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
|
|
51
51
|
// Badges
|
|
52
52
|
--aui-badge-bg-color: var(--ds-background-accent-gray-subtler);
|
|
53
|
-
--aui-badge-text-color: var(--ds-text
|
|
54
|
-
--aui-badge-primary-bg-color: var(--ds-background-
|
|
55
|
-
--aui-badge-primary-text-color: var(--ds-text
|
|
56
|
-
--aui-badge-added-bg-color: var(--ds-background-
|
|
57
|
-
--aui-badge-added-text-color: var(--ds-text
|
|
58
|
-
--aui-badge-removed-bg-color: var(--ds-background-
|
|
59
|
-
--aui-badge-removed-text-color: var(--ds-text
|
|
60
|
-
--aui-badge-important-bg-color: var(--ds-background-accent-red-
|
|
61
|
-
--aui-badge-important-text-color: var(--ds-text
|
|
62
|
-
--aui-badge-on-blue-text-color: var(--ds-text-
|
|
63
|
-
--aui-badge-on-blue-bg-color: var(--ds-
|
|
53
|
+
--aui-badge-text-color: var(--ds-text);
|
|
54
|
+
--aui-badge-primary-bg-color: var(--ds-background-accent-blue-subtler);
|
|
55
|
+
--aui-badge-primary-text-color: var(--ds-text);
|
|
56
|
+
--aui-badge-added-bg-color: var(--ds-background-success-subtler);
|
|
57
|
+
--aui-badge-added-text-color: var(--ds-text);
|
|
58
|
+
--aui-badge-removed-bg-color: var(--ds-background-danger);
|
|
59
|
+
--aui-badge-removed-text-color: var(--ds-text);
|
|
60
|
+
--aui-badge-important-bg-color: var(--ds-background-accent-red-subtler);
|
|
61
|
+
--aui-badge-important-text-color: var(--ds-text);
|
|
62
|
+
--aui-badge-on-blue-text-color: var(--ds-text-brand);
|
|
63
|
+
--aui-badge-on-blue-bg-color: var(--ds-surface);
|
|
64
64
|
|
|
65
65
|
// Avatars
|
|
66
66
|
--aui-avatar-outline: var(--ds-border-inverse);
|
|
@@ -68,30 +68,42 @@
|
|
|
68
68
|
--aui-avatar-background: var(--aui-button-default-bg-color);
|
|
69
69
|
|
|
70
70
|
// Lozenges
|
|
71
|
-
--aui-lozenge-bg-color: var(--ds-background-neutral
|
|
72
|
-
--aui-lozenge-
|
|
73
|
-
--aui-lozenge-
|
|
74
|
-
--aui-lozenge-subtle-
|
|
75
|
-
--aui-lozenge-
|
|
76
|
-
--aui-lozenge-
|
|
77
|
-
--aui-lozenge-success-
|
|
78
|
-
--aui-lozenge-success-
|
|
79
|
-
--aui-lozenge-
|
|
80
|
-
--aui-lozenge-
|
|
81
|
-
--aui-lozenge-
|
|
82
|
-
--aui-lozenge-
|
|
83
|
-
--aui-lozenge-
|
|
84
|
-
--aui-lozenge-
|
|
85
|
-
--aui-lozenge-
|
|
86
|
-
--aui-lozenge-
|
|
87
|
-
--aui-lozenge-
|
|
88
|
-
--aui-lozenge-
|
|
89
|
-
--aui-lozenge-
|
|
90
|
-
--aui-lozenge-
|
|
91
|
-
--aui-lozenge-
|
|
92
|
-
--aui-lozenge-
|
|
93
|
-
--aui-lozenge-
|
|
94
|
-
--aui-lozenge-
|
|
71
|
+
--aui-lozenge-bg-color: var(--ds-background-neutral);
|
|
72
|
+
--aui-lozenge-border-color: oklch(from var(--ds-border-bold) calc(l * var(--aui-lozenge-border-l-factor)) c h);
|
|
73
|
+
--aui-lozenge-text-color: var(--ds-text);
|
|
74
|
+
--aui-lozenge-subtle-bg-color: var(--aui-lozenge-bg-color);
|
|
75
|
+
--aui-lozenge-subtle-border-color: var(--aui-lozenge-border-color);
|
|
76
|
+
--aui-lozenge-subtle-text-color: var(--aui-lozenge-text-color);
|
|
77
|
+
--aui-lozenge-success-bg-color: var(--ds-background-success-subtler);
|
|
78
|
+
--aui-lozenge-success-border-color: oklch(from var(--ds-border-success) calc(l * var(--aui-lozenge-border-l-factor)) c h);
|
|
79
|
+
--aui-lozenge-success-text-color: var(--ds-text-success-bolder);
|
|
80
|
+
--aui-lozenge-success-subtle-bg-color: var(--aui-lozenge-success-bg-color);
|
|
81
|
+
--aui-lozenge-success-subtle-border-color: var(--aui-lozenge-success-border-color);
|
|
82
|
+
--aui-lozenge-success-subtle-text-color: var(--aui-lozenge-success-text-color);
|
|
83
|
+
--aui-lozenge-current-bg-color: var(--ds-background-information-subtler);
|
|
84
|
+
--aui-lozenge-current-border-color: oklch(from var(--ds-border-information) calc(l * var(--aui-lozenge-border-l-factor)) c h);
|
|
85
|
+
--aui-lozenge-current-text-color: var(--ds-text-information-bolder);
|
|
86
|
+
--aui-lozenge-current-subtle-bg-color: var(--aui-lozenge-current-bg-color);
|
|
87
|
+
--aui-lozenge-current-subtle-border-color: var(--aui-lozenge-current-border-color);
|
|
88
|
+
--aui-lozenge-current-subtle-text-color: var(--aui-lozenge-current-text-color);
|
|
89
|
+
--aui-lozenge-moved-bg-color: var(--ds-background-warning-subtler);
|
|
90
|
+
--aui-lozenge-moved-border-color: oklch(from var(--ds-border-warning) calc(l * var(--aui-lozenge-border-l-factor)) c h);
|
|
91
|
+
--aui-lozenge-moved-text-color: var(--ds-text-warning-bolder);
|
|
92
|
+
--aui-lozenge-moved-subtle-bg-color: var(--aui-lozenge-moved-bg-color);
|
|
93
|
+
--aui-lozenge-moved-subtle-border-color: var(--aui-lozenge-moved-border-color);
|
|
94
|
+
--aui-lozenge-moved-subtle-text-color: var(--aui-lozenge-moved-text-color);
|
|
95
|
+
--aui-lozenge-error-bg-color: var(--ds-background-danger-subtler);
|
|
96
|
+
--aui-lozenge-error-border-color: oklch(from var(--ds-border-danger) calc(l * var(--aui-lozenge-border-l-factor)) c h);
|
|
97
|
+
--aui-lozenge-error-text-color: var(--ds-text-danger-bolder);
|
|
98
|
+
--aui-lozenge-error-subtle-bg-color: var(--aui-lozenge-error-bg-color);
|
|
99
|
+
--aui-lozenge-error-subtle-border-color: var(--aui-lozenge-error-border-color);
|
|
100
|
+
--aui-lozenge-error-subtle-text-color: var(--aui-lozenge-error-text-color);
|
|
101
|
+
--aui-lozenge-new-bg-color: var(--ds-background-discovery-subtler);
|
|
102
|
+
--aui-lozenge-new-border-color: oklch(from var(--ds-border-discovery) calc(l * var(--aui-lozenge-border-l-factor)) c h);
|
|
103
|
+
--aui-lozenge-new-text-color: var(--ds-text-discovery-bolder);
|
|
104
|
+
--aui-lozenge-new-subtle-bg-color: var(--aui-lozenge-new-bg-color);
|
|
105
|
+
--aui-lozenge-new-subtle-border-color: var(--aui-lozenge-new-border-color);
|
|
106
|
+
--aui-lozenge-new-subtle-text-color: var(--aui-lozenge-new-text-color);
|
|
95
107
|
|
|
96
108
|
// Messages
|
|
97
109
|
--aui-message-info-bg-color: var(--ds-background-information);
|
|
@@ -246,15 +258,14 @@
|
|
|
246
258
|
--aui-appheader-quicksearch-bg-color: var(--ds-background-input);
|
|
247
259
|
--aui-appheader-quicksearch-border-color: var(--ds-border-input);
|
|
248
260
|
--aui-appheader-quicksearch-text-color: var(--ds-text-subtlest);
|
|
249
|
-
--aui-appheader-quicksearch-placeholder-text-color: var(--ds-text);
|
|
250
|
-
--aui-appheader-quicksearch-hover-bg-color: var(--ds-background-input-hovered);
|
|
261
|
+
--aui-appheader-quicksearch-placeholder-text-color: var(--ds-text-subtlest);
|
|
251
262
|
--aui-appheader-quicksearch-focus-bg-color: var(--aui-appheader-quicksearch-bg-color);
|
|
252
|
-
--aui-appheader-quicksearch-focus-text-color: var(--ds-text
|
|
263
|
+
--aui-appheader-quicksearch-focus-text-color: var(--ds-text);
|
|
253
264
|
|
|
254
265
|
// Sidebar
|
|
255
266
|
--aui-sidebar-icon-color: var(--ds-icon);
|
|
256
267
|
--aui-sidebar-toggle-icon-color: var(--ds-icon);
|
|
257
|
-
--aui-sidebar-bg-color: var(--ds-surface
|
|
268
|
+
--aui-sidebar-bg-color: var(--ds-surface);
|
|
258
269
|
--aui-sidebar-dropdown-arrow-color: var(--ds-icon);
|
|
259
270
|
--aui-sidebar-tooltip-bg-color: var(--ds-icon);
|
|
260
271
|
--aui-sidebar-badge-bg-color: var(--ds-background-accent-gray-subtler);
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
@aui-glyph-close: '\f11b';
|
|
15
15
|
@aui-glyph-exclamation-triangle: '\f1b3';
|
|
16
16
|
@aui-glyph-exclamation-circle: '\f15a';
|
|
17
|
-
@aui-glyph-question-circle: '\
|
|
17
|
+
@aui-glyph-question-circle: '\f169';
|
|
18
|
+
@aui-glyph-question-filled: '\f255';
|
|
18
19
|
@aui-glyph-info-circle: '\f234';
|
|
19
20
|
@aui-glyph-more-actions: '\f17f'; // the "more" icon; should be three dots.
|
|
20
21
|
@aui-glyph-search: '\f18c';
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
@import (reference) 'colors';
|
|
2
2
|
|
|
3
3
|
// ### Fonts
|
|
4
|
-
// Stacks
|
|
5
|
-
@aui-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
|
|
6
|
-
'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
7
|
-
@aui-font-family-ja: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo,
|
|
8
|
-
'MS Pゴシック', Verdana, Arial, sans-serif;
|
|
9
|
-
@aui-code-font-family: 'SFMono-Medium', 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', 'Ubuntu Mono',
|
|
10
|
-
Menlo, Courier, monospace;
|
|
11
4
|
|
|
12
5
|
// Sizes and line heights
|
|
13
6
|
@aui-font-size-xxxlarge: 29px;
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
|
|
43
43
|
#aui-themes {
|
|
44
44
|
.when-light-mode(@rules) {
|
|
45
|
-
html:not([data-color-mode]),
|
|
46
|
-
html[data-color-mode='light'] {
|
|
45
|
+
:where(html:not([data-color-mode])),
|
|
46
|
+
:where(html[data-color-mode='light']) & {
|
|
47
47
|
@rules();
|
|
48
48
|
}
|
|
49
49
|
@media (prefers-color-scheme: light) {
|
|
50
|
-
html[data-color-mode-auto]:not([data-color-mode]) {
|
|
50
|
+
:where(html[data-color-mode-auto]:not([data-color-mode])) & {
|
|
51
51
|
@rules();
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
.when-dark-mode(@rules) {
|
|
56
|
-
html[data-color-mode='dark'] {
|
|
56
|
+
:where(html[data-color-mode='dark']) & {
|
|
57
57
|
@rules();
|
|
58
58
|
}
|
|
59
59
|
@media (prefers-color-scheme: dark) {
|
|
60
|
-
html[data-color-mode-auto]:not([data-color-mode]) {
|
|
60
|
+
:where(html[data-color-mode-auto]:not([data-color-mode])) & {
|
|
61
61
|
@rules();
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -1,87 +1,2 @@
|
|
|
1
1
|
@import (reference) '../aui-theme/core/colors';
|
|
2
2
|
@import (reference) '../aui-theme/core/text';
|
|
3
|
-
|
|
4
|
-
// Why are we defining our own mixins when some already exist in Atlaskit? A few reasons:
|
|
5
|
-
//
|
|
6
|
-
// 1) Atlaskit's use the pure ADG3 proportions, which have different line heights and letter-spacing than we are taking on right now.
|
|
7
|
-
// 2) Atlaskit's include margin info, which we don't want.
|
|
8
|
-
//
|
|
9
|
-
// Even if they were exactly the same, we'd probably create our mixins by extending theirs in this file.
|
|
10
|
-
// The adapter pattern is generally useful in shielding us from external change by reducing its scope of impact to a single place.
|
|
11
|
-
|
|
12
|
-
#aui {
|
|
13
|
-
.typography {
|
|
14
|
-
// First-level heading (h1) equivalent
|
|
15
|
-
.h800() {
|
|
16
|
-
@size: @aui-font-size-xxxlarge;
|
|
17
|
-
font-size: @size;
|
|
18
|
-
font-weight: @aui-font-weight-semibold;
|
|
19
|
-
line-height: unit((40 / @size));
|
|
20
|
-
letter-spacing: -0.01em;
|
|
21
|
-
text-transform: none;
|
|
22
|
-
}
|
|
23
|
-
// Second-level heading (h2) equivalent
|
|
24
|
-
.h700() {
|
|
25
|
-
@size: @aui-font-size-xxlarge;
|
|
26
|
-
font-size: @size;
|
|
27
|
-
font-weight: @aui-font-weight-medium;
|
|
28
|
-
line-height: unit((30 / @size));
|
|
29
|
-
letter-spacing: -0.01em;
|
|
30
|
-
text-transform: none;
|
|
31
|
-
}
|
|
32
|
-
// Third-level heading (h3) equivalent
|
|
33
|
-
.h600() {
|
|
34
|
-
@size: @aui-font-size-xlarge;
|
|
35
|
-
font-size: @size;
|
|
36
|
-
font-weight: @aui-font-weight-medium;
|
|
37
|
-
line-height: unit((30 / @size));
|
|
38
|
-
letter-spacing: -0.008em;
|
|
39
|
-
text-transform: none;
|
|
40
|
-
}
|
|
41
|
-
// Fourth-level heading (h4) equivalent
|
|
42
|
-
.h500() {
|
|
43
|
-
@size: @aui-font-size-large;
|
|
44
|
-
font-size: @size;
|
|
45
|
-
font-weight: @aui-font-weight-medium;
|
|
46
|
-
line-height: unit((20 / @size));
|
|
47
|
-
letter-spacing: -0.006em;
|
|
48
|
-
text-transform: none;
|
|
49
|
-
}
|
|
50
|
-
// Fifth-level heading (h5) equivalent
|
|
51
|
-
.h400() {
|
|
52
|
-
@size: @aui-font-size-medium;
|
|
53
|
-
font-size: @size;
|
|
54
|
-
font-weight: @aui-font-weight-semibold;
|
|
55
|
-
line-height: unit((20 / @size));
|
|
56
|
-
letter-spacing: -0.003em;
|
|
57
|
-
text-transform: none;
|
|
58
|
-
}
|
|
59
|
-
// Sixth-level heading (h6) equivalent
|
|
60
|
-
.h300() {
|
|
61
|
-
@size: @aui-font-size-small;
|
|
62
|
-
font-size: @size;
|
|
63
|
-
font-weight: @aui-font-weight-semibold;
|
|
64
|
-
line-height: unit((20 / @size));
|
|
65
|
-
letter-spacing: 0;
|
|
66
|
-
text-transform: none;
|
|
67
|
-
}
|
|
68
|
-
.h200(@color: var(--aui-lesser-header-text)) {
|
|
69
|
-
@size: @aui-font-size-small;
|
|
70
|
-
color: @color;
|
|
71
|
-
font-size: @size;
|
|
72
|
-
font-weight: @aui-font-weight-semibold;
|
|
73
|
-
line-height: unit((20 / @size));
|
|
74
|
-
letter-spacing: 0;
|
|
75
|
-
text-transform: none;
|
|
76
|
-
}
|
|
77
|
-
.h100(@color: var(--aui-lesser-header-text)) {
|
|
78
|
-
@size: @aui-font-size-xsmall;
|
|
79
|
-
color: @color;
|
|
80
|
-
font-size: @size;
|
|
81
|
-
font-weight: @aui-font-weight-semibold;
|
|
82
|
-
line-height: unit((16 / @size));
|
|
83
|
-
letter-spacing: 0;
|
|
84
|
-
text-transform: uppercase;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -57,22 +57,6 @@
|
|
|
57
57
|
transform: rotate(@angle);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
// Styles that text containers should set, in case they are embedded in weird flow content like
|
|
61
|
-
// <h1>, <strong>, <em>, etc., so that inheritable styles don't bleed in unintentionally.
|
|
62
|
-
// be mindful of the specificity of the rule(s) you mix this in to, as you may just as easily
|
|
63
|
-
// prevent desirable inheritance, too!
|
|
64
|
-
.text-reset() {
|
|
65
|
-
color: @aui-text-color;
|
|
66
|
-
font-size: @aui-font-size-medium;
|
|
67
|
-
font-style: normal;
|
|
68
|
-
font-variant: normal;
|
|
69
|
-
font-weight: @aui-font-weight-normal;
|
|
70
|
-
letter-spacing: @aui-font-letter-spacing;
|
|
71
|
-
line-height: unit((20 / @aui-font-size-medium));
|
|
72
|
-
text-align: left; // in case anybody used text-align for layout purposes
|
|
73
|
-
white-space: normal;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
60
|
.text-truncate() {
|
|
77
61
|
white-space: nowrap;
|
|
78
62
|
text-overflow: ellipsis;
|
package/src/less/layer.less
CHANGED
package/src/less/messages.less
CHANGED
|
@@ -95,7 +95,7 @@ aui-message,
|
|
|
95
95
|
|
|
96
96
|
.aui-message-change {
|
|
97
97
|
--aui-message-icolor: var(--aui-message-change-icon-color);
|
|
98
|
-
--aui-message-ig: @aui-glyph-question-
|
|
98
|
+
--aui-message-ig: @aui-glyph-question-filled;
|
|
99
99
|
background-color: var(--aui-message-change-bg-color);
|
|
100
100
|
color: var(--aui-message-change-text-color);
|
|
101
101
|
}
|