mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Make x-button more visible
This commit is contained in:
parent
89bc201b73
commit
b74a4cd4c6
2 changed files with 19 additions and 42 deletions
|
@ -25,7 +25,7 @@ export function IconPatch(props: IconPatchProps) {
|
||||||
return (
|
return (
|
||||||
<div className={props.className || undefined} onClick={props.onClick}>
|
<div className={props.className || undefined} onClick={props.onClick}>
|
||||||
<div
|
<div
|
||||||
className={`flex items-center justify-center rounded-full border-2 border-transparent backdrop-blur-lg bg-pill-background bg-opacity-50 transition-[background-color,color,transform,border-color] duration-75 ${transparentClasses} ${clickableClasses} ${activeClasses} ${sizeClasses}`}
|
className={`flex items-center justify-center rounded-full border-2 border-transparent bg-pill-background bg-opacity-100 transition-[background-color,color,transform,border-color] duration-75 ${transparentClasses} ${clickableClasses} ${activeClasses} ${sizeClasses}`}
|
||||||
>
|
>
|
||||||
<Icon icon={props.icon} />
|
<Icon icon={props.icon} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -31,7 +31,7 @@ const tokens = {
|
||||||
c200: "#8A293B",
|
c200: "#8A293B",
|
||||||
c300: "#812435",
|
c300: "#812435",
|
||||||
c400: "#701B2B",
|
c400: "#701B2B",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
blue: {
|
blue: {
|
||||||
c50: "#ADADF5",
|
c50: "#ADADF5",
|
||||||
|
@ -43,7 +43,7 @@ const tokens = {
|
||||||
c600: "#1B1B41",
|
c600: "#1B1B41",
|
||||||
c700: "#171736",
|
c700: "#171736",
|
||||||
c800: "#101020",
|
c800: "#101020",
|
||||||
c900: "#0B0B13"
|
c900: "#0B0B13",
|
||||||
},
|
},
|
||||||
purple: {
|
purple: {
|
||||||
c50: "#D5AAFF",
|
c50: "#D5AAFF",
|
||||||
|
@ -55,7 +55,7 @@ const tokens = {
|
||||||
c600: "#411F64",
|
c600: "#411F64",
|
||||||
c700: "#31184A",
|
c700: "#31184A",
|
||||||
c800: "#221134",
|
c800: "#221134",
|
||||||
c900: "#160B22"
|
c900: "#160B22",
|
||||||
},
|
},
|
||||||
ash: {
|
ash: {
|
||||||
c50: "#7F8D9B",
|
c50: "#7F8D9B",
|
||||||
|
@ -67,7 +67,7 @@ const tokens = {
|
||||||
c600: "#172532",
|
c600: "#172532",
|
||||||
c700: "#131E29",
|
c700: "#131E29",
|
||||||
c800: "#101820",
|
c800: "#101820",
|
||||||
c900: "#0C1216"
|
c900: "#0C1216",
|
||||||
},
|
},
|
||||||
shade: {
|
shade: {
|
||||||
c50: "#676790",
|
c50: "#676790",
|
||||||
|
@ -77,11 +77,11 @@ const tokens = {
|
||||||
c400: "#272741",
|
c400: "#272741",
|
||||||
c500: "#1E1E32",
|
c500: "#1E1E32",
|
||||||
c600: "#171728",
|
c600: "#171728",
|
||||||
c700: "#131322",
|
c700: "#000000",
|
||||||
c800: "#0F0F1B",
|
c800: "#0F0F1B",
|
||||||
c900: "#0A0A12"
|
c900: "#0A0A12",
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
export const defaultTheme = {
|
export const defaultTheme = {
|
||||||
extend: {
|
extend: {
|
||||||
|
@ -94,11 +94,9 @@ export const defaultTheme = {
|
||||||
|
|
||||||
// Branding
|
// Branding
|
||||||
pill: {
|
pill: {
|
||||||
background: tokens.shade.c300,
|
background: tokens.shade.c400,
|
||||||
backgroundHover: tokens.shade.c200,
|
backgroundHover: tokens.shade.c500,
|
||||||
highlight: tokens.blue.c200,
|
highlight: tokens.blue.c200,
|
||||||
|
|
||||||
activeBackground: tokens.shade.c300,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// meta data for the theme itself
|
// meta data for the theme itself
|
||||||
|
@ -140,11 +138,6 @@ export const defaultTheme = {
|
||||||
accentB: tokens.blue.c500,
|
accentB: tokens.blue.c500,
|
||||||
},
|
},
|
||||||
|
|
||||||
// Modals
|
|
||||||
modal: {
|
|
||||||
background: tokens.shade.c800,
|
|
||||||
},
|
|
||||||
|
|
||||||
// typography
|
// typography
|
||||||
type: {
|
type: {
|
||||||
logo: tokens.purple.c100,
|
logo: tokens.purple.c100,
|
||||||
|
@ -154,7 +147,6 @@ export const defaultTheme = {
|
||||||
divider: tokens.ash.c500,
|
divider: tokens.ash.c500,
|
||||||
secondary: tokens.ash.c100,
|
secondary: tokens.ash.c100,
|
||||||
danger: tokens.semantic.red.c100,
|
danger: tokens.semantic.red.c100,
|
||||||
success: tokens.semantic.green.c100,
|
|
||||||
link: tokens.purple.c100,
|
link: tokens.purple.c100,
|
||||||
linkHover: tokens.purple.c50,
|
linkHover: tokens.purple.c50,
|
||||||
},
|
},
|
||||||
|
@ -162,7 +154,6 @@ export const defaultTheme = {
|
||||||
// search bar
|
// search bar
|
||||||
search: {
|
search: {
|
||||||
background: tokens.shade.c500,
|
background: tokens.shade.c500,
|
||||||
hoverBackground: tokens.shade.c600,
|
|
||||||
focused: tokens.shade.c400,
|
focused: tokens.shade.c400,
|
||||||
placeholder: tokens.shade.c100,
|
placeholder: tokens.shade.c100,
|
||||||
icon: tokens.shade.c100,
|
icon: tokens.shade.c100,
|
||||||
|
@ -233,28 +224,14 @@ export const defaultTheme = {
|
||||||
},
|
},
|
||||||
|
|
||||||
saveBar: {
|
saveBar: {
|
||||||
background: tokens.shade.c800
|
background: tokens.shade.c800,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// Utilities
|
|
||||||
utils: {
|
utils: {
|
||||||
divider: tokens.ash.c300,
|
divider: tokens.ash.c300,
|
||||||
},
|
},
|
||||||
|
|
||||||
// Onboarding
|
|
||||||
onboarding: {
|
|
||||||
bar: tokens.shade.c400,
|
|
||||||
barFilled: tokens.purple.c300,
|
|
||||||
divider: tokens.shade.c200,
|
|
||||||
card: tokens.shade.c800,
|
|
||||||
cardHover: tokens.shade.c700,
|
|
||||||
border: tokens.shade.c600,
|
|
||||||
good: tokens.purple.c100,
|
|
||||||
best: tokens.semantic.yellow.c100,
|
|
||||||
link: tokens.purple.c100,
|
|
||||||
},
|
|
||||||
|
|
||||||
// Error page
|
// Error page
|
||||||
errors: {
|
errors: {
|
||||||
card: tokens.shade.c800,
|
card: tokens.shade.c800,
|
||||||
|
@ -290,7 +267,7 @@ export const defaultTheme = {
|
||||||
|
|
||||||
autoPlay: {
|
autoPlay: {
|
||||||
background: tokens.ash.c700,
|
background: tokens.ash.c700,
|
||||||
hover: tokens.ash.c500
|
hover: tokens.ash.c500,
|
||||||
},
|
},
|
||||||
|
|
||||||
scraping: {
|
scraping: {
|
||||||
|
|
Loading…
Reference in a new issue