Files
g-butandClaude Opus 4.6 d21cc37bad fix: replace remaining dynamic Tailwind class interpolations
- APIKeyInput: add focusRing field to ProviderColorClasses, replace
  focus:${colors.ring} with static ${colors.focusRing} lookup
- ProfessionalCard: add groupHoverText field to accent color classes,
  replace group-hover:${colors.text} with static ${colors.groupHoverText}
- Zero dynamic Tailwind interpolations remain in the codebase

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 05:39:06 +01:00

44 lines
987 B
TypeScript

// Infrastructure Types - Single Source of Truth for AI Provider and Storage type definitions
export type ProviderColor = 'orange' | 'green' | 'purple' | 'blue';
export type ProviderId = 'groq' | 'openrouter' | 'ollama';
export type StorageId = 'cloud' | 'local' | 'usb';
export type StorageStatus = 'available' | 'coming' | 'future';
export type ConnectionStatus = 'connected' | 'not-configured' | 'validating' | 'error';
export interface AIProvider {
id: ProviderId;
name: string;
tagline: string;
description: string;
features: string[];
color: ProviderColor;
keyRequired: boolean;
keyPlaceholder: string;
helpUrl: string;
logo: string;
}
export interface StorageOption {
id: StorageId;
name: string;
description: string;
status: StorageStatus;
icon: string;
}
export interface ProviderColorClasses {
bg: string;
bgLight: string;
bgGradient: string;
text: string;
border: string;
hover: string;
ring: string;
focusRing: string;
}