mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
chore(app.config): improve modal and slideover overlay background
This commit is contained in:
@@ -518,7 +518,7 @@ const modal = {
|
|||||||
base: 'relative text-left overflow-hidden sm:my-8 w-full flex flex-col',
|
base: 'relative text-left overflow-hidden sm:my-8 w-full flex flex-col',
|
||||||
overlay: {
|
overlay: {
|
||||||
base: 'fixed inset-0 transition-opacity',
|
base: 'fixed inset-0 transition-opacity',
|
||||||
background: 'bg-gray-500/75 dark:bg-gray-600/75',
|
background: 'bg-gray-200/75 dark:bg-gray-800/75',
|
||||||
transition: {
|
transition: {
|
||||||
enter: 'ease-out duration-300',
|
enter: 'ease-out duration-300',
|
||||||
enterFrom: 'opacity-0',
|
enterFrom: 'opacity-0',
|
||||||
@@ -548,7 +548,7 @@ const slideover = {
|
|||||||
wrapper: 'fixed inset-0 flex z-50',
|
wrapper: 'fixed inset-0 flex z-50',
|
||||||
overlay: {
|
overlay: {
|
||||||
base: 'fixed inset-0 transition-opacity',
|
base: 'fixed inset-0 transition-opacity',
|
||||||
background: 'bg-gray-500/75 dark:bg-gray-600/75',
|
background: 'bg-gray-200/75 dark:bg-gray-800/75',
|
||||||
transition: {
|
transition: {
|
||||||
enter: 'ease-in-out duration-500',
|
enter: 'ease-in-out duration-500',
|
||||||
enterFrom: 'opacity-0',
|
enterFrom: 'opacity-0',
|
||||||
|
|||||||
Reference in New Issue
Block a user