-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Visual Refresh] Add Borealis theme #199993
Changes from all commits
ec3b7ed
9e406c8
c217b09
416d0bd
dfbeb3c
66ecffd
2232ff9
3167de2
ea5fcfd
9c99298
668faeb
f02d68d
a9c14b6
9a16af4
1900003
d84e16e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,11 @@ export function parseThemeTags(input?: unknown): ThemeTags { | |
return DEFAULT_THEME_TAGS; | ||
} | ||
|
||
// TODO: remove when Borealis is in public beta | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we create an issue for this to not forget to remove this condition? And then update the comment with the link to the issue? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Surely! I'm going to create an issue shortly and will update the comment in a follow-up PR so that we don't need to wait for CI to pass again. Thanks for catching it! |
||
if (input === 'experimental') { | ||
return SUPPORTED_THEME_TAGS; | ||
} | ||
|
||
let rawTags: string[]; | ||
if (typeof input === 'string') { | ||
rawTags = input.split(',').map((tag) => tag.trim()); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// v9 borealis theme global scope | ||
// | ||
// prepended to all .scss imports (from JS, when borealis dark theme selected) | ||
|
||
@import '@elastic/eui-theme-borealis/src/theme_dark.scss'; | ||
|
||
@import './mixins'; | ||
|
||
$kbnThemeVersion: 'borealisdark'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// v9 borealis theme global scope | ||
// | ||
// prepended to all .scss imports (from JS, when borealis light theme selected) | ||
|
||
@import '@elastic/eui-theme-borealis/src/theme_light.scss'; | ||
|
||
@import './mixins'; | ||
|
||
$kbnThemeVersion: 'borealislight'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,7 +87,8 @@ export const LICENSE_OVERRIDES = { | |
'[email protected]': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts | ||
'@mapbox/[email protected]': ['MIT'], // license in readme https://github.com/tmcw/jsonlint | ||
'@elastic/[email protected]': ['Elastic License 2.0'], | ||
'@elastic/[email protected]': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], | ||
'@elastic/[email protected]': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], | ||
'@elastic/[email protected]': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], | ||
'[email protected]': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry | ||
'[email protected]': ['MIT'], // license in importing module https://www.npmjs.com/package/binary | ||
'@bufbuild/[email protected]': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,6 @@ | |
} | ||
|
||
&--securitySolution img { | ||
background-color: $euiColorSuccess; | ||
background-color: $euiColorAccentSecondary; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type of
ThemeName
is nowstring
but will get stricter in follow-up PRs