Changesets · Branches · Tags · Compare
| Changeset | 282bf0a91bf6d56505ce218a266d974bc5f8b072691b09ccdd1ea52d027e2ba2 |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-06-30 14:07 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-06-30 14:07 -07:00 |
| Parents | ab3ec12e1ea2 |
1 file changed
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/GetTheme.kt +4 −0
| @@ -166,6 +166,9 @@ | ||
| 166 | 166 | val findMatchSelectedBackground = namedColor("SearchMatch.selectedBackground") ?: |
| 167 | 167 | editorScheme.getAttributes(EditorColors.SEARCH_RESULT_ATTRIBUTES)?.backgroundColor |
| 168 | 168 | |
| 169 | + // Use editor background with slight tint for code blocks | |
| 170 | + val textCodeBlockBackground = slightChange(editorBackground, 3) ?: editorBackground | |
| 171 | + | |
| 169 | 172 | // These should match the keys in GUI's theme.ts |
| 170 | 173 | val theme = mapOf( |
| 171 | 174 | "background" to background, |
| @@ -197,6 +200,7 @@ | ||
| 197 | 200 | "warning" to warningColor, |
| 198 | 201 | "error" to errorColor, |
| 199 | 202 | "link" to link, |
| 203 | + "textCodeBlockBackground" to textCodeBlockBackground, | |
| 200 | 204 | "accent" to accentColor, |
| 201 | 205 | "find-match" to findMatchBackground, |
| 202 | 206 | "find-match-selected" to findMatchSelectedBackground, |