mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
💄 Fix colors of modals
This commit is contained in:
@@ -35,6 +35,8 @@ export const CreateDashboardModal = ({ context, id, innerProps }: ContextModalPr
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
modals.close(id);
|
modals.close(id);
|
||||||
}}
|
}}
|
||||||
|
variant="light"
|
||||||
|
color="gray"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
@@ -47,6 +49,8 @@ export const CreateDashboardModal = ({ context, id, innerProps }: ContextModalPr
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
|
variant="light"
|
||||||
|
color="green"
|
||||||
>
|
>
|
||||||
Create
|
Create
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -46,11 +46,12 @@ export const CreateRegistrationTokenModal = ({
|
|||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<DateInput
|
<DateInput
|
||||||
label="Expiration date"
|
|
||||||
withAsterisk
|
|
||||||
popoverProps={{ withinPortal: true }}
|
popoverProps={{ withinPortal: true }}
|
||||||
minDate={minDate}
|
minDate={minDate}
|
||||||
maxDate={maxDate}
|
maxDate={maxDate}
|
||||||
|
withAsterisk
|
||||||
|
label="Expiration date"
|
||||||
|
variant="filled"
|
||||||
{...form.getInputProps('expirationDate')}
|
{...form.getInputProps('expirationDate')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@@ -59,6 +60,8 @@ export const CreateRegistrationTokenModal = ({
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
modals.close(id);
|
modals.close(id);
|
||||||
}}
|
}}
|
||||||
|
variant="light"
|
||||||
|
color="gray"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
@@ -69,6 +72,8 @@ export const CreateRegistrationTokenModal = ({
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
|
variant="light"
|
||||||
|
color="green"
|
||||||
>
|
>
|
||||||
Create
|
Create
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ export const DeleteRegistrationTokenModal = ({
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
modals.close(id);
|
modals.close(id);
|
||||||
}}
|
}}
|
||||||
|
variant="light"
|
||||||
|
color="gray"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
@@ -36,6 +38,8 @@ export const DeleteRegistrationTokenModal = ({
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
|
variant="light"
|
||||||
|
color="red"
|
||||||
>
|
>
|
||||||
Delete
|
Delete
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ export const DeleteUserModal = ({
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
modals.close(id);
|
modals.close(id);
|
||||||
}}
|
}}
|
||||||
|
variant="light"
|
||||||
|
color="gray"
|
||||||
>
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
@@ -36,6 +38,8 @@ export const DeleteUserModal = ({
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
|
variant="light"
|
||||||
|
color="red"
|
||||||
>
|
>
|
||||||
Delete
|
Delete
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user