Skip to content

Own background image conflicts with admin theming primary color #33925

Closed

Description

@jancborchardt

Problem

With the design update, you can have the strange state that the primary color picked by the admin is still present when you pick a different background image, resulting in e.g. red primary buttons when there is a green-ish background image.

@skjnldsv since we also talked about that in #33810 (comment)

Possible solution

For users
People should be able to set their own design, background image including primary color. For that we can do several enhancements, any or all of these:

For admins

Default
The default image and color if nothing is customized by either admin or individual people remains:

  • background (for logged in as well as logged out pages): kamil-porembinski-clouds.jpg
  • color: Nextcloud blue #0082c9

cc @PVince81 @skjnldsv @karlitschek @AndyScherzinger


List of colors for default dashboard images (taken by putting the images through the Material Theme Builder):

  • #a53c17 anatoly-mikhaltsov-butterfly-wing-scale.jpg
  • #316b26 bernard-spragg-new-zealand-fern.jpg
  • #56633d bernie-cetonia-aurata-take-off-composition.jpg
  • #9c4236 dejan-krsmanovic-ribbed-red-metal.jpg
  • #4f6071 eduardo-neves-pedra-azul.jpg
  • #396475 european-space-agency-barents-bloom.jpg
  • #98415a hannes-fritz-flippity-floppity.jpg
  • #845334 hannes-fritz-roulette.jpg
  • #4f6071 hannes-fritz-sea-spray.jpg
  • #0082c9 kamil-porembinski-clouds.jpg (the actual accessible color here would be #00639a)
  • #7f5700 lali-masriera-yellow-bricks.jpg
  • #005ac1 nasa-waxing-crescent-moon.jpg
  • #7b4e7e rawpixel-pink-tapioca-bubbles.jpg
  • #6a2af4 tommy-chau-already.jpg
  • #7f4f70 tommy-chau-lion-rock-hill.jpg

Activity

  1. added this to the Nextcloud 25 milestone on Sep 7, 2022
  2. self-assigned this
    on Sep 8, 2022
  3. moved this to 🏗️ In progress in 🖍 Design teamon Sep 13, 2022
  4. assigned and unassigned on Sep 20, 2022
  5. Pytal commented on Sep 27, 2022

    @Pytal
    Member

    As a user this would be much simpler and less of a footgun by not having a custom color picker and instead just picking the background which automatically chooses the primary color resulting in a background and color combination that never conflict, what do you think @jancborchardt?

    Color presets added in #34272

  6. szaimen commented on Sep 27, 2022

    @szaimen
    Contributor

    As a user this would be much simpler and less of a footgun by not having a custom color picker and instead just picking the background which automatically chooses the primary color resulting in a background and color combination that never conflict, what do you think @jancborchardt?

    Color presets added in #34272

    Makes sense! But what abour custom backgrounds?

  7. 4 remaining items

  8. nickvergessen commented on Sep 29, 2022

    @nickvergessen
    Member

    Please note/adjust tertiary-on-primary in the vue library accordingly as well.
    The name might not be matching anymore but it is only used for buttons that are added in the top bar, e.g. in Talk to open the sidebar.

  9. Tealk commented on Oct 10, 2022

    @Tealk

    Does the following problem also apply here?

    A separate background, the upper edge is bright
    Theme Color #078D4E

    Unfortunately I don't know how to get the navigation dark like it is with some of the preinstalled background images.
    image

  10. Pytal commented on Oct 11, 2022

    @Pytal
    Member

    Rewrite of admin theming in #34359

  11. Pytal commented on Oct 12, 2022

    @Pytal
    Member

    Using dark navigation icons for custom backgrounds would be a separate issue @Tealk, feel free to open a new issue

  12. PVince81 commented on Oct 12, 2022

    @PVince81
    Member
  13. PVince81 commented on Oct 14, 2022

    @PVince81
    Member
  14. self-assigned this
    on Oct 14, 2022
  15. PVince81 commented on Oct 14, 2022

    @PVince81
    Member
  16. skjnldsv commented on Oct 21, 2022

    @skjnldsv
    Member

    Fixed now I guess with the various PR and the last #34576
    Closing as there is individual tickets for the extra points

  17. Repository owner moved this from 🏗️ In progress to ☑️ Done in 🖍 Design teamon Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions