Dark UI for react-select

This commit is contained in:
Jamie Curnow
2025-09-22 23:14:00 +10:00
parent 94375bbc5f
commit d85e515ab9
8 changed files with 67 additions and 16 deletions

View File

@@ -46,6 +46,8 @@ export function DNSProviderFields() {
DNS Provider
</label>
<Select
className="react-select-container"
classNamePrefix="react-select"
name={field.name}
id="dnsProvider"
closeMenuOnSelect={true}

View File

@@ -91,6 +91,8 @@ export function DomainNamesField({
{intl.formatMessage({ id: label })}
</label>
<CreatableSelect
className="react-select-container"
classNamePrefix="react-select"
name={field.name}
id={id}
closeMenuOnSelect={true}

View File

@@ -103,6 +103,8 @@ export function SSLCertificateField({
{isError ? <div className="invalid-feedback">{`${error}`}</div> : null}
{!isLoading && !isError ? (
<Select
className="react-select-container"
classNamePrefix="react-select"
defaultValue={options[0]}
options={options}
components={{ Option }}

View File

@@ -107,7 +107,7 @@ export function SSLOptionsFields() {
<Field name="letsencryptEmail">
{({ field }: any) => (
<div className="row mt-5">
<div className="mt-5">
<label htmlFor="letsencryptEmail" className="form-label">
Email Address for Let's Encrypt
</label>