Skip to content

Commit 37ae27e

Browse files
authored
Upgrade to terminal 0.7.4 (#143)
* bump to 4.5.0 * updated terminal.css to https://unpkg.com/[email protected]/dist/terminal.css * update default to match terminal version 0.7.4 * updates palettes to match 0.7.4 upstream * standardize CSS formatting * fix code block background color issue * fix figure>figcaption>p font color
1 parent 4dc149b commit 37ae27e

File tree

9 files changed

+183
-211
lines changed

9 files changed

+183
-211
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mkdocs-terminal",
3-
"version": "4.4.3",
3+
"version": "4.5.0",
44
"description": "Terminal.css theme for MkDocs",
55
"keywords": [
66
"mkdocs",
@@ -19,7 +19,7 @@
1919
},
2020
"scripts": {},
2121
"dependencies": {
22-
"terminal.css": "^0.7.2"
22+
"terminal.css": "^0.7.4"
2323
},
2424
"devDependencies": {},
2525
"engines": {

terminal/css/palettes/dark.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
1-
/*! dark.css 0.7.2 | MIT License | github.com/Gioni06/terminal.css */
1+
/*! dark.css 0.7.4 | MIT License | github.com/Gioni06/terminal.css */
22

33
:root {
44
--global-font-size: 15px;
55
--global-line-height: 1.4em;
66
--global-space: 10px;
7-
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
8-
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
9-
serif;
10-
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
11-
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
12-
serif;
7+
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
8+
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
139
--background-color: #222225;
1410
--page-width: 60em;
1511
--font-color: #e8e9ed;
1612
--invert-font-color: #222225;
17-
--primary-color: #62c4ff;
1813
--secondary-color: #a3abba;
1914
--tertiary-color: #a3abba;
15+
--primary-color: #62c4ff;
2016
--error-color: #ff3c74;
2117
--progress-bar-background: #3f3f44;
2218
--progress-bar-fill: #62c4ff;
2319
--code-bg-color: #3f3f44;
2420
--input-style: solid;
2521
--display-h1-decoration: none;
26-
}
22+
}

terminal/css/palettes/default.css

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,4 @@
1-
/*! terminal.css 0.7.2 | MIT License | github.com/Gioni06/terminal.css */
1+
/*! terminal.css 0.7.4 | MIT License | github.com/Gioni06/terminal.css */
22

3-
:root {
4-
--global-font-size: 15px;
5-
--global-line-height: 1.4em;
6-
--global-space: 10px;
7-
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
8-
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
9-
--background-color: #fff;
10-
--page-width: 60em;
11-
--font-color: #151515;
12-
--invert-font-color: #fff;
13-
--primary-color: #1a95e0;
14-
--secondary-color: #727578;
15-
--error-color: #d20962;
16-
--progress-bar-background: #727578;
17-
--progress-bar-fill: #151515;
18-
--code-bg-color: #e8eff2;
19-
--input-style: solid;
20-
--display-h1-decoration: none;
21-
}
3+
4+
/* this document is intentionally left empty. for root configuration, see terminal/css/terminal.css */

terminal/css/palettes/gruvbox_dark.css

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99
--gb-dm-bg2: #504945;
1010
--gb-dm-bg3: #665c54;
1111
--gb-dm-bg4: #7c6f64;
12-
1312
/* Foreground */
1413
--gb-dm-fg0: #fbf1c7;
1514
--gb-dm-fg1: #ebdbb2;
1615
--gb-dm-fg2: #d5c4a1;
1716
--gb-dm-fg3: #bdae93;
1817
--gb-dm-fg4: #a89984;
19-
2018
/* Colors */
2119
--gb-dm-dark-red: #cc241d;
2220
--gb-dm-dark-green: #98971a;
@@ -26,7 +24,6 @@
2624
--gb-dm-dark-aqua: #689d6a;
2725
--gb-dm-dark-orange: #d65d0e;
2826
--gb-dm-dark-gray: #928374;
29-
3027
--gb-dm-light-red: #fb4934;
3128
--gb-dm-light-green: #b8bb26;
3229
--gb-dm-light-yellow: #fabd2f;
@@ -35,23 +32,22 @@
3532
--gb-dm-light-aqua: #8ec07c;
3633
--gb-dm-light-orange: #f38019;
3734
--gb-dm-light-gray: #a89984;
38-
39-
--global-font-size: 15px;
40-
--global-line-height: 1.4em;
41-
--global-space: 10px;
42-
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
43-
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
44-
--background-color: var(--gb-dm-bg0);
45-
--page-width: 60em;
46-
--font-color: var(--gb-dm-fg1);
47-
--invert-font-color: var(--gb-dm-bg0-hard);
48-
--primary-color: var(--gb-dm-light-yellow);
49-
--secondary-color: var(--gb-dm-fg3);
50-
--tertiary-color: var(--gb-dm-light-gray);
51-
--error-color: var(--gb-dm-light-red);
35+
--global-font-size: 15px;
36+
--global-line-height: 1.4em;
37+
--global-space: 10px;
38+
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
39+
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
40+
--background-color: var(--gb-dm-bg0);
41+
--page-width: 60em;
42+
--font-color: var(--gb-dm-fg1);
43+
--invert-font-color: var(--gb-dm-bg0-hard);
44+
--primary-color: var(--gb-dm-light-yellow);
45+
--secondary-color: var(--gb-dm-fg3);
46+
--tertiary-color: var(--gb-dm-light-gray);
47+
--error-color: var(--gb-dm-light-red);
5248
--progress-bar-background: var(--gb-dm-bg2);
53-
--progress-bar-fill: var(--gb-dm-fg2);
54-
--code-bg-color: var(--gb-dm-bg2);
55-
--input-style: solid;
56-
--display-h1-decoration: none;
49+
--progress-bar-fill: var(--gb-dm-fg2);
50+
--code-bg-color: var(--gb-dm-bg2);
51+
--input-style: solid;
52+
--display-h1-decoration: none;
5753
}

