Skip to content

feat: design tweaks#6463

Merged
helloanoop merged 1 commit intomainfrom
feat/design-tweaks
Dec 18, 2025
Merged

feat: design tweaks#6463
helloanoop merged 1 commit intomainfrom
feat/design-tweaks

Conversation

@helloanoop
Copy link
Contributor

@helloanoop helloanoop commented Dec 18, 2025

Design Tweaks

Summary by CodeRabbit

Release Notes

  • Style
    • Improved vertical spacing in settings and configuration panels for better readability.
    • Updated color scheme across interface elements to use brand colors consistently.
    • Refined typography sizing and weights using theme-based values for improved visual hierarchy.
    • Enhanced table and cell padding for optimized layout density.
    • Strengthened visual consistency through centralized theme token application.

✏️ Tip: You can customize this high-level summary in your review settings.

Copilot AI review requested due to automatic review settings December 18, 2025 19:02
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 18, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

A large-scale theming and styling refactor across the Bruno app. Updates include consolidating workspace.accent references to theme.brand, standardizing typography using theme tokens instead of hardcoded values, adjusting UI spacing and padding for visual consistency, and updating theme color definitions for HTTP methods and accent colors.

Changes

Cohort / File(s) Summary
Vars Component Spacing
packages/bruno-app/src/components/CollectionSettings/Vars/index.js, packages/bruno-app/src/components/FolderSettings/Vars/index.js, packages/bruno-app/src/components/RequestPane/Vars/index.js
Increased vertical margins for "Pre Request" (mb-1 → mb-3) and "Post Response" (mt-1 mb-1 → mt-3 mb-3) headers.
Request Pane Headers
packages/bruno-app/src/components/RequestPane/QueryParams/index.js, packages/bruno-app/src/components/ResponseExample/ResponseExampleRequestPane/ResponseExampleParams/index.js, packages/bruno-app/src/components/ResponseExample/ResponseExampleRequestPane/ResponseExampleHeaders/index.js
Increased header spacing margins from mb-1 to mb-3 for Query, Path, and Headers sections.
EditableTable Styling
packages/bruno-app/src/components/EditableTable/StyledWrapper.js
Added font-weight: normal to table root; changed thead color to theme.table.thead.color; reduced header cell padding (8px 10px → 5px 10px); reduced body cell padding (2px 10px → 1px 10px); removed input font-size override; swapped accent-color from workspace.accent to theme.colors.accent.
Environment Settings Typography & Colors
packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/StyledWrapper.js, packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/EnvironmentDetails/StyledWrapper.js, packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/EnvironmentDetails/EnvironmentVariables/StyledWrapper.js
Replaced hardcoded font-size (13px → theme.font.size.base) and font-weight (600 → 500); updated header padding and colors to theme tokens; swapped button styling from workspace.accent to theme.brand with updated padding and border-radius.
Workspace Home Typography
packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/StyledWrapper.js, packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/EnvironmentDetails/StyledWrapper.js, packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/EnvironmentDetails/EnvironmentVariables/StyledWrapper.js
Updated title font-size and font-weight to use theme tokens; replaced font-size defaults with theme-based values; refactored table headers and input styling to use centralized theme properties.
Workspace Brand Color Updates
packages/bruno-app/src/components/ManageWorkspace/StyledWrapper.js, packages/bruno-app/src/components/WorkspaceHome/WorkspaceDocs/StyledWrapper.js, packages/bruno-app/src/components/WorkspaceHome/WorkspaceOverview/StyledWrapper.js
Swapped accent color references from theme.workspace.accent to theme.brand for buttons, icons, and text colors; updated hover backgrounds to use brand color variants.
Theme Definitions
packages/bruno-app/src/themes/dark.js, packages/bruno-app/src/themes/light.js
Added new accent property to colors object (dark: colors.BRAND, light: '#b96f1d'); updated HTTP method color palette (get, post, put, delete, patch, options, head) with new hex values; added color mappings for grpc, ws, and gql.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~35 minutes

  • Theme consistency: Verify all workspace.accent → theme.brand transitions are intentional and complete across the codebase
  • New accent color property: Ensure the new accent property in colors doesn't conflict with existing theme usage or cause duplication
  • Typography standardization: Validate that all hardcoded font sizes and weights are correctly mapped to theme token equivalents
  • HTTP method color values: Review new hex color assignments for accessibility, contrast, and visual hierarchy
  • Padding/spacing calculations: Confirm that reduced padding values (5px 10px, 1px 10px) maintain adequate click targets and visual balance

