Merge pull request #75 from JsSucks/ui

added icons
This commit is contained in:
Alexei Stukov 2018-02-03 02:41:48 +02:00 committed by GitHub
commit 2f680a9a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 59 additions and 8 deletions

View File

@ -30,17 +30,12 @@
<script>
import { shell } from 'electron';
import { ClientIPC } from 'common';
import MiOpen from 'vue-material-design-icons/open-in-new.vue';
import MiMinus from 'vue-material-design-icons/minus.vue';
import { MiOpenInNew, MiMinus } from '../../common';
export default {
props: [
'setting',
'change'
],
props: ['setting', 'change'],
components: {
MiOpen,
MiMinus
MiOpenInNew, MiMinus
},
methods: {
async openDialog(e) {

View File

@ -5,3 +5,5 @@ export { default as MiDelete } from './materialicons/Delete.vue';
export { default as MiGithubCircle } from './materialicons/GithubCircle.vue';
export { default as MiWeb } from './materialicons/Web.vue';
export { default as MiClose } from './materialicons/Close.vue';
export { default as MiMinus } from './materialicons/Minus.vue';
export { default as MiOpenInNew } from './materialicons/OpenInNew.vue';

View File

@ -0,0 +1,27 @@
/**
* BetterDiscord Material Design Icon
* Copyright (c) 2015-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks
* All rights reserved.
* https://betterdiscord.net
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* Material Design Icons
* Copyright (c) 2014 Google
* Apache 2.0 LICENSE
* https://www.apache.org/licenses/LICENSE-2.0.txt
*/
<template>
<span class="bd-material-design-icon">
<svg :width="size || 24" :height="size || 24" viewBox="0 0 24 24">
<path d="M19,13H5V11H19V13Z"></path>
</svg>
</span>
</template>
<script>
export default {
props: ['size']
}
</script>

View File

@ -0,0 +1,27 @@
/**
* BetterDiscord Material Design Icon
* Copyright (c) 2015-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks
* All rights reserved.
* https://betterdiscord.net
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* Material Design Icons
* Copyright (c) 2014 Google
* Apache 2.0 LICENSE
* https://www.apache.org/licenses/LICENSE-2.0.txt
*/
<template>
<span class="bd-material-design-icon">
<svg :width="size || 24" :height="size || 24" viewBox="0 0 24 24">
<path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V12H19V19Z"></path>
</svg>
</span>
</template>
<script>
export default {
props: ['size']
}
</script>