feat(frontend): Replace ESLint with OXC hybrid linting architecture (#35506)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2025-10-30 09:26:21 -07:00
committed by GitHub
parent a5eb02d178
commit 8ccdf3b32b
121 changed files with 2243 additions and 755 deletions

View File

@@ -854,8 +854,10 @@ class AnnotationLayer extends PureComponent {
if (useAutomatic) {
this.setState({ color: AUTOMATIC_COLOR });
} else {
// Set to first theme color or black as fallback
this.setState({ color: colorScheme[0] || '#000000' });
// Set to first theme color or dark color as fallback
this.setState({
color: colorScheme[0] || this.props.theme.colorTextBase,
});
}
}}
/>