Alexandre Flament 04492b76de [themes] ignore packages-lock.json 3 years ago
..
css 2bc9b00cd7 Static build 3 years ago
fonts 86912e2272 [mod] oscar: get bootstrap and typeahead from NPM 4 years ago
img d6a2d4f969 [enh] add engine - Docker Hub 3 years ago
js 2bc9b00cd7 Static build 3 years ago
src d20f6a1f19 [mod] make themes.all update pygments*.less 3 years ago
.gitignore 04492b76de [themes] ignore packages-lock.json 3 years ago
README.rst cb04d42806 [mod] oscar: update README.rst 4 years ago
gruntfile.js 54d57c8296 [fix] grunt/less/development: oscar light & dark logicodev mixes CSS 4 years ago
package.json 14ba56fd1a [mod] make node.clean: call the "clean" script from the packages.json 3 years ago

README.rst

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