dark styles on public pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
1ef6c55d44
commit
161f561b44
|
@ -70,7 +70,7 @@ const Input = React.forwardRef<HTMLInputElement, IInput>(
|
||||||
type='button'
|
type='button'
|
||||||
onClick={togglePassword}
|
onClick={togglePassword}
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
className='text-gray-400 hover:text-gray-500 h-full px-2 focus:ring-primary-500 focus:ring-2'
|
className='text-gray-400 dark:text-gray-500 hover:text-gray-500 dark:hover:text-gray-400 h-full px-2 focus:ring-primary-500 focus:ring-2'
|
||||||
>
|
>
|
||||||
<SvgIcon
|
<SvgIcon
|
||||||
src={revealed ? require('@tabler/icons/icons/eye-off.svg') : require('@tabler/icons/icons/eye.svg')}
|
src={revealed ? require('@tabler/icons/icons/eye-off.svg') : require('@tabler/icons/icons/eye.svg')}
|
||||||
|
|
|
@ -20,7 +20,7 @@ const AuthLayout = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className='fixed h-screen w-full bg-gradient-to-tr from-primary-50 via-white to-cyan-50' />
|
<div className='fixed h-screen w-full bg-gradient-to-tr from-primary-50 dark:from-slate-700 via-white dark:via-slate-900 to-cyan-50 dark:to-cyan-900' />
|
||||||
|
|
||||||
<main className='relative flex flex-col h-screen'>
|
<main className='relative flex flex-col h-screen'>
|
||||||
<header className='pt-10 flex justify-center relative'>
|
<header className='pt-10 flex justify-center relative'>
|
||||||
|
@ -29,7 +29,7 @@ const AuthLayout = () => {
|
||||||
<img src={logo} alt={siteTitle} className='h-7' />
|
<img src={logo} alt={siteTitle} className='h-7' />
|
||||||
) : (
|
) : (
|
||||||
<SvgIcon
|
<SvgIcon
|
||||||
className='w-7 h-7'
|
className='w-7 h-7 dark:text-white'
|
||||||
alt={siteTitle}
|
alt={siteTitle}
|
||||||
src={require('@tabler/icons/icons/home.svg')}
|
src={require('@tabler/icons/icons/home.svg')}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -42,7 +42,7 @@ class PasswordReset extends ImmutablePureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className='pb-4 sm:pb-10 mb-4 border-b border-gray-200 border-solid -mx-4 sm:-mx-10'>
|
<div className='pb-4 sm:pb-10 mb-4 border-b border-gray-200 dark:border-gray-600 border-solid -mx-4 sm:-mx-10'>
|
||||||
<h1 className='text-center font-bold text-2xl'>
|
<h1 className='text-center font-bold text-2xl'>
|
||||||
{intl.formatMessage({ id: 'password_reset.header', defaultMessage: 'Reset Password' })}
|
{intl.formatMessage({ id: 'password_reset.header', defaultMessage: 'Reset Password' })}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
@ -128,7 +128,7 @@ const Header = () => {
|
||||||
<Tooltip text={intl.formatMessage(messages.forgotPassword)}>
|
<Tooltip text={intl.formatMessage(messages.forgotPassword)}>
|
||||||
<IconButton
|
<IconButton
|
||||||
src={require('@tabler/icons/icons/help.svg')}
|
src={require('@tabler/icons/icons/help.svg')}
|
||||||
className='bg-transparent text-gray-400 hover:text-gray-700 cursor-pointer'
|
className='bg-transparent text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-200 cursor-pointer'
|
||||||
iconClassName='w-5 h-5'
|
iconClassName='w-5 h-5'
|
||||||
/>
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
|
@ -35,7 +35,7 @@ class PublicLayout extends ImmutablePureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='h-full'>
|
<div className='h-full'>
|
||||||
<div className='fixed h-screen w-full bg-gradient-to-tr from-primary-50 via-white to-cyan-50' />
|
<div className='fixed h-screen w-full bg-gradient-to-tr from-primary-50 dark:from-slate-700 via-white dark:via-slate-900 to-cyan-50 dark:to-cyan-900' />
|
||||||
|
|
||||||
<div className='flex flex-col h-screen'>
|
<div className='flex flex-col h-screen'>
|
||||||
<div className='flex-shrink-0'>
|
<div className='flex-shrink-0'>
|
||||||
|
|
|
@ -25,7 +25,7 @@ const WaitlistPage = ({ account }) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='h-screen w-full bg-gradient-to-tr from-primary-50 via-white to-cyan-50'>
|
<div className='h-screen w-full bg-gradient-to-tr from-primary-50 dark:from-slate-700 via-white dark:via-slate-900 to-cyan-50 dark:to-cyan-900'>
|
||||||
<main className='relative flex flex-col h-screen max-w-7xl mx-auto px-2 sm:px-6 lg:px-8'>
|
<main className='relative flex flex-col h-screen max-w-7xl mx-auto px-2 sm:px-6 lg:px-8'>
|
||||||
<header className='relative flex justify-between h-16'>
|
<header className='relative flex justify-between h-16'>
|
||||||
<div className='flex-1 flex items-stretch justify-center relative'>
|
<div className='flex-1 flex items-stretch justify-center relative'>
|
||||||
|
|
|
@ -709,11 +709,11 @@ $fluid-breakpoint: $maximum-width + 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rich-formatting {
|
.rich-formatting {
|
||||||
|
@apply text-gray-900 dark:text-gray-100;
|
||||||
font-family: var(--font-sans-serif), sans-serif;
|
font-family: var(--font-sans-serif), sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
color: $color-5-dark;
|
|
||||||
padding: 15px 30px;
|
padding: 15px 30px;
|
||||||
|
|
||||||
.text-center {
|
.text-center {
|
||||||
|
@ -735,11 +735,11 @@ $fluid-breakpoint: $maximum-width + 20px;
|
||||||
|
|
||||||
p,
|
p,
|
||||||
li {
|
li {
|
||||||
|
@apply text-gray-900 dark:text-gray-100;
|
||||||
font-family: var(--font-sans-serif), sans-serif;
|
font-family: var(--font-sans-serif), sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
color: $color-5-dark;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--highlight-text-color);
|
color: var(--highlight-text-color);
|
||||||
|
@ -760,10 +760,10 @@ $fluid-breakpoint: $maximum-width + 20px;
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
|
@apply text-gray-900 dark:text-gray-100;
|
||||||
font-family: var(--font-display), sans-serif;
|
font-family: var(--font-display), sans-serif;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
color: $color-5-dark;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hr + {
|
hr + {
|
||||||
|
@ -1050,8 +1050,7 @@ $fluid-breakpoint: $maximum-width + 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple_form .user_agreement .label_input > label {
|
.simple_form .user_agreement .label_input > label {
|
||||||
font-weight: 400;
|
@apply text-gray-900 dark:text-gray-100 font-normal;
|
||||||
color: $color-5-dark;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple_form p.lead {
|
.simple_form p.lead {
|
||||||
|
|
|
@ -69,10 +69,10 @@ code {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.label_input > label {
|
.label_input > label {
|
||||||
|
@apply text-black dark:text-white;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
color: var(--primary-text-color);
|
|
||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
@ -190,9 +190,9 @@ code {
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
.label_input > label {
|
.label_input > label {
|
||||||
|
@apply text-gray-700 dark:text-gray-400;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: var(--gray-700);
|
|
||||||
display: block;
|
display: block;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
Loading…
Reference in New Issue