Skip to content

Commit d65335f

Browse files
committed
style: included fonts and colors
1 parent df9aaf9 commit d65335f

File tree

5 files changed

+52
-94
lines changed

5 files changed

+52
-94
lines changed

app/globals.css

Lines changed: 0 additions & 77 deletions
This file was deleted.

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
<title>Nassport</title>
77
</head>
88
<body>
9+
<header class="flex items-center p-4 bg-[color:var(--primary)]">
10+
<img src="/lift_logo.png" alt="LIFT Logo" class="h-10 mr-4" />
11+
<h1 class="text-xl font-bold text-[color:var(--primary-foreground)]">
12+
Leading Inclusive Futures through Technology
13+
</h1>
14+
</header>
915
<div id="root"></div>
1016
<script type="module" src="/src/main.tsx"></script>
1117
</body>

public/lift_logo.png

3.22 KB
Loading

src/index.css

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,32 @@
1313
--popover: 0 0% 100%;
1414
--popover-foreground: 222.2 84% 4.9%;
1515

16-
--primary: 222.2 47.4% 11.2%;
17-
--primary-foreground: 210 40% 98%;
18-
19-
--secondary: 210 40% 96.1%;
20-
--secondary-foreground: 222.2 47.4% 11.2%;
21-
16+
/* Brand colours from LIFT Guidelines */
17+
--brand-pink: #d600a8;
18+
--brand-black: #ed7112;
19+
--brand-white: #ffffff;
20+
--brand-green: #29e2a3;
21+
--brand-teal: #00a7a8;
22+
--brand-blue: #2235e2;
23+
--brand-orange: #ec5d2a;
24+
--brand-yellow: #ffcb00;
25+
--brand-purple: #7900d6;
26+
--brand-darkPurple: #4d1b9b;
27+
28+
/* Set primary, secondary and accent using the brand colours */
29+
--primary: var(--brand-pink);
30+
--primary-foreground: var(--brand-white);
31+
32+
--secondary: var(--brand-black);
33+
--secondary-foreground: var(--brand-white);
34+
35+
--accent: var(--brand-blue);
36+
--accent-foreground: var(--brand-white);
37+
38+
/* Retain existing variables for muted, destructive etc. */
2239
--muted: 210 40% 96.1%;
2340
--muted-foreground: 215.4 16.3% 46.9%;
2441

25-
--accent: 210 40% 96.1%;
26-
--accent-foreground: 222.2 47.4% 11.2%;
27-
2842
--destructive: 0 84.2% 60.2%;
2943
--destructive-foreground: 210 40% 98%;
3044

@@ -45,17 +59,17 @@
4559
--popover: 222.2 84% 4.9%;
4660
--popover-foreground: 210 40% 98%;
4761

48-
--primary: 210 40% 98%;
49-
--primary-foreground: 222.2 47.4% 11.2%;
62+
--primary: var(--brand-pink);
63+
--primary-foreground: var(--brand-white);
5064

51-
--secondary: 217.2 32.6% 17.5%;
52-
--secondary-foreground: 210 40% 98%;
65+
--secondary: var(--brand-darkPurple);
66+
--secondary-foreground: var(--brand-white);
5367

5468
--muted: 217.2 32.6% 17.5%;
5569
--muted-foreground: 215 20.2% 65.1%;
5670

57-
--accent: 217.2 32.6% 17.5%;
58-
--accent-foreground: 210 40% 98%;
71+
--accent: var(--brand-blue);
72+
--accent-foreground: var(--brand-white);
5973

6074
--destructive: 0 62.8% 30.6%;
6175
--destructive-foreground: 210 40% 98%;
@@ -71,7 +85,6 @@
7185
@apply border-border;
7286
}
7387
body {
74-
@apply bg-background text-foreground;
88+
@apply bg-background text-foreground font-sans;
7589
}
7690
}
77-

tailwind.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,19 @@ export default {
4949
DEFAULT: 'hsl(var(--card))',
5050
foreground: 'hsl(var(--card-foreground))',
5151
},
52+
// LIFT Brand Colors
53+
brand: {
54+
pink: '#D600A8',
55+
black: '#ED7112',
56+
white: '#FFFFFF',
57+
green: '#29E2A3',
58+
teal: '#00A7A8',
59+
blue: '#2235E2',
60+
orange: '#EC5D2A',
61+
yellow: '#FFCB00',
62+
purple: '#7900D6',
63+
darkPurple: '#4D1B9B',
64+
},
5265
},
5366
borderRadius: {
5467
lg: 'var(--radius)',
@@ -69,6 +82,9 @@ export default {
6982
'accordion-down': 'accordion-down 0.2s ease-out',
7083
'accordion-up': 'accordion-up 0.2s ease-out',
7184
},
85+
fontFamily: {
86+
sans: ['Metropolis', 'Arial', 'sans-serif'],
87+
},
7288
},
7389
},
7490
plugins: [require('tailwindcss-animate')],

0 commit comments

Comments
 (0)