feat(11): adding font from google fonts

This commit is contained in:
efim 2023-06-26 14:03:42 +00:00
parent 88fe55bf45
commit 57e0347c53
2 changed files with 7 additions and 0 deletions

View File

@ -104,6 +104,10 @@ object Page {
content := "width=device-width, initial-scale=1.0" content := "width=device-width, initial-scale=1.0"
), ),
tags2.title("Frontend Mentor | Single Price Grid Component"), tags2.title("Frontend Mentor | Single Price Grid Component"),
link(
href := "https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap",
rel := "stylesheet",
),
link( link(
rel := "icon", rel := "icon",
`type` := "image/png", `type` := "image/png",

View File

@ -3,6 +3,9 @@ module.exports = {
content: ["./src/**/*.scala"], content: ["./src/**/*.scala"],
theme: { theme: {
extend: { extend: {
fontFamily: {
'sans': ['Karla', 'sans-serif']
},
colors: { colors: {
'primary-cyan': 'hsl(179, 62%, 43%)', 'primary-cyan': 'hsl(179, 62%, 43%)',
'primary-yellow': 'hsl(71, 73%, 54%)', 'primary-yellow': 'hsl(71, 73%, 54%)',