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

[admin] dark mode #5511

Merged
merged 9 commits into from
Nov 15, 2023
Merged

[admin] dark mode #5511

merged 9 commits into from
Nov 15, 2023

Commits on Nov 15, 2023

  1. Add missing closed parenthesis

    elia committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    dbae91f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04c4cf3 View commit details
    Browse the repository at this point in the history
  3. Let clicks go through the ui/toast component container

    Otherwise the transparent element would have captured some of them.
    elia committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    9296111 View commit details
    Browse the repository at this point in the history
  4. Fallback to the default locale if the selected one is unsupported

    This can happen if the list of available locales changes and an old
    value is stored in the session.
    elia committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    b3ea5e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a22b14 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0b6faea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fe6da39 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    74efa66 View commit details
    Browse the repository at this point in the history
  9. Add theme support to the SolidusAdmin UI with dark and dimmed variants

    - Save the user preference alongside the system preference so that
      when the system switches the UI will follow along.
    - Use the session to store preferences so that we start the page
      with the correct theme(s).
    - Keep the current theme in the select tag up to date at page load
      and whenever the system changes.
    
    Add dark and dimmed theme variants
    
    dark:
      Full black background with no alteration on images.
    
    dimmed:
      Dark gray background with dimmed images, easier on the eyes but
      less accurate colors.
    elia committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    b94c635 View commit details
    Browse the repository at this point in the history