Skip to content

Commit 10cd3b0

Browse files
committed
feat: add terminal icon
1 parent d316f88 commit 10cd3b0

File tree

8 files changed

+17
-12
lines changed

8 files changed

+17
-12
lines changed

src/components/terminal/terminalManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class TerminalManager {
5454
const terminalFile = new EditorFile(terminalName, {
5555
type: "terminal",
5656
content: terminalContainer,
57-
tabIcon: "icon terminal",
57+
tabIcon: "licons terminal",
5858
render: true,
5959
});
6060

@@ -198,7 +198,7 @@ class TerminalManager {
198198
const terminalFile = new EditorFile(terminalName, {
199199
type: "terminal",
200200
content: terminalContainer,
201-
tabIcon: "icon download",
201+
tabIcon: "icon save_alt",
202202
render: true,
203203
});
204204

src/settings/mainSettings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default function mainSettings() {
9191
{
9292
key: "terminal-settings",
9393
text: "Terminal Settings",
94-
icon: "terminal",
94+
icon: "licons terminal",
9595
index: 5,
9696
},
9797
{

src/styles/main.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,6 @@ a.icon {
272272
&.foxdebug {
273273
background-image: url(https://localhost/__cdvfile_assets__/www/res/logo/favicon.ico);
274274
}
275-
&.terminal {
276-
background-image: url(https://localhost/__cdvfile_assets__/www/res/terminal.svg);
277-
}
278275

279276
&.no-icon {
280277
max-width: 5px;

src/views/menu.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</li>
3333
<li action="new-terminal">
3434
<span class="text">Terminal</span>
35-
<span class="icon code"></span>
35+
<span class="licons terminal"></span>
3636
</li>
3737
<hr>
3838
<li action="open" value="settings">

utils/extra-icons/terminal.svg

Lines changed: 6 additions & 0 deletions
Loading

www/res/icons/li-icons.ttf

240 Bytes
Binary file not shown.

www/res/icons/style.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
@font-face {
1010
font-family: "li-icon";
11-
src: url("li-icons.ttf?59d3hz") format("truetype");
11+
src: url("li-icons.ttf?6wte0b") format("truetype");
1212
font-weight: normal;
1313
font-style: normal;
1414
font-display: block;
@@ -44,18 +44,21 @@
4444
-moz-osx-font-smoothing: grayscale;
4545
}
4646

47-
.licons.verified:before {
47+
.licons.terminal:before {
4848
content: "\e900";
4949
}
50-
.licons.tag:before {
50+
.licons.cart:before {
5151
content: "\e901";
5252
}
5353
.licons.scale:before {
5454
content: "\e902";
5555
}
56-
.licons.cart:before {
56+
.licons.tag:before {
5757
content: "\e903";
5858
}
59+
.licons.verified:before {
60+
content: "\e904";
61+
}
5962

6063
.icon.acode:before {
6164
content: "\ea0d";

www/res/terminal.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)