diff --git a/assets/themes/brite.js b/assets/themes/brite.js new file mode 100644 index 00000000..41b82e93 --- /dev/null +++ b/assets/themes/brite.js @@ -0,0 +1,20 @@ +/* + * This file is part of Part-DB (https://github.com/Part-DB/Part-DB-symfony). + * + * Copyright (C) 2019 - 2026 Jan Böhmer (https://github.com/jbtronics) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import "bootswatch/dist/brite/bootstrap.css"; diff --git a/config/parameters.yaml b/config/parameters.yaml index b1aa5314..e654a9b5 100644 --- a/config/parameters.yaml +++ b/config/parameters.yaml @@ -53,6 +53,7 @@ parameters: # Themes commented here by default, are not really usable, because of display problems. Enable them at your own risk! partdb.available_themes: - bootstrap + - brite - cerulean - cosmo - cyborg diff --git a/webpack.config.js b/webpack.config.js index 469e20fc..259803fa 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -149,7 +149,7 @@ Encore ; //These are all the themes that are available in bootswatch -const AVAILABLE_THEMES = ['bootstrap', 'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', +const AVAILABLE_THEMES = ['bootstrap', 'brite', 'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'litera', 'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'quartz', 'sandstone', 'simplex', 'sketchy', 'slate', 'solar', 'spacelab', 'superhero', 'united', 'vapor', 'yeti', 'zephyr'];