Go to file Use this template
2023-03-18 14:29:16 +01:00
beetroot_static test 2023-03-18 14:29:16 +01:00
beetroot_template iamges 2023-03-18 07:40:13 +01:00
README.md test 2023-03-18 14:29:16 +01:00

Searxng_beetroot

Disroot theme for Searxng.

To use this theme, git clone it on your computer.

Create a beetroot folder in /var/www/searx/searx/static/themes and in /var/www/searx/searx/templates.

Then, copy the content of beetroot_static in /var/www/searx/searx/static/themes/beetroot and the content of beetroot_template in /var/www/searx/searx/templates/beetroot.

Enable the beetroot them by editing /var/www/searx/searx/settings.yml and changing:

default_theme : beetroot
theme_args :
    beetroot_style : auto

Restart searx: service uwsgi restart

NOTE:

The minify versions of the css files are missing at the moment. So, to test things as they are now, edit /var/www/searx/searx/templates/beetroot/base.html and replace <link rel="stylesheet" href="{{ url_for('static', filename='css/'+preferences.get_value('beetroot-style')+'.min.css') }}" type="text/css" /> by <link rel="stylesheet" href="{{ url_for('static', filename='css/'+preferences.get_value('beetroot-style')+'.css') }}" type="text/css" />

How to edit/change this theme

  • You have clone the upstream first: git clone https://github.com/searxng/searxng.git searx.
  • Copy the static/themes/simple/src/less/definitions.less from this repo to the clone.
  • Edit the static/themes/simple/src/less/definitions.less file of the clone with the colors you want.
  • Build the theme: in searx root folder, as the searx user, make themes.simple.
  • Copy the css files from the clone back to this repo: cp -r static/themes/simple/css/* /static/themes/beetroot/css/

If you want to test in live mode all your changes to the Simple theme, do LIVE_THEME=simple make run from searx root folder and edit the static/themes/simple/src/less/definitions.less file as you wish.