1+ 'use client'
2+
3+ import { PT_Sans } from 'next/font/google'
14import { createGlobalStyle , css } from 'styled-components'
25
6+ const ptSans = PT_Sans ( {
7+ subsets : [ 'latin' ] ,
8+ weight : [ '400' , '700' ] ,
9+ fallback : [ ]
10+ } )
11+
312const GlobalStyle = createGlobalStyle `${ css `
413 :root {
514 --color-background-hsl: 217 20% 98%;
@@ -14,16 +23,19 @@ const GlobalStyle = createGlobalStyle`${css`
1423
1524 --max-width: 1400px;
1625
17- --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
18- 'Helvetica Neue', sans-serif;
19- --font-family-title: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
26+ --font-family:
27+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
28+ sans-serif;
29+ --font-family-title:
30+ ${ ptSans . style . fontFamily } , -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
2031 'Open Sans', 'Helvetica Neue', sans-serif;
2132
2233 --border-radius-sm: 0.25rem;
2334 --border-radius-md: 0.375rem;
2435 --border-radius-lg: 0.625rem;
2536
26- --shadow-md: 0.3px 0.5px 0.7px hsl(var(--color-shadow-hsl) / 0.21),
37+ --shadow-md:
38+ 0.3px 0.5px 0.7px hsl(var(--color-shadow-hsl) / 0.21),
2739 0.8px 1.6px 2.1px -0.7px hsl(var(--color-shadow-hsl) / 0.23),
2840 1.9px 3.7px 5px -1.3px hsl(var(--color-shadow-hsl) / 0.26),
2941 4.3px 8.7px 11.6px -2px hsl(var(--color-shadow-hsl) / 0.29);
0 commit comments