Skip to content

Commit

Permalink
icons included into bridge. by default
Browse files Browse the repository at this point in the history
  • Loading branch information
solvedDev committed Aug 6, 2019
1 parent be22915 commit 7695d19
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 38 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bridge",
"productName": "bridge.",
"version": "0.13.1",
"version": "0.13.2",
"author": "solvedDev <[email protected]>",
"description": "A powerful add-on editor",
"license": "GNU",
Expand Down Expand Up @@ -54,7 +54,7 @@
}
},
"dependencies": {
"@mdi/font": "^3.3.92",
"@mdi/font": "^3.9.95",
"clean-css": "^4.2.1",
"comment-json": "^1.1.3",
"dataurl": "^0.1.0",
Expand Down
3 changes: 1 addition & 2 deletions src/renderer/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@
</script>

<style>
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons');
@import url('https://cdn.materialdesignicons.com/2.5.94/css/materialdesignicons.min.css');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
/* Global CSS */
html {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/AppMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</v-list-tile-content>

<v-list-tile-action>
<v-icon small>keyboard_arrow_right</v-icon>
<v-icon small>mdi-chevron-right</v-icon>
</v-list-tile-action>
</v-list-tile>

Expand Down
10 changes: 5 additions & 5 deletions src/renderer/components/AppToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

<v-toolbar-items>
<v-btn small icon flat @click.stop="minWindow">
<v-icon small>minimize</v-icon>
<v-icon small>mdi-minus</v-icon>
</v-btn>
<v-btn small icon flat @click.stop="maxWindow">
<v-icon small>add</v-icon>
<v-icon small>mdi-plus</v-icon>
</v-btn>
<v-btn small icon flat @click.stop="closeWindow" class="last-btn">
<v-icon small>close</v-icon>
<v-icon small>mdi-close</v-icon>
</v-btn>
</v-toolbar-items>
</v-toolbar>
Expand All @@ -26,8 +26,8 @@
import { remote } from "electron";
import MouseTrap from "mousetrap";
import KeyManager from "../scripts/appMenu/KeyManager";
import TabSystem from '../scripts/TabSystem';
import ConfirmWindow from '../scripts/commonWindows/Confirm';
import TabSystem from '../scripts/TabSystem';
import ConfirmWindow from '../scripts/commonWindows/Confirm';
export default {
name: "app-toolbar",
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/components/editor_shell/JsonEditor/ObjectKey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<v-icon
v-if="inversed_arrows && node_context.open || !inversed_arrows && !node_context.open"
small
>keyboard_arrow_down</v-icon>
>mdi-chevron-down</v-icon>
<v-icon
v-if="!inversed_arrows && node_context.open || inversed_arrows && !node_context.open"
small
>keyboard_arrow_up</v-icon>
>mdi-chevron-up</v-icon>
</v-btn>

<v-tooltip
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/editor_shell/TabSystem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<span>{{ file.file_name }}</span>
</v-tooltip>

<v-btn @click.stop="closeTab(i)" flat icon small><v-icon small>close</v-icon></v-btn>
<v-btn @click.stop="closeTab(i)" flat icon small><v-icon small>mdi-close</v-icon></v-btn>
</v-tab>
</v-tabs>
</v-layout>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/plugin_install/CloudPlugin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<v-list-tile-action-text>{{ plugin.version }}</v-list-tile-action-text>
<v-tooltip :right="!is_fullscreen" :left="is_fullscreen" v-if="!is_update">
<v-btn slot="activator" @click.stop="download()" :disabled="!is_compatible" :loading="loading" icon>
<v-icon>cloud_download</v-icon>
<v-icon>mdi-cloud-download</v-icon>
</v-btn>
<span>Download</span>
</v-tooltip>
Expand Down
10 changes: 5 additions & 5 deletions src/renderer/components/plugin_install/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<span class="window-title">Extensions</span>
<v-spacer></v-spacer>
<v-btn small icon @click.stop="is_fullscreen = !is_fullscreen">
<v-icon small>add</v-icon>
<v-icon small>mdi-plus</v-icon>
</v-btn>
<v-btn small icon @click.stop="is_menu_open = false" class="last-btn">
<v-icon small>close</v-icon>
<v-icon small>mdi-close</v-icon>
</v-btn>
</v-toolbar>
</v-card-title>
Expand All @@ -31,17 +31,17 @@
>
<v-btn flat value="active">
<span>Active</span>
<v-icon>bookmark</v-icon>
<v-icon>mdi-bookmark</v-icon>
</v-btn>

<v-btn flat value="available">
<span>Available</span>
<v-icon>apps</v-icon>
<v-icon>mdi-apps</v-icon>
</v-btn>

<v-btn flat value="web">
<span>Web</span>
<v-icon>cloud</v-icon>
<v-icon>mdi-cloud</v-icon>
</v-btn>
</v-bottom-nav>
</v-card-actions>
Expand Down
10 changes: 5 additions & 5 deletions src/renderer/components/sidebar/content/Plugins.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<v-toolbar flat height="30px">
<v-tooltip bottom class="first">
<v-btn slot="activator" @click.stop="is_menu_open = true" class="first" small icon>
<v-icon small>settings</v-icon>
<v-icon small>mdi-settings</v-icon>
</v-btn>
<span>Manage</span>
</v-tooltip>
Expand All @@ -27,7 +27,7 @@
flat
icon
small>
<v-icon small>info</v-icon>
<v-icon small>mdi-information</v-icon>
</v-btn>
<span>More...</span>
</v-tooltip>
Expand All @@ -50,20 +50,20 @@

<v-tooltip right v-if="plugin.link != undefined">
<v-icon @click.stop.native="openLink(plugin.link)" slot="activator" color="primary">
language
mdi-earth
</v-icon>
<span>More...</span>
</v-tooltip>

<v-tooltip right v-if="!uninstalled_plugins().includes(plugin.id)">
<v-icon slot="activator" color="success">
done
mdi-check
</v-icon>
<span>Active</span>
</v-tooltip>
<v-tooltip right v-else>
<v-icon slot="activator" color="error">
close
mdi-close
</v-icon>
<span>Inactive</span>
</v-tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div :style="element_style" :class="element_class" v-else>
<details v-for="(file) in only_folders" :open="file.is_open" :key="file.absolutePath + file.is_open">
<summary @click="openDir(file.path)" v-ripple>
<v-icon class="open" small>folder_open</v-icon><v-icon class="closed" small>folder</v-icon>
<v-icon class="open" small>mdi-folder-open</v-icon><v-icon class="closed" small>mdi-folder</v-icon>
<span class="folder"> {{ file.name }}</span>
</summary>
<file-displayer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-toolbar flat height="30px">
<v-tooltip bottom class="first">
<v-btn icon flat @click.stop="refresh" slot="activator" small>
<v-icon small>refresh</v-icon>
<v-icon small>mdi-refresh</v-icon>
</v-btn>
<span>Refresh</span>
</v-tooltip>
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/components/sidebar/content/explorer/Toolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-toolbar flat height="30px">
<v-tooltip bottom class="first">
<v-btn icon flat @click.stop="refresh" slot="activator" small>
<v-icon small>refresh</v-icon>
<v-icon small>mdi-refresh</v-icon>
</v-btn>
<span>Refresh</span>
</v-tooltip>
Expand Down Expand Up @@ -38,7 +38,7 @@
<v-spacer></v-spacer>
<v-tooltip bottom>
<v-btn icon flat @click.stop="" slot="activator" small>
<v-icon small>more_vert</v-icon>
<v-icon small>mdi-dots-vertical</v-icon>
</v-btn>
<span>More...</span>
</v-tooltip>
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/components/windowFactory/Window.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
:class="has_close_button ? '' : 'last-btn'"
v-if="has_maximize_button"
>
<v-icon small>add</v-icon>
<v-icon small>mdi-plus</v-icon>
</v-btn>
<v-btn
small
Expand All @@ -38,7 +38,7 @@
class="last-btn"
v-if="has_close_button"
>
<v-icon small>close</v-icon>
<v-icon small>mdi-close</v-icon>
</v-btn>
</v-toolbar>

Expand Down
4 changes: 3 additions & 1 deletion src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import "vuetify/dist/vuetify.css";
import VueCodeMirror from "vue-codemirror";
import App from "./App";
import store from "./store";
import "@mdi/font/css/materialdesignicons.css";

Vue.use(Vuetify, {
options: {
customProperties: true
}
},
iconfont: 'mdi'
});
Vue.use(VueCodeMirror);

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/scripts/constants/app_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
* Version number is in a dedicated file because it's also used by the main thread.
* Otherwise, any changes to the main constant file would completely restart "bridge." (in development mode).
*/
export default "v0.13.1";
export default "v0.13.2";
4 changes: 2 additions & 2 deletions src/renderer/store/modules/SidebarMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const state = {
items: [
{
title: "Explorer",
icon: "folder",
icon: "mdi-folder",
menu_type: "explorer"
},
{
Expand All @@ -23,7 +23,7 @@ const state = {
},
{
title: "Extensions",
icon: "extension",
icon: "mdi-puzzle",
menu_type: "extensions"
}
],
Expand Down
1 change: 1 addition & 0 deletions src/renderer/store/modules/WindowFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const mutations = {
if(state.elements.length > index && state.elements[index].id === id) state.elements.splice(index, 1);
},
resetPluginWindows(state) {
//Filter out plugin windows and keep native windows
state.elements = state.elements.filter(w => !w.is_plugin);
}
}
Expand Down

0 comments on commit 7695d19

Please sign in to comment.