Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/eui/changelogs/upcoming/9089.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed `prismjs` theme in `EuiCodeBlock` to improve highlighting for the `yaml` language
1 change: 1 addition & 0 deletions packages/eui/src/components/code/code_syntax.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const euiCodeSyntaxVariables = (euiThemeContext: UseEuiTheme) => {
}

.token.atrule .token.rule,
.token.key.atrule,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find! It's great that it was such a straight forward fix 🎉

.token.keyword {
color: ${this.keywordColor};
}
Expand Down