impr: Replace hardcoded pattern syntax highlighting colors style colors

This commit is contained in:
WerWolv
2024-06-26 19:13:15 +02:00
parent dd02ec7a8e
commit 474862b4af
2 changed files with 16 additions and 15 deletions

View File

@@ -1457,7 +1457,7 @@ namespace hex::plugin::builtin {
{
ImGui::ColorButton(pattern->getVariableName().c_str(), ImColor(pattern->getColor()));
ImGui::SameLine(0, 10);
ImGuiExt::TextFormattedColored(ImColor(0xFF9BC64D), "{} ", pattern->getFormattedName());
ImGuiExt::TextFormattedColored(TextEditor::GetPalette()[u32(TextEditor::PaletteIndex::KnownIdentifier)], "{} ", pattern->getFormattedName());
ImGui::SameLine(0, 5);
ImGuiExt::TextFormatted("{}", pattern->getDisplayName());
ImGui::SameLine();