Possibly related PRs

  • PR #6195: Directly modifies CollectionSettings Vars UI component that this PR also updates for spacing consistency.
  • PR #6447: Adds new color theme properties (accent), aligning with the theme property additions in this PR.
  • PR #6345: Overlapping design and theme refactoring changes across styled components and theme files.

Suggested labels

size/XL

Suggested reviewers

  • lohit-bruno
  • naman-bruno
  • bijin-bruno

Poem

🎨 A palette shifts from workspace worn,
To brand-new colors freshly born,
Theme tokens march where hard-codes lay,
Typography tidied without delay,
Bruno's UI blooms in styled array! ✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/design-tweaks

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 397ccbb and 8c1975b.

📒 Files selected for processing (18)
  • packages/bruno-app/src/components/CollectionSettings/Vars/index.js (1 hunks)
  • packages/bruno-app/src/components/EditableTable/StyledWrapper.js (3 hunks)
  • packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/EnvironmentDetails/EnvironmentVariables/StyledWrapper.js (4 hunks)
  • packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/EnvironmentDetails/StyledWrapper.js (2 hunks)
  • packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/StyledWrapper.js (1 hunks)
  • packages/bruno-app/src/components/FolderSettings/Vars/index.js (1 hunks)
  • packages/bruno-app/src/components/ManageWorkspace/StyledWrapper.js (2 hunks)
  • packages/bruno-app/src/components/RequestPane/QueryParams/index.js (2 hunks)
  • packages/bruno-app/src/components/RequestPane/Vars/index.js (1 hunks)
  • packages/bruno-app/src/components/ResponseExample/ResponseExampleRequestPane/ResponseExampleHeaders/index.js (1 hunks)
  • packages/bruno-app/src/components/ResponseExample/ResponseExampleRequestPane/ResponseExampleParams/index.js (2 hunks)
  • packages/bruno-app/src/components/WorkspaceHome/WorkspaceDocs/StyledWrapper.js (2 hunks)
  • packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/EnvironmentDetails/EnvironmentVariables/StyledWrapper.js (4 hunks)
  • packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/EnvironmentDetails/StyledWrapper.js (1 hunks)
  • packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/StyledWrapper.js (1 hunks)
  • packages/bruno-app/src/components/WorkspaceHome/WorkspaceOverview/StyledWrapper.js (1 hunks)
  • packages/bruno-app/src/themes/dark.js (2 hunks)
  • packages/bruno-app/src/themes/light.js (2 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@helloanoop helloanoop merged commit 6a05b04 into main Dec 18, 2025
11 of 12 checks passed
Copy link
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

This PR implements design refinements across the Bruno app, focusing on color palette consistency, typography standardization, and spacing improvements. The changes migrate from workspace.accent to a unified theme.brand and theme.colors.accent system, update HTTP method colors to be more harmonious with the overall design system, and normalize spacing patterns.

Key Changes

  • Unified color system by adding colors.accent to both themes and migrating UI components from workspace.accent to theme.brand or theme.colors.accent
  • Refined HTTP method and protocol colors (GET, POST, PUT, DELETE, gRPC, WebSocket, GraphQL) to be more cohesive with the design system
  • Standardized spacing (margin bottom from 1px to 3px) and typography (font-weight from 600 to 500, font-size to theme variables) across multiple components

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/bruno-app/src/themes/light.js Adds colors.accent and updates HTTP method/protocol colors with design-aligned palette
packages/bruno-app/src/themes/dark.js Adds colors.accent and updates HTTP method/protocol colors with design-aligned palette
packages/bruno-app/src/components/WorkspaceHome/WorkspaceOverview/StyledWrapper.js Migrates from workspace.accent to theme.brand for buttons, removes hardcoded font-weight
packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/StyledWrapper.js Standardizes title typography to use theme variables (font-size, font-weight)
packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/EnvironmentDetails/StyledWrapper.js Standardizes title typography to use theme variables
packages/bruno-app/src/components/WorkspaceHome/WorkspaceEnvironments/EnvironmentList/EnvironmentDetails/EnvironmentVariables/StyledWrapper.js Migrates colors to new system, standardizes spacing and typography, removes hardcoded font-sizes
packages/bruno-app/src/components/WorkspaceHome/WorkspaceDocs/StyledWrapper.js Migrates button styling from workspace.accent to theme.brand
packages/bruno-app/src/components/ResponseExample/ResponseExampleRequestPane/ResponseExampleParams/index.js Increases title spacing from mb-1 to mb-3 for consistency
packages/bruno-app/src/components/ResponseExample/ResponseExampleRequestPane/ResponseExampleHeaders/index.js Increases title spacing from mb-1 to mb-3 for consistency
packages/bruno-app/src/components/RequestPane/Vars/index.js Increases title spacing from mb-1 to mb-3 for consistency
packages/bruno-app/src/components/RequestPane/QueryParams/index.js Increases title spacing from mb-1 to mb-3 and mb-2 to mb-3 for consistency
packages/bruno-app/src/components/ManageWorkspace/StyledWrapper.js Migrates button colors from workspace.accent to theme.brand
packages/bruno-app/src/components/FolderSettings/Vars/index.js Increases title spacing from mb-1/mt-1 to mb-3/mt-3 for consistency
packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/StyledWrapper.js Standardizes title typography to use theme variables
packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/EnvironmentDetails/StyledWrapper.js Standardizes typography to use theme variables and reduces font-weight
packages/bruno-app/src/components/Environments/EnvironmentSettings/EnvironmentList/EnvironmentDetails/EnvironmentVariables/StyledWrapper.js Migrates colors to new system, standardizes spacing and typography, removes hardcoded font-sizes
packages/bruno-app/src/components/EditableTable/StyledWrapper.js Migrates to table.thead.color, adds explicit font-weight, standardizes padding, removes hardcoded font-sizes
packages/bruno-app/src/components/CollectionSettings/Vars/index.js Increases title spacing from mb-1/mt-1 to mb-3/mt-3 for consistency

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

Comment on lines 163 to 170
.reset {
background: transparent;
padding: 6px 16px;
border: 1px solid ${(props) => props.theme.workspace.accent};
color: ${(props) => props.theme.workspace.accent};
color: ${(props) => props.theme.brand};
&:hover {
opacity: 0.9;
}
}
Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

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

The .reset button is missing a border property. Before this change, it had a border. Now it will inherit border: none from the generic button selector at line 134, which may result in an invisible or less prominent button. Consider adding border: none; explicitly if this is intentional, or restore the border if this was an accidental deletion.

Copilot uses AI. Check for mistakes.
Comment on lines 162 to 169
.reset {
background: transparent;
padding: 6px 16px;
border: 1px solid ${(props) => props.theme.workspace.accent};
color: ${(props) => props.theme.workspace.accent};
color: ${(props) => props.theme.brand};
&:hover {
opacity: 0.9;
}
}
Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

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

The .reset button is missing a border property. Before this change, it had a border. Now it will inherit border: none from the generic button selector at line 133, which may result in an invisible or less prominent button. Consider adding border: none; explicitly if this is intentional, or restore the border if this was an accidental deletion.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants