Skip to content

Commit

Permalink
Merge branch 'main' into faris/fun-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
farisashai authored Mar 30, 2024
2 parents 1aa7009 + 4020a81 commit 08fd09c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default function MyApp({ Component, pageProps }: AppProps) {
<>
<style jsx global>{`
* {
transition: all ease;
font-family: ${dmSans.style.fontFamily}, sans-serif;
}
`}</style>
Expand Down
8 changes: 6 additions & 2 deletions src/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ body {
margin: 0;
padding: 0;
scroll-padding-top: 4.25rem;
transition: background-color 0.3s ease;
}

/* This prevents the background from scrolling while a modal is open. */
Expand Down Expand Up @@ -67,12 +68,14 @@ label {
font-size: 100%;
margin: 0;
padding: 0;
transition: background 0.3s ease;
transition: background-color 0.3s ease;
vertical-align: baseline;
}

div,
input,
span,
form,
object,
iframe,
img,
Expand All @@ -96,12 +99,13 @@ header,
section,
summary,
mark,
main,
audio,
video {
border: 0;
margin: 0;
padding: 0;
transition: background 0.3s ease;
transition: background-color 0.3s ease;
}

a,
Expand Down
3 changes: 0 additions & 3 deletions src/styles/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,4 @@
html,
body {
background-color: var(--theme-background);
transition-duration: 0.3s;
transition-property: background-color, color, border-color, border, filter;
transition-timing-function: ease;
}

0 comments on commit 08fd09c

Please sign in to comment.