-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link Dialog Modal Close Button is not using the specified icon library fix #130
- Loading branch information
1 parent
8a0d3c3
commit b6e29cd
Showing
6 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
import VuetifyIcon from '~/extensions/nativeExtensions/icons/VuetifyIcon' | ||
|
||
export const enum VuetifyIconsGroups { | ||
// default icons in vuetify (official material design icons) | ||
md = 'md', | ||
mdi = 'mdi', | ||
fa = 'fa', | ||
/* | ||
Для получения mdiSvg иконки, можно в RunKit запустить код: | ||
const js = require("@mdi/js") | ||
console.log(js.mdiClose) | ||
*/ | ||
mdiSvg = 'mdiSvg' | ||
} | ||
|
||
export default { | ||
defaultIconsGroup: VuetifyIconsGroups.md | ||
} | ||
|
||
export const COMMON_ICONS = { | ||
close: { | ||
[VuetifyIconsGroups.md]: new VuetifyIcon('close'), | ||
[VuetifyIconsGroups.fa]: new VuetifyIcon('fas fa-times'), | ||
[VuetifyIconsGroups.mdi]: new VuetifyIcon('mdi-close'), | ||
[VuetifyIconsGroups.mdiSvg]: new VuetifyIcon('M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters