Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(qwen-image-2-1): give the Qwen-Image-2.1 badge its own hue
Alexander Eichhornd705b3e86554
diff --git a/invokeai/frontend/webv2/src/features/models/core/baseIdentity.ts b/invokeai/frontend/webv2/src/features/models/core/baseIdentity.tsindex 73266dc611..3bf13ea93a 100644--- a/invokeai/frontend/webv2/src/features/models/core/baseIdentity.ts+++ b/invokeai/frontend/webv2/src/features/models/core/baseIdentity.ts@@ -8,6 +8,7 @@ export const toTitleCase = (value: string): string =>value.replaceAll(/[_-]+/g, ' ').replace(/\w\S*/g, (word) => word.charAt(0).toUpperCase() + word.slice(1));export type ModelBaseColorPalette =+ | 'aqua'| 'blue'| 'coral'| 'cyan'@@ -100,8 +101,8 @@ export const MODEL_BASES = {'qwen-image-2-1': {base: 'qwen-image-2-1',label: 'Qwen-Image-2.1',- // The Qwen-Image family's colour; the architecture is a different one.- colorPalette: 'cyan',+ // A deeper cyan: of the Qwen-Image family, yet told apart from it, as their models and LoRAs do not mix.+ colorPalette: 'aqua',},'z-image': {base: 'z-image',diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsxindex ac10f2b28f..da877cd1b8 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx@@ -22,6 +22,7 @@ const UPDATED_BASES = new Set(['wan','minimax-h3','ltx-2',+ 'qwen-image-2-1',]);(globalThis as typeof globalThis & { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts b/invokeai/frontend/webv2/src/platform/ui/theme/system.tsindex 3f7d67fc6b..d8988b9886 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts+++ b/invokeai/frontend/webv2/src/platform/ui/theme/system.ts@@ -115,6 +115,7 @@ const neutralRamp = Object.fromEntries(STEPS.map((step) => [step, colorToken((th// Darken categorical text seeds for light themes; derive fills from the same hue.const categoricalPalettes = Object.fromEntries(Object.entries({+ aqua: '#5cc8d8',coral: '#ff8e80',gold: '#f6d365',ice: '#b3e5fc',