issue about ADMINER_DESIGN=dracula
Adminer version: 5.0.6
I am using docker container named "adminer" which runs 4.1.7 automatically. I upgraded it to 5.0.6 and I am using dracula theme as default. when I run I saw lrwxrwxrwx 1 adminer adminer 27 Mar 20 11:54 adminer.css -> designs/dracula/adminer.css
which is not existing. instead adminer-dark.css is there and symbolic link is wrong. how can I fix this issue?
I am having the same issue
how can I fix this issue?
This will need a fix in https://github.com/TimWolla/docker-adminer/blob/48079bec8bcc9f91752cf55a1d4ad66667520543/5/entrypoint.sh#L4-L10 to handle dark-mode styles. I'll need to investigate how exactly they work, e.g. whether symlinking adminer.css to adminer-dark.css works or whether it needs to be adminer-dark.css -> adminer-dark.css and what happens if there's both adminer.css and adminer-dark.css.
Hi,
After upgrading to 5.1.0 I'm getting the rmsoft dark as default theme. My understanding is that ADMINER_DESIGN is broken so I tried using a custom theme by copy-paste the dracula theme inside a file adminer.css and then adding "./docker/adminer.css:/var/www/html/adminer.css:ro" in the volumes section but it's not working, still getting rmsoft. Any idea why ?
using fastcgi image and this is what I'm getting :
Refused to apply style from 'https://adminer.local/adminer.css?pgsql=xx&username=xx&db=xx&v=2244751288' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
I had this same issue. I was able to resolve it with a workaround. See more info here: https://github.com/vrana/adminer/issues/988
I'll need to investigate how exactly they work
adminer.cssandadminer-dark.cssexists: Auto switching dark mode with all styles.- Only
adminer.css: Do not include default dark Adminer style. - Only
adminer-dark.css: Force Adminer dark style as base. - Neither: Auto switching dark mode.
https://github.com/vrana/adminer/blob/v5.1.1/adminer/include/design.inc.php#L33
Hi, still not working with v5.2.1 ?