zuul/web/src/containers/job
Tobias Urdin 59cd5de78b web: add dark mode and theme selection
This adds a theme selection in the preferences in the
config modal and adds a new dark theme.

Removes the line.png image and instead uses CSS
linear-gradient that is available in all browsers
since around 2018, also fixes the 15 pixels spacing
issue that is there today.

You can select between three different themes.

Auto will use your system preference to choose either the
light or dark theme, changes dynamically based on your
system preference.

Light is the current theme.

Dark is the theme added by this patch series.

The UX this changes is that if somebody has their system
preferences set to dark, for example in Mac OS X that is
in System Settings -> Appearance -> Dark the user will
get the Zuul web UI in dark by default and same for the
opposite.

This uses a poor man's dark mode for swagger-ui
as per the comment in [1].

[1] https://github.com/swagger-api/swagger-ui/issues/5327#issuecomment-742375520

Change-Id: I01cf32f3decdb885307a76eb79d644667bbbf9a3
2023-04-21 11:23:56 +00:00
..
Job.jsx web: JobVariant : pull description into a card 2021-12-16 10:38:38 +11:00
JobDescriptionCard.jsx web: JobVariant : pull description into a card 2021-12-16 10:38:38 +11:00
JobProject.jsx Consolidate js/jsx indentation 2020-11-20 09:39:31 +00:00
JobVariant.jsx web: add dark mode and theme selection 2023-04-21 11:23:56 +00:00
Nodeset.jsx web: Nodeset: convert to a treeview 2021-08-16 15:45:26 +10:00
Role.jsx web: JobVariant: visual cleanups 2021-08-16 10:54:58 +10:00