Skip to content

Commit 3520574

Browse files
author
Jens van Hellemondt
committed
🍱 updated to svg icons
1 parent d4bc528 commit 3520574

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

generator/templates/Authorisation/src/components/authorisation/LoginCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
v-model="form.email"
1818
autocomplete="username"
1919
/>
20-
<KTextField :append-icon="showPassword ? 'fa-eye-slash' : 'fa-eye'"
20+
<KTextField :append-icon="showPassword ? '$invisible' : '$visible'"
2121
:type="showPassword ? 'text' : 'password'"
2222
@click:append="showPassword = !showPassword"
2323
field="password"

generator/templates/Authorisation/src/components/authorisation/PasswordResetCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
v-model="form.email"
1919
/>
2020
<KTextField
21-
:append-icon="showPassword ? 'fa-eye-slash' : 'fa-eye'"
21+
:append-icon="showPassword ? '$invisible' : '$visible'"
2222
:type="showPassword ? 'text' : 'password'"
2323
@click:append="showPassword = !showPassword"
2424
field="password"
2525
tabindex="2"
2626
v-model="form.password"
2727
/>
2828
<KTextField
29-
:append-icon="showPassword ? 'fa-eye-slash' : 'fa-eye'"
29+
:append-icon="showPassword ? '$invisible' : '$visible'"
3030
:type="showPassword ? 'text' : 'password'"
3131
@click:append="showPassword = !showPassword"
3232
field="password"

generator/templates/Authorisation/src/views/authorisation/RegistrationVerify.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
v-model="form.email"
2222
/>
2323
<KTextField
24-
:append-icon="showPassword ? 'far fa-eye-slash' : 'far fa-eye'"
24+
:append-icon="showPassword ? '$invisible' : '$visible'"
2525
:type="showPassword ? 'text' : 'password'"
2626
@click:append="showPassword = !showPassword"
2727
field="password"
2828
tabindex="1"
2929
v-model="form.password"
3030
/>
3131
<KTextField
32-
:append-icon="showPassword ? 'far fa-eye-slash' : 'far fa-eye'"
32+
:append-icon="showPassword ? '$invisible' : '$visible'"
3333
:type="showPassword ? 'text' : 'password'"
3434
@click:append="showPassword = !showPassword"
3535
field="password"

generator/templates/Default/src/components/AppBarMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<template v-slot:activator="{ on }">
99
<v-btn class="mr-6" fab icon v-on="on">
1010
<v-avatar class="accent" size="48" title>
11-
<v-icon>fa-user</v-icon>
11+
<v-icon>$user</v-icon>
1212
</v-avatar>
1313
</v-btn>
1414
</template>

generator/templates/Default/src/components/crud/fields/KFileField.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
computed: {
4646
icon() {
4747
if (!this.previewType) {
48-
return 'fa-upload';
48+
return '$upload';
4949
}
5050
return this.getIconByType(this.previewType);
5151
},
@@ -75,13 +75,13 @@ export default {
7575
},
7676
getIconByType(type) {
7777
if (type.match('video/*')) {
78-
return 'fa-file-video';
78+
return '$fileVideo';
7979
} else if (type === 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' || type === 'application/msword') {
80-
return 'fa-file-word';
80+
return '$fileWord';
8181
} else if (type === 'application/pdf') {
82-
return 'fa-file-pdf';
82+
return '$filePdf';
8383
}
84-
return 'fa-file';
84+
return '$fileUnkown';
8585
},
8686
},
8787
};

generator/templates/Default/src/components/menu/TheMainMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
computed: {
88
items: () => [
99
{
10-
icon: 'fa-users',
10+
icon: '$users',
1111
title: 'Gebruikers',
1212
route: { name: 'users' },
1313
},

0 commit comments

Comments
 (0)