1
0
Fork 0
forgejo/web_src/css/themes
Mai-Lapyst 0a7767eaaa [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985)
Adds a feature similar to this https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/ , by adding styles to elements which `src` or `href` attribute ends with `#light-mode-only` or `#dark-mode-only`. To improve compability, the github variants with the `gh-` prefix are also contained.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3985
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Mai-Lapyst <mai-lapyst@noreply.codeberg.org>
Co-committed-by: Mai-Lapyst <mai-lapyst@noreply.codeberg.org>
2024-06-09 10:50:53 +00:00
..
theme-forgejo-auto-deuteranopia-protanopia.css [THEME] Add colorblind theme variants 2024-02-05 16:05:02 +01:00
theme-forgejo-auto-tritanopia.css [THEME] Add colorblind theme variants 2024-02-05 16:05:02 +01:00
theme-forgejo-auto.css [BRANDING] Add Forgejo light, dark, and auto themes 2024-02-05 16:02:13 +01:00
theme-forgejo-dark-deuteranopia-protanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-dark-tritanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-dark.css [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985) 2024-06-09 10:50:53 +00:00
theme-forgejo-light-deuteranopia-protanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-light-tritanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-light.css [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985) 2024-06-09 10:50:53 +00:00
theme-gitea-auto.css Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
theme-gitea-dark.css [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985) 2024-06-09 10:50:53 +00:00
theme-gitea-light.css [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985) 2024-06-09 10:50:53 +00:00