aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/images/README.md
blob: 1d51e8eedc3c88d31dd4b67ef89cf4c83646e65b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Image assets

The names of each directory correspond to the pages from which apps they are
used, except for the homepage, which uses `frontpage`, `waves`, `waves_dark`,
`sponsors`, and `sponsors_dark`.

Directories with the `_dark` suffix store alternate images to the ones in the
corresponding directory without the `_dark` suffix. When using these alternate
images, use the `light-image` class for the normal image and the `dark-image`
class for the image intended for dark mode.

The exception to this is the `waves_dark`, which is used in the homepage hero
section and the images are set by CSS using `[data-theme="light"]` and
`[data-theme="dark"]`.