diff --git a/src/app.css b/src/app.scss similarity index 74% rename from src/app.css rename to src/app.scss index 15766a6..275d04e 100644 --- a/src/app.css +++ b/src/app.scss @@ -4,7 +4,7 @@ box-sizing: inherit; margin: 0; padding: 0; - font-family: "Manrope", sans-serif; + font-family: var(--main-font); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } @@ -29,7 +29,7 @@ body { .wrapper { margin-inline: auto; - width: min(95%, 80rem); + width: min(90%, 80rem); margin-top: 7rem; } @@ -37,18 +37,20 @@ body { --main-font: "Manrope", sans-serif; --mono-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; --white: hsl(206, 100%, 94%); - --accent-color: #9fd5ff; - --accent-color-two: hsl(208, 29%, 82%); - --accent-low-opacity: #9ed7ff50; + --accent-color: hsl(206, 100%, 81%); + --accent-color-two: hsl(208, 28%, 82%); + --accent-low-opacity: hsla(205, 100%, 81%, 0.1); --bg-color: hsl(252, 10%, 11%); - --grey-one: #252b31; - --grey-two: #28313b; - --grey-three: #373e4d; - --grey-four: #182244; + --grey-one: hsl(210, 14%, 17%); + --grey-two: hsl(212, 19%, 19%); + --grey-three: hsl(221, 17%, 26%); + --grey-four: hsl(226, 48%, 18%); --grey-five: hsl(208, 30%, 75%); - --grey-six: #202126; + --grey-six: hsl(230, 7%, 13%); --grey-seven: hsl(240, 9%, 13.5%); --grey-eight: hsla(207, 30%, 75%, 0.577); + --grey-nine: hsla(240, 6%, 7%, 0.3); + --grey-ten: hsl(230, 9.5%, 17%); --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94); } @@ -63,14 +65,13 @@ h1 { line-height: 4rem; font-size: 3.5rem; font-weight: 700; - letter-spacing: -0.03em; + letter-spacing: -0.025em; } h2 { color: var(--grey-five); - - font-size: 2.25rem; - letter-spacing: -0.05rem; + font-size: 2.5rem; + letter-spacing: -0.04rem; font-weight: 600; } @@ -104,7 +105,24 @@ h6 { p { color: var(--grey-five); font-weight: 400; - font-size: 1rem; + font-size: 0.95rem; + letter-spacing: 0.02rem; + line-height: 1.875rem; +} + +@media screen and (max-width: 768px) { + h1 { + font-size: 2.6rem; + line-height: 3.75rem; + } + + h2 { + font-size: 2rem; + } + + p { + font-size: 0.875rem; + } } /*---------------*/ @@ -139,7 +157,6 @@ input { color: var(--accent-color-two); } - input:focus { outline: 1px solid var(--accent-color); -} \ No newline at end of file +} diff --git a/src/data/api/index.ts b/src/data/api/index.ts index 9a47ae9..ea640e1 100644 --- a/src/data/api/index.ts +++ b/src/data/api/index.ts @@ -97,7 +97,7 @@ export class API implements Readable { } // API Endpoints -import type { Patch, Repository, Tool } from '../types'; +import type { Patch, Repository, Tool } from '../../utils/types'; import { dev_log } from '$lib/utils'; export type ReposData = Repository[]; diff --git a/src/lib/components/atoms/HeroImage.svelte b/src/layout/Hero/HeroImage.svelte similarity index 92% rename from src/lib/components/atoms/HeroImage.svelte rename to src/layout/Hero/HeroImage.svelte index 2c810b7..d1f3e02 100644 --- a/src/lib/components/atoms/HeroImage.svelte +++ b/src/layout/Hero/HeroImage.svelte @@ -1,5 +1,5 @@ diff --git a/src/lib/components/atoms/SocialButton.svelte b/src/layout/Hero/SocialButton.svelte similarity index 100% rename from src/lib/components/atoms/SocialButton.svelte rename to src/layout/Hero/SocialButton.svelte diff --git a/src/lib/components/molecules/SocialHost.svelte b/src/layout/Hero/SocialHost.svelte similarity index 92% rename from src/lib/components/molecules/SocialHost.svelte rename to src/layout/Hero/SocialHost.svelte index baecf40..c6074df 100644 --- a/src/lib/components/molecules/SocialHost.svelte +++ b/src/layout/Hero/SocialHost.svelte @@ -1,5 +1,5 @@