mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #55] [MERGED] 🎨 Add theme support (and settings storage) #2386
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#2386
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/55
Author: @NBTX
Created: 8/25/2019
Status: ✅ Merged
Merged: 8/25/2019
Merged by: @liyasthomas
Base:
master← Head:master📝 Commits (8)
35d7e1b🔌 Add websocket page37ed800Merge pull request #1 from NBTX/feat/websocket67f0600Improve mobile navigation02ef69f🎨 Add theme support4d238b8Merge branch 'master' of github.com:NBTX/postwoman-vued66fadeMerge branch 'master' of https://github.com/liyasthomas/postwoman0571ec7Merge branch 'master' of https://github.com/liyasthomas/postwomanbd434ffImprove URL validation check. (See https://github.com/liyasthomas/postwoman/issues/56)📊 Changes
15 files changed (+854 additions, -420 deletions)
View changed files
📝
assets/css/styles.scss(+57 -33)➕
assets/css/themes.scss(+39 -0)➕
components/logo.vue(+29 -0)➕
components/section.vue(+47 -0)➕
components/settings/swatch.vue(+67 -0)📝
layouts/default.vue(+40 -5)📝
nuxt.config.js(+3 -0)📝
package-lock.json(+19 -0)📝
package.json(+2 -1)📝
pages/index.vue(+197 -213)➕
pages/settings.vue(+126 -0)📝
pages/websocket.vue(+169 -168)➕
plugins/vuex-persist.js(+5 -0)➕
store/index.js(+3 -0)➕
store/postwoman.js(+51 -0)📄 Description
This PR adds support for background theme selection and accent color selection. Additional background/accent colors can be easily defined the application. (Refer to
/layouts/settings.vuefor guidance.)Here's a full list of what this PR achieves:
Move root (var) style properties to
/assets/css/themes.scssImprove mobile navigation
Create section component for the collapsable sections.
Create logo component, so color can be changed.
Add settings page
Add option to select theme color
Add option to select theme background
Add option to enable/disable multi-colored frames.
Add settings to VueX Store
Persist VueX store in LocalStorage.
This PR also:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.