11---
22title : Getting Started
33description : This guide will help you get started with RetroUI, a retro styled UI library based on Tailwind CSS.
4- lastUpdated : 29 Sep , 2024
4+ lastUpdated : 08 Oct , 2024
55---
66
77### 1. Add the fonts
8- We are useing ` Archivo Black ` for headings and ` Share Tech ` for everything else.
8+
9+ <br />
10+
11+ We are using ` Archivo Black ` for headings and ` Share Tech ` for everything else.
912
1013Installation form Google Fonts:
11- ```
12- <link rel="preconnect" href="https://fonts.googleapis.com">
13- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
14- <link href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=Share+Tech&display=swap" rel="stylesheet">
14+
15+ ``` html
16+ <link rel =" preconnect" href =" https://fonts.googleapis.com" />
17+ <link rel =" preconnect" href =" https://fonts.gstatic.com" crossorigin />
18+ <link
19+ href =" https://fonts.googleapis.com/css2?family=Archivo+Black&family=Share+Tech&display=swap"
20+ rel =" stylesheet"
21+ />
1522```
1623
1724Save the fonts in ` global.css ` :
1825
19- ```
26+ ``` css
2027:root {
2128 --font-head : " Archivo Black" , sans-serif ;
2229 --font-sans : " Share Tech" , sans-serif ;
@@ -27,7 +34,7 @@ Save the fonts in `global.css`:
2734
2835### 2. Add the theme to your tailwind.config.js file.
2936
30- ```
37+ ``` ts
3138import type { Config } from " tailwindcss" ;
3239
3340const config = {
@@ -38,8 +45,8 @@ const config = {
3845 sans: [" var(--font-sans)" ],
3946 },
4047 boxShadow: {
41- "xs" : "1px 1px 0 0 #000",
42- "md" : "3px 3px 0 0 #000",
48+ xs : " 1px 1px 0 0 #000" ,
49+ md : " 3px 3px 0 0 #000" ,
4350 " 3xl" : " 10px 10px 0 0 #000" ,
4451 },
4552 colors: {
@@ -63,5 +70,4 @@ export default config;
6370```
6471
6572<br />
66-
67- ### 3. Now start copy-pasting the components!
73+ ### 3. Now start copy-pasting the components!
0 commit comments