Skip to content

Commit 38f3879

Browse files
Onatcerkorridor
authored andcommitted
change font to inter, scale down fonts, improve rounding/filter elements
1 parent e3cfc15 commit 38f3879

33 files changed

+4228
-92
lines changed

app/Http/Requests/V1/TimeEntry/TimeEntryIndexRequest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Illuminate\Contracts\Validation\Rule as RuleContract;
1616
use Illuminate\Contracts\Validation\ValidationRule;
1717
use Illuminate\Database\Eloquent\Builder;
18-
use Illuminate\Foundation\Http\FormRequest;
1918
use Illuminate\Validation\Rule;
2019
use Korridor\LaravelModelValidationRules\Rules\ExistsEloquent;
2120

public/fonts/Inter-Variable.ttf

Lines changed: 2052 additions & 0 deletions
Large diffs are not rendered by default.

public/fonts/Inter-Variable.woff2

Lines changed: 2052 additions & 0 deletions
Large diffs are not rendered by default.

public/fonts/Outfit-Bold.ttf

-54.1 KB
Binary file not shown.

public/fonts/Outfit-ExtraBold.ttf

-54 KB
Binary file not shown.

public/fonts/Outfit-Medium.ttf

-53.5 KB
Binary file not shown.

public/fonts/Outfit-Regular.ttf

-53.6 KB
Binary file not shown.

public/fonts/Outfit-SemiBold.ttf

-54.2 KB
Binary file not shown.

resources/css/app.css

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -160,30 +160,17 @@ body {
160160
}
161161

162162

163+
/* Inter Variable Font with browser compatibility considerations */
163164
@font-face {
164-
font-family: 'Outfit';
165-
src: url('/fonts/Outfit-Regular.ttf');
166-
font-weight: 400;
167-
}
168-
@font-face {
169-
font-family: 'Outfit';
170-
src: url('/fonts/Outfit-Medium.ttf');
171-
font-weight: 500;
172-
}
173-
@font-face {
174-
font-family: 'Outfit';
175-
src: url('/fonts/Outfit-SemiBold.ttf');
176-
font-weight: 600;
177-
}
178-
@font-face {
179-
font-family: 'Outfit';
180-
src: url('/fonts/Outfit-Bold.ttf');
181-
font-weight: 700;
182-
}
183-
@font-face {
184-
font-family: 'Outfit';
185-
src: url('/fonts/Outfit-ExtraBold.ttf');
186-
font-weight: 800;
165+
font-family: 'Inter';
166+
src: url('/fonts/Inter-Variable.woff2') format('woff2 supports variations'),
167+
url('/fonts/Inter-Variable.woff2') format('woff2-variations'),
168+
url('/fonts/Inter-Variable.ttf') format('truetype supports variations'),
169+
url('/fonts/Inter-Variable.ttf') format('truetype-variations');
170+
font-weight: 100 900;
171+
font-style: normal;
172+
font-display: swap;
173+
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
187174
}
188175

189176
@layer base {

resources/js/Components/Common/Reporting/ReportingChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const option = computed(() => ({
127127
fontWeight: 600,
128128
color: labelColor.value,
129129
margin: 16,
130-
fontFamily: 'Outfit, sans-serif',
130+
fontFamily: 'Inter, sans-serif',
131131
},
132132
axisTick: {
133133
lineStyle: {
@@ -139,7 +139,7 @@ const option = computed(() => ({
139139
type: 'value',
140140
axisLabel: {
141141
color: labelColor.value,
142-
fontFamily: 'Outfit, sans-serif',
142+
fontFamily: 'Inter, sans-serif',
143143
},
144144
splitLine: {
145145
lineStyle: {

0 commit comments

Comments
 (0)