Skip to content

Update adminer "Choosing a design" section #2577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adminer/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ To load a custom plugin you can add PHP scripts that return the instance of the

The image bundles all the designs that are available in the source package of adminer. You can find the list of designs on GitHub: https://github.com/vrana/adminer/tree/master/designs.

To use a bundled design you can pass its name in `ADMINER_DESIGN`:
To use a bundled design you can pass its name in `ADMINER_DESIGN` (light theme) or `ADMINER_DESIGN_DARK` (dark theme) or both:

```console
$ docker run --link some_database:db -p 8080:8080 -e ADMINER_DESIGN='nette' %%IMAGE%%
$ docker run --link some_database:db -p 8080:8080 -e ADMINER_DESIGN='nette' -e ADMINER_DESIGN_DARK='dracula' %%IMAGE%%
```

To use a custom design you can add a file called `/var/www/html/adminer.css`.
Expand Down