terminal/css/palettes/sans.css

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*! sans.css 0.7.2 | MIT License | github.com/Gioni06/terminal.css */
1+
/*! sans.css 0.7.4 | MIT License | github.com/Gioni06/terminal.css */
22

33
:root {
44
--global-font-size: 15px;
55
--global-line-height: 1.4em;
6-
--global-space: 10px;
7-
--font-stack: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
8-
--background-color: #fff;
9-
--page-width: 60em;
10-
--font-color: #151515;
11-
--invert-font-color: #fff;
12-
--primary-color: #1a95e0;
13-
--secondary-color: #727578;
14-
--error-color: #d20962;
15-
--progress-bar-background: #727578;
16-
--progress-bar-fill: #151515;
17-
--code-bg-color: #e8eff2;
6+
--font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
187
--input-style: solid;
19-
--display-h1-decoration: none;
208
}
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
/*! sans_dark.css 0.7.2 | MIT License | github.com/Gioni06/terminal.css */
1+
/*! sans_dark.css 0.7.4 | MIT License | github.com/Gioni06/terminal.css */
22

33
:root {
44
--global-font-size: 15px;
55
--global-line-height: 1.4em;
6-
--global-space: 10px;
7-
--font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica,
8-
Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
6+
--font-stack: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
97
--background-color: #222225;
108
--page-width: 60em;
119
--font-color: #e8e9ed;
1210
--invert-font-color: #222225;
13-
--primary-color: #62c4ff;
1411
--secondary-color: #a3abba;
1512
--tertiary-color: #a3abba;
13+
--primary-color: #62c4ff;
1614
--error-color: #ff3c74;
1715
--progress-bar-background: #3f3f44;
1816
--progress-bar-fill: #62c4ff;
1917
--code-bg-color: #3f3f44;
2018
--input-style: solid;
2119
--display-h1-decoration: none;
22-
}
20+
}

0 commit comments

Comments
 (0)