Skip to content

fix: adapt to theme#9985

Merged
CurryYangxx merged 2 commits into
developfrom
fix/first-request-theme
Jun 2, 2026
Merged

fix: adapt to theme#9985
CurryYangxx merged 2 commits into
developfrom
fix/first-request-theme

Conversation

@CurryYangxx
Copy link
Copy Markdown
Member

Use existing theme variables for the first reuqest gradient background color.

Copilot AI review requested due to automatic review settings May 29, 2026 08:03
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 29, 2026

✅ Circular References Report

Generated at: 2026-06-02T09:56:57.888Z
Status: ✅ NO CHANGE

Summary

Metric Base (develop) PR Change
Total Circular References 10 10 0 (0.00%)
Click to view all circular references in PR (10)
insomnia-inso/src/db/models/types.ts -> insomnia-inso/src/db/types.ts
insomnia/src/network/network.ts -> insomnia-scripting-environment/src/objects/index.ts -> insomnia-scripting-environment/src/objects/collection.ts -> insomnia-scripting-environment/src/objects/response.ts
insomnia/src/network/network.ts -> insomnia-scripting-environment/src/objects/index.ts -> insomnia-scripting-environment/src/objects/insomnia.ts -> insomnia-scripting-environment/src/objects/interfaces.ts
insomnia/src/network/network.ts -> insomnia/src/common/render.ts
insomnia/src/plugins/index.ts -> insomnia/src/plugins/context/store.ts
insomnia/src/plugins/misc.ts -> insomnia/src/plugins/index.ts
insomnia/src/ui/components/settings/import-export.tsx -> insomnia/src/ui/components/modals/export-requests-modal.tsx
insomnia/src/ui/components/tabs/tab-list.tsx -> insomnia/src/ui/components/tabs/tab.tsx
insomnia/src/ui/components/templating/tag-editor-arg-sub-form.tsx -> insomnia/src/ui/components/templating/external-vault/external-vault-form.tsx
insomnia/src/ui/components/viewers/response-viewer.tsx -> insomnia/src/ui/components/viewers/response-multipart-viewer.tsx
Click to view all circular references in base branch (10)
insomnia-inso/src/db/models/types.ts -> insomnia-inso/src/db/types.ts
insomnia/src/network/network.ts -> insomnia-scripting-environment/src/objects/index.ts -> insomnia-scripting-environment/src/objects/collection.ts -> insomnia-scripting-environment/src/objects/response.ts
insomnia/src/network/network.ts -> insomnia-scripting-environment/src/objects/index.ts -> insomnia-scripting-environment/src/objects/insomnia.ts -> insomnia-scripting-environment/src/objects/interfaces.ts
insomnia/src/network/network.ts -> insomnia/src/common/render.ts
insomnia/src/plugins/index.ts -> insomnia/src/plugins/context/store.ts
insomnia/src/plugins/misc.ts -> insomnia/src/plugins/index.ts
insomnia/src/ui/components/settings/import-export.tsx -> insomnia/src/ui/components/modals/export-requests-modal.tsx
insomnia/src/ui/components/tabs/tab-list.tsx -> insomnia/src/ui/components/tabs/tab.tsx
insomnia/src/ui/components/templating/tag-editor-arg-sub-form.tsx -> insomnia/src/ui/components/templating/external-vault/external-vault-form.tsx
insomnia/src/ui/components/viewers/response-viewer.tsx -> insomnia/src/ui/components/viewers/response-multipart-viewer.tsx

Analysis

No Change: This PR does not introduce or remove any circular references.


This report was generated automatically by comparing against the develop branch.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the “first request creation” UI to rely on theme CSS variables instead of hard-coded light/dark color branches, so the gradient styling adapts automatically to the active theme.

Changes:

  • Removed light/dark conditional styling via useIsLightTheme().
  • Switched the wrapper/surface gradients and background colors to use theme variables (e.g. --hl-*, --color-bg, --color-surprise-rgb).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/insomnia/src/ui/components/first-request-creation.tsx Outdated
@CurryYangxx CurryYangxx force-pushed the fix/first-request-theme branch from c23d697 to 50b502d Compare May 29, 2026 08:24
Copy link
Copy Markdown
Contributor

@mcturco mcturco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Just suggesting a small spacing change.

Comment thread packages/insomnia/src/ui/components/first-request-creation.tsx Outdated
@CurryYangxx CurryYangxx force-pushed the fix/first-request-theme branch from bae0320 to ac3b8ba Compare June 1, 2026 02:51
@CurryYangxx CurryYangxx requested a review from ZxBing0066 June 1, 2026 03:23
@CurryYangxx CurryYangxx force-pushed the fix/first-request-theme branch from ac3b8ba to 8f20dc7 Compare June 2, 2026 02:53
@CurryYangxx CurryYangxx requested a review from cwangsmv June 2, 2026 07:03
@CurryYangxx CurryYangxx force-pushed the fix/first-request-theme branch from 8f20dc7 to cd2b01a Compare June 2, 2026 09:27
CurryYangxx and others added 2 commits June 2, 2026 17:51
Co-authored-by: Missy Turco <60163079+mcturco@users.noreply.github.com>
@CurryYangxx CurryYangxx force-pushed the fix/first-request-theme branch from cd2b01a to 3e63e2e Compare June 2, 2026 09:51
@CurryYangxx CurryYangxx enabled auto-merge (squash) June 2, 2026 09:52
@CurryYangxx CurryYangxx merged commit d5b5a15 into develop Jun 2, 2026
19 of 21 checks passed
@CurryYangxx CurryYangxx deleted the fix/first-request-theme branch June 2, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants