-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Sigrid Elnan <[email protected]>
- Loading branch information
1 parent
ed4da4f
commit ce6a44f
Showing
12 changed files
with
511 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,102 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@font-face { | ||
font-family: "Graphik-Medium"; | ||
src: url("https://anima-uploads.s3.amazonaws.com/projects/632da9fa4f45dc45af16fa8d/fonts/graphik-medium.otf") | ||
format("opentype"); | ||
font-family: "Recoleta-Regular"; | ||
src: url(../../public/fonts/recoleta-regular.woff) format("truetype"); | ||
} | ||
|
||
@font-face { | ||
font-family: "Recoleta-Medium"; | ||
src: url(../../public/fonts/recoleta-medium.woff) format("truetype"); | ||
} | ||
|
||
@font-face { | ||
font-family: "Graphik-Regular"; | ||
src: url("https://anima-uploads.s3.amazonaws.com/projects/632da9fa4f45dc45af16fa8d/fonts/graphik-regular.otf") | ||
format("opentype"); | ||
src: url(../../public/fonts/Graphik-Regular-Web.woff2) format("truetype"); | ||
} | ||
|
||
@font-face { | ||
font-family: "Graphik-Medium"; | ||
src: url(../../public/fonts/Graphik-Medium-Web.woff2) format("truetype"); | ||
} | ||
|
||
/* TODO: Fix CSP or remove completely */ | ||
@font-face { | ||
font-family: "Arial-Bold"; | ||
src: url("https://anima-uploads.s3.amazonaws.com/projects/622cf300b3519bff6181cd8f/fonts/fontsfree-net-arial-bold.ttf") | ||
format("truetype"); | ||
} | ||
font-family: "Graphik-Semibold"; | ||
src: url(../../public/fonts/Graphik-Semibold-Web.woff2) format("truetype"); | ||
} | ||
|
||
@font-face { | ||
font-family: "Graphik-Bold"; | ||
src: url(../../public/fonts/Graphik-Bold-Web.woff2) format("truetype"); | ||
} | ||
|
||
@layer components { | ||
} | ||
|
||
@layer utilities { | ||
body { | ||
background-color: #ffffff; | ||
} | ||
|
||
h1 { | ||
font-size: 2rem; | ||
font-family: "Recoletta-Regular"; | ||
line-height: 2.5rem; | ||
} | ||
|
||
h2 { | ||
font-size: 1.625rem; | ||
font-family: "Graphik-Regular"; | ||
line-height: 2.5rem; | ||
} | ||
|
||
h3 { | ||
font-size: 1.25rem; | ||
font-family: "Graphik-Regular"; | ||
line-height: 2.5rem; | ||
} | ||
|
||
.body { | ||
font-size: 0.9rem; | ||
font-family: "Graphik-Regular"; | ||
line-height: 1rem; | ||
} | ||
|
||
.body-bold { | ||
font-size: 0.9rem; | ||
font-family: "Graphik-SemiBold"; | ||
line-height: 1rem; | ||
} | ||
|
||
.body-small { | ||
font-size: 0.75rem; | ||
font-family: "Graphik-Regular"; | ||
line-height: 1rem; | ||
} | ||
|
||
.body-small-bold { | ||
font-size: 0.75rem; | ||
font-family: "Graphik-Medium"; | ||
line-height: 1rem; | ||
} | ||
|
||
.detail { | ||
font-size: 0.625rem; | ||
font-family: "Graphik-Regular"; | ||
line-height: 1rem; | ||
} | ||
|
||
.body-large { | ||
font-size: 1rem; | ||
font-family: "Graphik-Regular"; | ||
line-height: 1.25rem; | ||
} | ||
|
||
.body-large-bold { | ||
font-size: 1rem; | ||
font-family: "Graphik-Medium"; | ||
line-height: 1.25rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
import Head from 'next/head'; | ||
import AppProviders from '../components/AppProviders'; | ||
|
||
export default function RootLayout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<html> | ||
<Head> | ||
<title>Vibes Frontend</title> | ||
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" /> | ||
</Head> | ||
<body> | ||
<AppProviders> {children}</AppProviders> | ||
</body> | ||
</html> | ||
); | ||
import "./globals.css"; | ||
import Head from "next/head"; | ||
import AppProviders from "../components/AppProviders"; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<html> | ||
<Head> | ||
<title>Vibes Frontend</title> | ||
<meta | ||
name="viewport" | ||
content="minimum-scale=1, initial-scale=1, width=device-width" | ||
/> | ||
</Head> | ||
<body> | ||
<AppProviders> {children}</AppProviders> | ||
</body> | ||
</html> | ||
); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ["./src/**/*.{js,jsx,ts,tsx}"], | ||
theme: { | ||
colors: { | ||
black: "#000000", | ||
white: "#FFFFFF", | ||
primary_default: "#423D89", | ||
primary_l3: "#ECECF3", | ||
secondary_default: "#F076A6", | ||
}, | ||
extend: {}, | ||
screens: { | ||
xs: "640px", | ||
sm: "768px", | ||
md: "1024px", | ||
lg: "1280px", | ||
xl: "1400px", | ||
}, | ||
}, | ||
plugins: [], | ||
}; |
Oops, something went wrong.