mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #5909] feat(theme): add custom accent color picker with HEX/RGB support #5410
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5410
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5909
Author: @nikhilmahato21
Created: 2/26/2026
Status: 🔄 Open
Base:
main← Head:feat/custom-accent-color-picker📝 Commits (5)
af2b153feat(theme): add custom accent color picker with HEX/RGB supportebf49f2Update packages/hoppscotch-common/src/modules/theming.ts6e53a28feat(theming): support custom accent colors with validation5ed983efeat(ui): set palette icon color to selected custom accent60fa5a0fix(theming): keep native color input synced with active theme color📊 Changes
9 files changed (+274 additions, -38 deletions)
View changed files
📝
packages/hoppscotch-common/assets/themes/accent-themes.scss(+22 -0)📝
packages/hoppscotch-common/assets/themes/themes.scss(+11 -0)📝
packages/hoppscotch-common/package.json(+1 -0)📝
packages/hoppscotch-common/src/components/smart/AccentModePicker.vue(+100 -23)➕
packages/hoppscotch-common/src/helpers/theme.ts(+46 -0)📝
packages/hoppscotch-common/src/modules/theming.ts(+75 -1)📝
packages/hoppscotch-common/src/newstore/settings.ts(+1 -1)📝
packages/hoppscotch-common/src/services/persistence/index.ts(+3 -2)📝
packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts(+15 -11)📄 Description
🚀 Summary
closes #5857
Adds a custom color picker in Theme Settings to allow users to define their own accent color using HEX or RGB values instead of being limited to preset options.
🎯 Features
#FF5733)rgb(255, 87, 51))🧠 Motivation
Previously, users could only select accent colors from predefined presets.
This enhancement improves personalization, flexibility, and overall user experience.
🛠 Implementation Details
🧪 Testing
📸 Screenshots
https://github.com/user-attachments/assets/d44bfd6f-df66-4ee8-81bb-483f1c159f69
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.