Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W WebApps
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • WebApps
  • Merge requests
  • !7

Add favicon switch

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Aleksandr Gumroian requested to merge switch-favicon into master Sep 25, 2020
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 6

Add a favicon switch if the browser is using dark mode with help of the prefers-color-scheme CSS media query feature.

ezgif-3-98d0d20ce983

You can read how to debug prefers-color-scheme in Chrome DevTools here.

Closes: #11 (closed)

Edited Nov 06, 2020 by Aleksandr Gumroian
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: switch-favicon