Ponysearch/searx/static/themes/oscar
Markus Heiser 0275f0f5ad [upd] ./manage pyenv.cmd searxng_extra/update/update_pygments.py
After each update of the pygments version, we (or github action) should [1]

1. update less files:

    ./manage pyenv.cmd searxng_extra/update/update_pygments.py

    update: static/themes/oscar/src/generated/pygments-logicodev.less
    update: static/themes/oscar/src/generated/pygments-pointhi.less
    update: static/themes/simple/src/generated/pygments.less

2. rebuild the static files of each themes:

    make static.build.commit

[1] https://github.com/searxng/searxng/pull/2#issuecomment-826958666

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-30 07:12:39 +02:00
..
css [upd] ./manage pyenv.cmd searxng_extra/update/update_pygments.py 2022-04-30 07:12:39 +02:00
fonts [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
img [fix] oscar theme: use SearXNG logo and wordmark 2021-11-26 16:43:18 +01:00
js [upd] ./manage pyenv.cmd searxng_extra/update/update_pygments.py 2022-04-30 07:12:39 +02:00
src [upd] ./manage pyenv.cmd searxng_extra/update/update_pygments.py 2022-04-30 07:12:39 +02:00
.gitignore [themes] ignore packages-lock.json 2021-06-22 08:17:06 +02:00
gruntfile.js [simple theme] replace Image_layout.js with flexbox CS impl. 2022-02-26 22:31:47 +01:00
package.json Bump grunt-contrib-uglify in /searx/static/themes/oscar 2022-04-01 11:18:35 +02:00
README.rst [mod] oscar: update README.rst 2021-03-11 09:33:04 +01:00

install dependencies
~~~~~~~~~~~~~~~~~~~~

run this command in the directory ``searx/static/themes/oscar``

``npm install``

compile sources
~~~~~~~~~~~~~~~

run this command in the directory ``searx/static/themes/oscar``

``grunt``

or in the root directory:

``make grunt``

directory structure
~~~~~~~~~~~~~~~~~~~

see:

- gruntfile.js
- package.json

*************
css directory
*************

- ``bootstrap*``: bootstrap NPM package,
- ``leaflet.*``: leaflet NPM package
- ``leaflet.min.css``: minimized version of ``leaflet.css`` (see gruntfile.js)
- ``logicodev.*``: compiled from ``src/less/logicodev``
- ``logicodev-dark*``: compiled from ``src/less/logicodev-dark``
- ``pointhi*``: compiled from ``src/less/pointhi``
- ``images``: leaflet NPM package

**************
font directory
**************

- from bootstrap NPM package

************
js directory
************

- ``searx.*``: compiled from ``src/js``
- other files are from NPM packages

*************
img directory
*************

- images for the oscar theme