Skip to content

Commit 406fdbd

Browse files
committed
cleaned up PR
1 parent 280e66c commit 406fdbd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/components/src/modifiers/hds-code-editor/linters/json-linter.ts

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export function determineErrorMessage({
7070
return message;
7171
}
7272

73+
// this renders the error message for both the tooltip and the drawer item
7374
export function renderErrorMessage(message: string): HTMLElement {
7475
const wrapper = document.createElement('div');
7576
wrapper.classList.add('cm-diagnosticText-inner');

packages/components/src/modifiers/hds-code-editor/palettes/hds-dark-palette.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ export const HDS_CODE_BLOCK_LINE_HIGHLIGHT_BORDER = '#1b5fe5';
1616

1717
export const HDS_CODE_EDITOR_COLOR_BORDER_STRONG = 'rgba(178, 182, 189, 40%)';
1818
export const HDS_CODE_EDITOR_COLOR_BORDER_PRIMARY = 'rgba(178, 182, 189, 20%)';
19-
2019
export const HDS_CODE_EDITOR_COLOR_FOREGROUND_PRIMARY = '#d5d7db';
2120
export const HDS_CODE_EDITOR_COLOR_FOREGROUND_FAINT = '#878a8f';
22-
export const HDS_CODE_EDITOR_COLOR_FOREGROUND_CRITICAL = '#EF3016';
23-
21+
export const HDS_CODE_EDITOR_COLOR_FOREGROUND_HIGH_CONTRAST = '#ffffff';
2422
export const HDS_CODE_EDITOR_COLOR_SURFACE_PRIMARY = '#0D0E12';
2523
export const HDS_CODE_EDITOR_COLOR_SURFACE_FAINT = '#15181e';
26-
export const HDS_CODE_EDITOR_COLOR_SURFACE_INTERACTIVE_ACTIVE = '#2B303C';

0 commit comments

Comments
 (0)