diff --git a/app/soapbox/components/ui/input/input.tsx b/app/soapbox/components/ui/input/input.tsx index e8361223e..44b90912f 100644 --- a/app/soapbox/components/ui/input/input.tsx +++ b/app/soapbox/components/ui/input/input.tsx @@ -70,7 +70,7 @@ const Input = React.forwardRef( type='button' onClick={togglePassword} 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' > { return (
-
+
@@ -29,7 +29,7 @@ const AuthLayout = () => { {siteTitle} ) : ( diff --git a/app/soapbox/features/auth_login/components/password_reset.js b/app/soapbox/features/auth_login/components/password_reset.js index ccc8786f1..bafa09317 100644 --- a/app/soapbox/features/auth_login/components/password_reset.js +++ b/app/soapbox/features/auth_login/components/password_reset.js @@ -42,7 +42,7 @@ class PasswordReset extends ImmutablePureComponent { return (
-
+

{intl.formatMessage({ id: 'password_reset.header', defaultMessage: 'Reset Password' })}

diff --git a/app/soapbox/features/public_layout/components/header.tsx b/app/soapbox/features/public_layout/components/header.tsx index 585d25db6..e6528cbb4 100644 --- a/app/soapbox/features/public_layout/components/header.tsx +++ b/app/soapbox/features/public_layout/components/header.tsx @@ -128,7 +128,7 @@ const Header = () => { diff --git a/app/soapbox/features/public_layout/index.js b/app/soapbox/features/public_layout/index.js index d7ff35155..a96e269e3 100644 --- a/app/soapbox/features/public_layout/index.js +++ b/app/soapbox/features/public_layout/index.js @@ -35,7 +35,7 @@ class PublicLayout extends ImmutablePureComponent { return (
-
+
diff --git a/app/soapbox/features/verification/waitlist_page.js b/app/soapbox/features/verification/waitlist_page.js index 01b71bcae..c21c4d56b 100644 --- a/app/soapbox/features/verification/waitlist_page.js +++ b/app/soapbox/features/verification/waitlist_page.js @@ -25,7 +25,7 @@ const WaitlistPage = ({ account }) => { }; return ( -
+
diff --git a/app/styles/about.scss b/app/styles/about.scss index 380c7179d..b1041d7d4 100644 --- a/app/styles/about.scss +++ b/app/styles/about.scss @@ -709,11 +709,11 @@ $fluid-breakpoint: $maximum-width + 20px; } .rich-formatting { + @apply text-gray-900 dark:text-gray-100; font-family: var(--font-sans-serif), sans-serif; font-size: 16px; font-weight: 400; line-height: 30px; - color: $color-5-dark; padding: 15px 30px; .text-center { @@ -735,11 +735,11 @@ $fluid-breakpoint: $maximum-width + 20px; p, li { + @apply text-gray-900 dark:text-gray-100; font-family: var(--font-sans-serif), sans-serif; font-size: 16px; font-weight: 400; line-height: 30px; - color: $color-5-dark; a { color: var(--highlight-text-color); @@ -760,10 +760,10 @@ $fluid-breakpoint: $maximum-width + 20px; h4, h5, h6 { + @apply text-gray-900 dark:text-gray-100; font-family: var(--font-display), sans-serif; margin-top: 2em; margin-bottom: 1.25em; - color: $color-5-dark; } hr + { @@ -1050,8 +1050,7 @@ $fluid-breakpoint: $maximum-width + 20px; } .simple_form .user_agreement .label_input > label { - font-weight: 400; - color: $color-5-dark; + @apply text-gray-900 dark:text-gray-100 font-normal; } .simple_form p.lead { diff --git a/app/styles/forms.scss b/app/styles/forms.scss index 06a797036..442f48839 100644 --- a/app/styles/forms.scss +++ b/app/styles/forms.scss @@ -69,10 +69,10 @@ code { position: relative; .label_input > label { + @apply text-black dark:text-white; font-family: inherit; font-size: 14px; padding-top: 5px; - color: var(--primary-text-color); display: block; width: auto; } @@ -190,9 +190,9 @@ code { .input { .label_input > label { + @apply text-gray-700 dark:text-gray-400; font-family: inherit; font-size: 14px; - color: var(--gray-700); display: block; word-wrap: break-word; font-weight: 500;