diff --git a/gitnexus-web/src/components/RightPanel.tsx b/gitnexus-web/src/components/RightPanel.tsx index 3e063a168..5899eca09 100644 --- a/gitnexus-web/src/components/RightPanel.tsx +++ b/gitnexus-web/src/components/RightPanel.tsx @@ -269,7 +269,7 @@ export const RightPanel = () => {
{!isAgentReady && ( - + Configure AI )} @@ -283,7 +283,7 @@ export const RightPanel = () => { {/* Status / errors */} {agentError && ( -
+
{agentError}
@@ -445,7 +445,7 @@ export const RightPanel = () => { )}
{!isAgentReady && !isAgentInitializing && ( -
+
{isProviderConfigured() diff --git a/gitnexus-web/src/components/SettingsPanel.tsx b/gitnexus-web/src/components/SettingsPanel.tsx index eafdb5210..1bc8e19b5 100644 --- a/gitnexus-web/src/components/SettingsPanel.tsx +++ b/gitnexus-web/src/components/SettingsPanel.tsx @@ -444,7 +444,7 @@ export const SettingsPanel = ({
-
+
API keys are stored in session storage and will be cleared when you close this tab.
diff --git a/gitnexus-web/src/index.css b/gitnexus-web/src/index.css index 67962d776..f1de1c2b4 100644 --- a/gitnexus-web/src/index.css +++ b/gitnexus-web/src/index.css @@ -1,5 +1,11 @@ @import 'tailwindcss'; +/* `dark:` modifier follows our explicit theme attribute, not the OS + media query. The boot script and `useTheme` hook always write a + resolved value (`light` | `dark`) to ``, so this + keeps the variant consistent with the runtime preference. */ +@custom-variant dark (&:where([data-theme='dark'], [data-theme='dark'] *)); + /* ═══════════════════════════════════════════════════════════════ TAILWIND V4 THEME CONFIGURATION ═══════════════════════════════════════════════════════════════ */