Skip to content

ui(theme): replace hardcoded material colors with QueryaWorkbenchTheme status tokens #1643

Closed

Description

@ZhuchkaTriplesix

Problem

Several UI components hardcode Material color constants instead of resolving tokens from QueryaWorkbenchTheme or ColorScheme:

  • lib/features/connections/ssh_tunnel_section.dart: uses material.Colors.green for successful test connection messages while using cs.destructive for failures.
  • lib/features/connections/extension_connection_form.dart: uses material.Colors.green for successful connection tests while using theme.destructive for failures.
  • lib/features/connections/querya_connection_tree_row.dart: uses material.Colors.amber.shade600 for the pinned star icon and context menu item instead of wb.warning.
  • lib/features/workspace/grid_cell_editor.dart: uses material.Colors.red.shade500 for validation error border and tooltip icon instead of cs.destructive.
  • lib/features/workspace/dml_preview_dialog.dart: uses amber.shade700, green.shade600, and red.shade600 for mutation breakdown badges instead of theme tokens.

These colors do not adapt across dark, light, or custom workbench themes and can lead to low contrast.

Change

Consistently use context.workbench.success, context.workbench.warning, and context.colorScheme.destructive across all status indicators and badges.

Activity

  1. added
    enhancementNew feature or request
    themeTheming, colors, VS Code themes
    frontendTheme parser epic label: frontend
    on Oct 17, 2026
  2. ZhuchkaTriplesix commented on Oct 17, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Resolved in #1663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendTheme parser epic label: frontendthemeTheming, colors, VS Code themes

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions