Skip to content

Commit

Permalink
add --font custom property #662
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed May 20, 2021
1 parent 818f17e commit 50104fb
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ js/jquery.terminal.js binary
css/jquery.terminal-[0-9.]* binary
css/jquery.terminal.min.css binary
css/jquery.terminal.css binary
package-lock.json binary
css/*map binary
js/*map binary
__tests__/*.ans binary
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 2.24.0
### Features
* add `terminal::typing` API method
* add `--font` custom property [#662](https://github.com/jcubic/jquery.terminal/issues/662)

## 2.23.2
### Bugfix
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal-2.23.2.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2021 Jakub Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Sat, 24 Apr 2021 07:46:03 +0000
* Date: Thu, 20 May 2021 17:14:55 +0000
*/

.terminal .terminal-output .format, .cmd .format,
Expand Down Expand Up @@ -211,8 +211,8 @@ body.full-screen-terminal .terminal {
.terminal-output > :not(.raw) a,
.cmd,
.cmd span:not(.fas):not(.far):not(.fa) {
/*font-family: FreeMono, monospace; this don't work on Android */
font-family: monospace;
font-family: var(--font, monospace);
}
.terminal,
.cmd {
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal-2.23.2.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/jquery.terminal-src.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ body.full-screen-terminal .terminal {
.terminal-output > :not(.raw) a,
.cmd,
.cmd span:not(.fas):not(.far):not(.fa) {
/*font-family: FreeMono, monospace; this don't work on Android */
font-family: monospace;
font-family: var(--font, monospace);
}
.terminal,
.cmd {
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2021 Jakub Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Sat, 24 Apr 2021 07:46:03 +0000
* Date: Thu, 20 May 2021 17:14:55 +0000
*/

.terminal .terminal-output .format, .cmd .format,
Expand Down Expand Up @@ -211,8 +211,8 @@ body.full-screen-terminal .terminal {
.terminal-output > :not(.raw) a,
.cmd,
.cmd span:not(.fas):not(.far):not(.fa) {
/*font-family: FreeMono, monospace; this don't work on Android */
font-family: monospace;
font-family: var(--font, monospace);
}
.terminal,
.cmd {
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/jquery.terminal.min.css.map

Large diffs are not rendered by default.

0 comments on commit 50104fb

Please sign in to comment.