1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-30 22:46:39 -04:00

just some refactoring

This commit is contained in:
2022-03-09 14:07:06 -05:00
parent f5c8a7a21a
commit 87848cc697
26 changed files with 533 additions and 558 deletions

View File

@ -12,11 +12,10 @@ const InputStyles = css({
width: "100%",
padding: "0.8em",
margin: "0.6em 0",
border: "2px solid",
border: "2px solid $light",
borderRadius: "$rounded",
color: "$text",
backgroundColor: "$superDuperLight",
borderColor: "$light",
// light-dark theme switch fading
transition: "background 0.25s ease",

View File

@ -49,11 +49,7 @@ const NextjsLink = styled(Link, {
const ViewSourceLink = styled(Link, {
paddingBottom: "2px",
borderBottom: "1px solid",
borderColor: "$light",
// light-dark theme switch fading
transition: "border 0.25s ease",
borderBottom: "1px solid $light",
"&:hover": {
borderColor: "$kindaLight",

View File

@ -12,14 +12,12 @@ const Link = styled("a", {
current: {
true: {
marginBottom: "-0.2em",
borderBottom: "0.2em solid",
borderColor: "$linkUnderline",
borderBottom: "0.2em solid $linkUnderline",
},
false: {
"&:hover": {
marginBottom: "-0.2em",
borderBottom: "0.2em solid",
borderColor: "$kindaLight",
borderBottom: "0.2em solid $kindaLight",
},
},
},