Skip to content

Commit 75fd880

Browse files
author
Zaydek Michels-Gualtieri
committed
Tweaked form aesthetics and deprecated text-px and tracking-px
1 parent a8e3a5a commit 75fd880

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

src/components/Footer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Footer = () => (
2525
</ExternalLink>
2626
</div>
2727
<div className="mt-8 md:mt-0 order-2 md:order-1">
28-
<p className="text-center text-base leading-6 text-gray-400">
28+
<p className="text-center leading-6 text-gray-400">
2929
&copy; Codex
3030
</p>
3131
</div>

src/components/Forms/SignIn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const SignInForm = () => (
9090
<Meta.Focusable>
9191
<button className="flex flex-row justify-center w-full h-12 bg-md-blue-a400 rounded-md hover:opacity-90 active:opacity-100" type="submit">
9292
<Meta.SelectNone>
93-
<p className="flex flex-row items-center font-semibold text-px tracking-px text-white">
93+
<p className="flex flex-row items-center font-semibold text-white">
9494
Sign In{" "}
9595
<span className="ml-2" style={{ transform: "scaleX(-1)" }} aria-label="waving hand" role="img">👋</span>
9696
</p>

src/components/Forms/SignUp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const SignUpForm = () => (
9292
<Meta.Focusable>
9393
<button className="flex flex-row justify-center w-full h-12 bg-md-blue-a400 rounded-md hover:opacity-90 active:opacity-100" type="submit">
9494
<Meta.SelectNone>
95-
<p className="flex flex-row items-center font-semibold text-px tracking-px text-white">
95+
<p className="flex flex-row items-center font-semibold text-white">
9696
Create Your Codex{" "}
9797
<span className="ml-2" aria-label="partying face" role="img">🥳</span>
9898
</p>

src/components/Meta/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const InputBlock = ({ className, children }) => (
6363
<div className="mt-1 rounded-md shadow-sm">
6464
<Transition>
6565
{React.cloneElement(children[1], {
66-
className: trimSpaces(`form-input w-full
66+
className: trimSpaces(`form-input w-full sm:text-sm sm:leading-5
6767
${children[1].props.className}`),
6868
})}
6969
</Transition>

tailwind.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ module.exports = {
4242
...defaultTheme.fontFamily.sans,
4343
],
4444
},
45-
fontSize: {
46-
px: "1.0625rem",
47-
},
48-
letterSpacing: {
49-
px: "0.0125em",
50-
},
5145
opacity: {
5246
90: "0.90",
5347
95: "0.95",

0 commit comments

Comments
 (0)