Skip to content

Commit 112e4e9

Browse files
authored
Merge pull request realstoman#26 from realstoman/add-fonts-fix-darkmode-and-ui
Add new fonts, fix dark-mode and UI updates
2 parents 2768f6c + 731ee83 commit 112e4e9

File tree

79 files changed

+17299
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+17299
-119
lines changed

package-lock.json

Lines changed: 16878 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/css/app.css

Lines changed: 204 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,211 @@
1212
/* Custom Styles Below */
1313

1414
body {
15-
font-family: 'Poppins', sans-serif !important;
15+
font-family: 'GeneralSans-Regular';
1616
}
1717

18-
h1,
19-
h2,
20-
h3,
21-
h4 {
22-
font-family: 'Poppins', sans-serif !important;
23-
font-weight: 500 !important;
18+
/* Theme Colors */
19+
20+
/* Fonts */
21+
@font-face {
22+
font-family: 'GeneralSans-Variable';
23+
src: url('../fonts/GeneralSans-Variable.woff2') format('woff2'),
24+
url('../fonts/GeneralSans-Variable.woff') format('woff'),
25+
url('../fonts/GeneralSans-Variable.ttf') format('truetype');
26+
font-weight: 200 700;
27+
font-display: swap;
28+
font-style: normal;
2429
}
2530

26-
/* Theme Colors */
31+
.font-general-variable {
32+
font-family: 'GeneralSans-Variable';
33+
}
34+
35+
@font-face {
36+
font-family: 'GeneralSans-VariableItalic';
37+
src: url('../fonts/GeneralSans-VariableItalic.woff2') format('woff2'),
38+
url('../fonts/GeneralSans-VariableItalic.woff') format('woff'),
39+
url('../fonts/GeneralSans-VariableItalic.ttf') format('truetype');
40+
font-weight: 200 700;
41+
font-display: swap;
42+
font-style: italic;
43+
}
44+
45+
.font-general-variable-italic {
46+
font-family: 'GeneralSans-VariableItalic';
47+
}
48+
49+
@font-face {
50+
font-family: 'GeneralSans-Extralight';
51+
src: url('../fonts/GeneralSans-Extralight.woff2') format('woff2'),
52+
url('../fonts/GeneralSans-Extralight.woff') format('woff'),
53+
url('../fonts/GeneralSans-Extralight.ttf') format('truetype');
54+
font-weight: 200;
55+
font-display: swap;
56+
font-style: normal;
57+
}
58+
59+
.font-general-extralight {
60+
font-family: 'GeneralSans-Extralight';
61+
}
62+
63+
@font-face {
64+
font-family: 'GeneralSans-ExtralightItalic';
65+
src: url('../fonts/GeneralSans-ExtralightItalic.woff2') format('woff2'),
66+
url('../fonts/GeneralSans-ExtralightItalic.woff') format('woff'),
67+
url('../fonts/GeneralSans-ExtralightItalic.ttf') format('truetype');
68+
font-weight: 200;
69+
font-display: swap;
70+
font-style: italic;
71+
}
72+
73+
.font-general-extralight-italic {
74+
font-family: 'GeneralSans-ExtralightItalic';
75+
}
76+
77+
@font-face {
78+
font-family: 'GeneralSans-Light';
79+
src: url('../fonts/GeneralSans-Light.woff2') format('woff2'),
80+
url('../fonts/GeneralSans-Light.woff') format('woff'),
81+
url('../fonts/GeneralSans-Light.ttf') format('truetype');
82+
font-weight: 300;
83+
font-display: swap;
84+
font-style: normal;
85+
}
86+
87+
.font-general-light {
88+
font-family: 'GeneralSans-Light';
89+
}
90+
91+
@font-face {
92+
font-family: 'GeneralSans-LightItalic';
93+
src: url('../fonts/GeneralSans-LightItalic.woff2') format('woff2'),
94+
url('../fonts/GeneralSans-LightItalic.woff') format('woff'),
95+
url('../fonts/GeneralSans-LightItalic.ttf') format('truetype');
96+
font-weight: 300;
97+
font-display: swap;
98+
font-style: italic;
99+
}
100+
101+
.font-general-light-italic {
102+
font-family: 'GeneralSans-LightItalic';
103+
}
104+
105+
@font-face {
106+
font-family: 'GeneralSans-Regular';
107+
src: url('../fonts/GeneralSans-Regular.woff2') format('woff2'),
108+
url('../fonts/GeneralSans-Regular.woff') format('woff'),
109+
url('../fonts/GeneralSans-Regular.ttf') format('truetype');
110+
font-weight: 400;
111+
font-display: swap;
112+
font-style: normal;
113+
}
114+
115+
.font-general-regular {
116+
font-family: 'GeneralSans-Regular';
117+
}
118+
119+
@font-face {
120+
font-family: 'GeneralSans-Italic';
121+
src: url('../fonts/GeneralSans-Italic.woff2') format('woff2'),
122+
url('../fonts/GeneralSans-Italic.woff') format('woff'),
123+
url('../fonts/GeneralSans-Italic.ttf') format('truetype');
124+
font-weight: 400;
125+
font-display: swap;
126+
font-style: italic;
127+
}
128+
129+
.font-general-italic {
130+
font-family: 'GeneralSans-Italic';
131+
}
132+
133+
@font-face {
134+
font-family: 'GeneralSans-Medium';
135+
src: url('../fonts/GeneralSans-Medium.woff2') format('woff2'),
136+
url('../fonts/GeneralSans-Medium.woff') format('woff'),
137+
url('../fonts/GeneralSans-Medium.ttf') format('truetype');
138+
font-weight: 500;
139+
font-display: swap;
140+
font-style: normal;
141+
}
142+
143+
.font-general-medium {
144+
font-family: 'GeneralSans-Medium';
145+
}
146+
147+
@font-face {
148+
font-family: 'GeneralSans-MediumItalic';
149+
src: url('../fonts/GeneralSans-MediumItalic.woff2') format('woff2'),
150+
url('../fonts/GeneralSans-MediumItalic.woff') format('woff'),
151+
url('../fonts/GeneralSans-MediumItalic.ttf') format('truetype');
152+
font-weight: 500;
153+
font-display: swap;
154+
font-style: italic;
155+
}
156+
157+
.font-general-medium-italic {
158+
font-family: 'GeneralSans-MediumItalic';
159+
}
160+
161+
@font-face {
162+
font-family: 'GeneralSans-Semibold';
163+
src: url('../fonts/GeneralSans-Semibold.woff2') format('woff2'),
164+
url('../fonts/GeneralSans-Semibold.woff') format('woff'),
165+
url('../fonts/GeneralSans-Semibold.ttf') format('truetype');
166+
font-weight: 600;
167+
font-display: swap;
168+
font-style: normal;
169+
}
170+
171+
.font-general-semibold {
172+
font-family: 'GeneralSans-Semibold';
173+
}
174+
175+
@font-face {
176+
font-family: 'GeneralSans-SemiboldItalic';
177+
src: url('../fonts/GeneralSans-SemiboldItalic.woff2') format('woff2'),
178+
url('../fonts/GeneralSans-SemiboldItalic.woff') format('woff'),
179+
url('../fonts/GeneralSans-SemiboldItalic.ttf') format('truetype');
180+
font-weight: 600;
181+
font-display: swap;
182+
font-style: italic;
183+
}
184+
185+
.font-general-semibold-italic {
186+
font-family: 'GeneralSans-SemiboldItalic';
187+
}
188+
189+
@font-face {
190+
font-family: 'GeneralSans-Bold';
191+
src: url('../fonts/GeneralSans-Bold.woff2') format('woff2'),
192+
url('../fonts/GeneralSans-Bold.woff') format('woff'),
193+
url('../fonts/GeneralSans-Bold.ttf') format('truetype');
194+
font-weight: 700;
195+
font-display: swap;
196+
font-style: normal;
197+
}
198+
199+
.font-general-bold {
200+
font-family: 'GeneralSans-Bold';
201+
}
202+
203+
@font-face {
204+
font-family: 'GeneralSans-BoldItalic';
205+
src: url('../fonts/GeneralSans-BoldItalic.woff2') format('woff2'),
206+
url('../fonts/GeneralSans-BoldItalic.woff') format('woff'),
207+
url('../fonts/GeneralSans-BoldItalic.ttf') format('truetype');
208+
font-weight: 700;
209+
font-display: swap;
210+
font-style: italic;
211+
}
212+
213+
.font-general-bold-italic {
214+
font-family: 'GeneralSans-BoldItalic';
215+
}
216+
217+
/* Active class for navigation menu */
218+
.router-link-active,
219+
.router-link-exact-active {
220+
@apply text-indigo-800;
221+
@apply text-indigo-600 dark:text-indigo-300;
222+
}

src/assets/fonts/GeneralSans-Bold.eot

62.5 KB
Binary file not shown.

src/assets/fonts/GeneralSans-Bold.ttf

62.3 KB
Binary file not shown.
27.2 KB
Binary file not shown.
20.7 KB
Binary file not shown.
64.7 KB
Binary file not shown.
64.5 KB
Binary file not shown.
28.2 KB
Binary file not shown.
21.7 KB
Binary file not shown.
63 KB
Binary file not shown.
62.9 KB
Binary file not shown.
26.3 KB
Binary file not shown.
20.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
66.5 KB
Binary file not shown.
66.3 KB
Binary file not shown.
30.9 KB
Binary file not shown.
23.4 KB
Binary file not shown.
65.1 KB
Binary file not shown.
64.9 KB
Binary file not shown.
29.6 KB
Binary file not shown.
22.7 KB
Binary file not shown.
66.8 KB
Binary file not shown.
66.6 KB
Binary file not shown.
31 KB
Binary file not shown.
23.5 KB
Binary file not shown.
64.6 KB
Binary file not shown.
64.4 KB
Binary file not shown.
29.5 KB
Binary file not shown.
22.4 KB
Binary file not shown.
66.6 KB
Binary file not shown.
66.4 KB
Binary file not shown.
30.9 KB
Binary file not shown.
23.3 KB
Binary file not shown.
64.9 KB
Binary file not shown.
64.7 KB
Binary file not shown.
29.6 KB
Binary file not shown.
22.5 KB
Binary file not shown.
64.4 KB
Binary file not shown.
64.2 KB
Binary file not shown.
30 KB
Binary file not shown.
22.6 KB
Binary file not shown.
66.3 KB
Binary file not shown.
66.1 KB
Binary file not shown.
31.4 KB
Binary file not shown.
Binary file not shown.
108 KB
Binary file not shown.
108 KB
Binary file not shown.
31.8 KB
Binary file not shown.
37.2 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
33.2 KB
Binary file not shown.
Binary file not shown.

src/assets/images/logo-dark.svg

Lines changed: 41 additions & 1 deletion

src/assets/images/logo-light.svg

Lines changed: 41 additions & 1 deletion

src/components/HireMeModal.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- Hire me modal -->
33
<transition name="fade">
4-
<div v-show="modal" class="fixed inset-0 z-30">
4+
<div v-show="modal" class="font-general-medium fixed inset-0 z-30">
55
<!-- Modal body background as backdrop -->
66
<div
77
v-show="modal"
@@ -24,7 +24,7 @@
2424
class="modal-header flex justify-between gap-10 p-5 border-b border-ternary-light dark:border-ternary-dark"
2525
>
2626
<h5
27-
class=" text-primary-dark dark:text-primary-light text-2xl"
27+
class=" text-primary-dark dark:text-primary-light text-xl"
2828
>
2929
What project are you looking for?
3030
</h5>
@@ -90,7 +90,8 @@
9090
</div>
9191

9292
<div class="mt-6 pb-4 sm:pb-1">
93-
<button
93+
<Button
94+
title="Send Request"
9495
class="px-4
9596
sm:px-6
9697
py-2
@@ -104,16 +105,15 @@
104105
focus:ring-1 focus:ring-indigo-900"
105106
type="submit"
106107
aria-label="Submit Request"
107-
>
108-
Send Request
109-
</button>
108+
/>
110109
</div>
111110
</form>
112111
</div>
113112
<div
114113
class="modal-footer mt-2 sm:mt-0 py-5 px-8 border0-t text-right"
115114
>
116-
<button
115+
<Button
116+
title="Close"
117117
class=" px-4
118118
sm:px-6
119119
py-2 bg-gray-600 text-primary-light hover:bg-ternary-dark dark:bg-gray-200 dark:text-secondary-dark dark:hover:bg-primary-light
@@ -123,9 +123,7 @@
123123
focus:ring-1 focus:ring-indigo-900"
124124
@click="showModal()"
125125
aria-label="Close Modal"
126-
>
127-
Close
128-
</button>
126+
/>
129127
</div>
130128
</div>
131129
</div>
@@ -137,8 +135,10 @@
137135

138136
<script>
139137
import feather from 'feather-icons';
138+
import Button from './reusable/Button.vue';
140139
export default {
141140
props: ['showModal', 'modal', 'categories'],
141+
components: { Button },
142142
data() {
143143
return {};
144144
},

0 commit comments

Comments
 (0)