Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Merge requests
  • !2180

Feat: Add theme chooser

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/balrajsingh9/feat/theme-overhaul into master Jun 21, 2020
  • Overview 14
  • Commits 25
  • Pipelines 0
  • Changes 12

Created by: balrajsingh9

Description of PR

Dark theme completely overhauled. Written from scratch and all buggy colors are fixed. Introduces a new way to choose the theme and primary color(thanks to twitter) 👍

  • Add 3 background color options - Default, Dim, Lights Out
  • Add 6 beautiful primary colors
  • Many color fixes(visibility issues) from old dark theme
  • Add style improvements and refactor a few components to use primary color.
  • Zero delays in render (you can see a small glitch previously when revisiting the page) after applying theme when the page is revisited. Use localStorage to cache the color-combination.

Relevant Issues
Fixes #1417 (closed)

Checklist

  • Compiles and passes lint tests
  • Properly formatted
  • Tested on desktop
  • Tested on phone

Screenshots

  • Desktop : Chrome, Firefox , Safari
Screenshot 2020-06-21 at 7 17 17 PM Screenshot 2020-06-21 at 7 19 46 PM

ezgif com-gif-maker

  • Mobile Device : Chrome
Screenshot 2020-06-21 at 7 26 01 PM Screenshot 2020-06-21 at 7 26 19 PM Screenshot 2020-06-21 at 7 26 33 PM
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/balrajsingh9/feat/theme-overhaul