mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-09-24 15:30:35 +00:00
Dark UI for react-select
This commit is contained in:
@@ -15,11 +15,8 @@ function LocalePicker() {
|
||||
location.reload();
|
||||
};
|
||||
|
||||
const classes = ["btn", "dropdown-toggle", "btn-sm"];
|
||||
let cns = cn(...classes, "btn-ghost-light", styles.lightBtn);
|
||||
if (getTheme() === "dark") {
|
||||
cns = cn(...classes, "btn-ghost-dark", styles.darkBtn);
|
||||
}
|
||||
const classes = ["btn", "dropdown-toggle", "btn-sm", styles.btn];
|
||||
const cns = cn(...classes, getTheme() === "dark" ? "btn-ghost-dark" : "btn-ghost-light");
|
||||
|
||||
return (
|
||||
<div className="dropdown">
|
||||
|
Reference in New Issue
Block a user