Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔤 Added customizable title support and 🌙 Automatic dark mode switching (sunrise/sunset) #80

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Mar 19, 2022

  1. 🔤 Added customizable title support

     - Customizable titles through a very small script to change the window's title. 
    
     - Configurable with a value in config.js 
    
    This could be in the <head> but a script fits the pattern.
    lewisdoesstuff committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    7efc591 View commit details
    Browse the repository at this point in the history
  2. 🌙 Add location based auto theme

    Use lat/long | browser location data to automatically set light/dark mode. 
    
    Sunrise/sunset is already returned in the openweathermap API, so this is fairly simple.
    
    Converted the functions in weather.js to async as opposed to using .then chains
    lewisdoesstuff committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    4d2458d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5cabe95 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. 🔧 Added customizable background image

    Configurable through config.js, this just sets the CSS variable to the provided URL. Defaults to ./assets/background.jpg. 
    
    Again, this is more for convenience when running in docker as it's not as easy to just swap the file.
    lewisdoesstuff committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    7fdd153 View commit details
    Browse the repository at this point in the history
  2. 🖌 Added support for custom themes!

    Added support for custom themes without editing the main app.css file. 
    
    Themes configurable through config.js, with several pre-included themes. 
    
    Some of these don't map particularly well to the limited selection of colors we use, but I've done what i can to match them.
    
    Some themes only have a dark mode variant, so this is copied onto the light theme as well.
    lewisdoesstuff committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    41d7dd5 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Configuration menu
    Copy the full SHA
    fc13794 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Merge branch 'themes'

    lewisdoesstuff committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    863c766 View commit details
    Browse the repository at this point in the history
  2. Merge theming and custom backgrounds into master

    These were in their own branches, merge to master and update docs
    lewisdoesstuff committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    fb636e7 View commit details
    Browse the repository at this point in the history