Ponysearch/searx/static/themes/oscar
Alexandre Flament 32cd0d31b3 [mod] upgrade pygments
add searx_extra/update/update_pygments.py to update the css style of the oscar and simple themes.
2021-03-16 09:07:08 +01:00
..
css [mod] upgrade pygments 2021-03-16 09:07:08 +01:00
fonts [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
img [mod] oscar: get leaflet and jquery from NPM 2021-03-11 09:32:22 +01:00
js [mod] upgrade pygments 2021-03-16 09:07:08 +01:00
src [mod] upgrade pygments 2021-03-16 09:07:08 +01:00
.gitignore .gitignore: make package-lock.json visible 2020-03-26 15:35:32 +01:00
gruntfile.js [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
package.json [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01: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