Skip to content

[8.18][SecuritySolution] Update severity colors for Borealis theme (#206276)#211021

Merged
angorayc merged 2 commits intoelastic:8.18from
angorayc:backport/8.18/pr-206276
Feb 14, 2025
Merged

[8.18][SecuritySolution] Update severity colors for Borealis theme (#206276)#211021
angorayc merged 2 commits intoelastic:8.18from
angorayc:backport/8.18/pr-206276

Conversation

@angorayc
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

…#206276)

Apply severity colors for Borealis theme.
elastic#204007 (comment)

Update: ⚠️ As the final decision for severity color is still pending,
the temporary colors are the hard coded color hex:
elastic#203387
`TODO` Borealis migration - move from hardcoded values to severity
palette elastic/security-team#11606

| Color token | Amsterdam|Borealis|
|-------------|------------|------------|
| Critical | euiThemeVars.euiColorDanger |```#E7664C```|
| High | euiThemeVars.euiColorVis9_behindText |```#DA8B45``` |
| Meduiml |euiThemeVars.euiColorVis5_behindText|```#D6BF57``` |
| Low | euiThemeVars.euiColorVis0| ```#54B399``` |

In order to run Kibana with Borealis, you'll need to do the following:

Set the following in kibana.dev.yml:
uiSettings.experimental.themeSwitcherEnabled: true

Run Kibana with the following environment variable set:
KBN_OPTIMIZER_THEMES="borealislight,borealisdark,v8light,v8dark" yarn
start

This will expose a toggle under Stack Management > Advanced Settings >
Theme version, which you can use to toggle between Amsterdam and
Borealis.

![Image](https://github.com/user-attachments/assets/78d64946-43fc-4400-bbb1-229d900b7f05)

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 235d5eb)
@angorayc angorayc changed the title [SecuritySolution] Update severity colors for Borealis theme (#206276) [8.18][SecuritySolution] Update severity colors for Borealis theme (#206276) Feb 13, 2025
@angorayc angorayc added the backport This PR is a backport of another PR label Feb 13, 2025
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 6735 6736 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 18.8MB 18.8MB +3.6KB

@angorayc angorayc merged commit 92e54c4 into elastic:8.18 Feb 14, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants