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 8, 2024
1 parent c565be4 commit b0aa16c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/customize/look-and-feel/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ The `assets/less/site/globals/site.variables` is where you can override site wid
@footerDarkColor: /* a shade of your brandColor */;
```

To change the orange search button color, in your instance create `assets/less/site/elements/button.variables` file instead of the globals folder and add the following line to it:

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

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).

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

0 comments on commit b0aa16c

Please sign in to comment.