From 77cb8c1f47483f3af6c43116c85b9c140c65d196 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sun, 26 Jan 2025 21:33:02 +0100 Subject: [PATCH] Remove theme doc (#8958) --- docs/docs/extend/themes.md | 37 ------------------------------------- docs/mkdocs.yml | 1 - 2 files changed, 38 deletions(-) delete mode 100644 docs/docs/extend/themes.md diff --git a/docs/docs/extend/themes.md b/docs/docs/extend/themes.md deleted file mode 100644 index 49e4e185ee..0000000000 --- a/docs/docs/extend/themes.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Changing color theme ---- - -## Color Themes - -You can customize the look of InvenTree via the color themes feature. - -### Select Color Theme - -Navigate to the "Settings" page and click on the "Display" tab, you should see the following: - -{% with id="theme_default", url="settings/theme_default.png", description="Default InvenTree color theme" %} -{% include 'img.html' %} -{% endwith %} - -The drop-down list let's you select any other color theme found in your static folder (see next section to find out how to [add color themes](#add-color-theme)). Once selected, click on the "Apply Theme" button for the new color theme to be activated. - -!!! info "Per-user Setting" - Color themes are "user specific" which means that changing the color theme in your own settings won't affect other users. - -Here is an example what the "Dark Reader" theme looks like: - -{% with id="theme_dark", url="settings/theme_dark.png", description="Dark Reader InvenTree color theme" %} -{% include 'img.html' %} -{% endwith %} - -### Add Color Theme - -#### Local Installation -To add a color theme, you'll need to add a new CSS sheet in your static folder (the default folder is located at `{{ static_folder_local_default }}css/color-themes/`). - -InvenTree automatically lists all CSS sheets found in the `{{ static_folder_local_default }}css/color-themes/` folder and present them inside the dropdown list on the "Settings > Theme" page. - -#### InvenTree Source Code - -If you would like a CSS sheet to be permanently added to InvenTree's source code so that other users can benefit too, add it to the `{{ static_folder_source }}css/color-themes/` folder then submit a pull request. diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index d53424f7d8..314d2f2449 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -219,7 +219,6 @@ nav: - Machines: - Overview: extend/machines/overview.md - Label Printer: extend/machines/label_printer.md - - Themes: extend/themes.md - Third-Party: extend/integrate.md # Plugins