Skip to content

Commit

Permalink
customization: instructions for change search button color
Browse files Browse the repository at this point in the history
  • Loading branch information
Samk13 committed Mar 13, 2024
1 parent c565be4 commit 299b891
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/customize/look-and-feel/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ The `assets/less/site/globals/site.variables` is where you can override site wid
```

You can override any styling variable in your `site.variables` file. The available styling variables are typically found in the `.variables` files of the various Invenio modules installed (see note below).
For instance, To change the orange search button color, in your instance create `assets/less/site/elements/button.variables` file (notice the use of the elements folder instead of the globals one) and add the following line to it:

```less
@searchButtonColor: /* your desired color */;
```

!!! info "List of variables that can be overridden"

Expand Down

0 comments on commit 299b891

Please sign in to comment.