add minus and open-in-new

This commit is contained in:
Jiiks 2018-02-03 02:36:05 +02:00
parent 4d716439b6
commit 801235e50b
4 changed files with 59 additions and 8 deletions

View File

@ -30,17 +30,12 @@
<script> <script>
import { shell } from 'electron'; import { shell } from 'electron';
import { ClientIPC } from 'common'; import { ClientIPC } from 'common';
import MiOpen from 'vue-material-design-icons/open-in-new.vue'; import { MiOpenInNew, MiMinus } from '../../common';
import MiMinus from 'vue-material-design-icons/minus.vue';
export default { export default {
props: [ props: ['setting', 'change'],
'setting',
'change'
],
components: { components: {
MiOpen, MiOpenInNew, MiMinus
MiMinus
}, },
methods: { methods: {
async openDialog(e) { 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 MiGithubCircle } from './materialicons/GithubCircle.vue';
export { default as MiWeb } from './materialicons/Web.vue'; export { default as MiWeb } from './materialicons/Web.vue';
export { default as MiClose } from './materialicons/Close.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>