~hristoast/mousikofidi

[PATCH 1/3] Changed default Terminal theme to white on black

Details
Message ID
<47VYU6x97jwUiK65adNvdG5hVYHTkdln97VHTw3T8rRcCM8P9965pMaWL1fiDEqOkwN7VWdn85t5AavmgE5cPo6h5WSByue5ZtgWa0UR2ic=@protonmail.com>
DKIM signature
missing
Download raw message
Patch: +72 -12
---
 Makefile                                      |  2 +
 mousikofidi/mousikofidi.py                    |  1 +
 mousikofidi/static/css/terminal-green.css     | 56 +++++++++++++++++++
 mousikofidi/static/css/terminal-green.min.css |  1 +
 mousikofidi/static/css/terminal.css           | 22 ++++----
 mousikofidi/static/css/terminal.min.css       |  2 +-
 6 files changed, 72 insertions(+), 12 deletions(-)
 create mode 100644 mousikofidi/static/css/terminal-green.css
 create mode 100644 mousikofidi/static/css/terminal-green.min.css

diff --git a/Makefile b/Makefile
index 3357e24..ecd856e 100644
--- a/Makefile
+++ b/Makefile
@@ -33,11 +33,13 @@ minify-css:
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi.css -o $(proj_dir)/mousikofidi/static/css/fidi.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi-nes.css -o $(proj_dir)/mousikofidi/static/css/fidi-nes.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8
	yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8

minify-css-quiet:
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi.css -o $(proj_dir)/mousikofidi/static/css/fidi.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/fidi-nes.css -o $(proj_dir)/mousikofidi/static/css/fidi-nes.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8
	@yuicompressor --type css $(proj_dir)/mousikofidi/static/css/terminal.css -o $(proj_dir)/mousikofidi/static/css/terminal.min.css --charset utf-8

minify-js:
	yuicompressor --type js $(proj_dir)/mousikofidi/static/js/player.js -o $(proj_dir)/mousikofidi/static/js/player.min.js --charset utf-8
diff --git a/mousikofidi/mousikofidi.py b/mousikofidi/mousikofidi.py
index 9c7bab6..4d55b1f 100644
--- a/mousikofidi/mousikofidi.py
+++ b/mousikofidi/mousikofidi.py
@@ -53,6 +53,7 @@ THEMES = {
    "light": "/css/water/light.standalone",
    "nes": "/css/nes/nes",
    "terminal": "/css/terminal",
    "terminal-green": "/css/terminal-green",
}

try:
diff --git a/mousikofidi/static/css/terminal-green.css b/mousikofidi/static/css/terminal-green.css
new file mode 100644
index 0000000..8695851
--- /dev/null
+++ b/mousikofidi/static/css/terminal-green.css
@@ -0,0 +1,56 @@
/*
Terminal.css for MousikóFídi
Copyright (C) 2019  ogenfald

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

body {
        background-color: #1d1f21;
        color: lime;
        font-family: monospace;
        font-size: large;
}

a:link {
        color : lime;
}

a:visited {
        color: lime;
}

input[type=text] {
        border: 2px solid lime;
        background-color: #1d1f21;
        color: lime;
}

input[type=submit] {
        border: 2px solid lime;
        background-color: #1d1f21;
        color: lime;
}

select {
        border: 2px solid lime;
        background-color: #1d1f21;
        color: lime;
}

button {
        border: 2px solid lime;
        background-color: #1d1f21;
        color: lime;
}
diff --git a/mousikofidi/static/css/terminal-green.min.css b/mousikofidi/static/css/terminal-green.min.css
new file mode 100644
index 0000000..6affaa7
--- /dev/null
+++ b/mousikofidi/static/css/terminal-green.min.css
@@ -0,0 +1 @@
body{background-color:#1d1f21;color:lime;font-family:monospace;font-size:large}a:link{color:lime}a:visited{color:lime}input[type=text]{border:2px solid lime;background-color:#1d1f21;color:lime}input[type=submit]{border:2px solid lime;background-color:#1d1f21;color:lime}select{border:2px solid lime;background-color:#1d1f21;color:lime}button{border:2px solid lime;background-color:#1d1f21;color:lime}
\ No newline at end of file
diff --git a/mousikofidi/static/css/terminal.css b/mousikofidi/static/css/terminal.css
index 8695851..c21dff6 100644
--- a/mousikofidi/static/css/terminal.css
+++ b/mousikofidi/static/css/terminal.css
@@ -18,39 +18,39 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.

body {
        background-color: #1d1f21;
        color: lime;
        color: white;
        font-family: monospace;
        font-size: large;
}

a:link {
        color : lime;
        color : white;
}

a:visited {
        color: lime;
        color: white;
}

input[type=text] {
        border: 2px solid lime;
        border: 2px solid white;
        background-color: #1d1f21;
        color: lime;
        color: white;
}

input[type=submit] {
        border: 2px solid lime;
        border: 2px solid white;
        background-color: #1d1f21;
        color: lime;
        color: white;
}

select {
        border: 2px solid lime;
        border: 2px solid white;
        background-color: #1d1f21;
        color: lime;
        color: white;
}

button {
        border: 2px solid lime;
        border: 2px solid white;
        background-color: #1d1f21;
        color: lime;
        color: white;
}
diff --git a/mousikofidi/static/css/terminal.min.css b/mousikofidi/static/css/terminal.min.css
index 6affaa7..7693084 100644
--- a/mousikofidi/static/css/terminal.min.css
+++ b/mousikofidi/static/css/terminal.min.css
@@ -1 +1 @@
body{background-color:#1d1f21;color:lime;font-family:monospace;font-size:large}a:link{color:lime}a:visited{color:lime}input[type=text]{border:2px solid lime;background-color:#1d1f21;color:lime}input[type=submit]{border:2px solid lime;background-color:#1d1f21;color:lime}select{border:2px solid lime;background-color:#1d1f21;color:lime}button{border:2px solid lime;background-color:#1d1f21;color:lime}
\ No newline at end of file
body{background-color:#1d1f21;color:white;font-family:monospace;font-size:large}a:link{color:white}a:visited{color:white}input[type=text]{border:2px solid white;background-color:#1d1f21;color:white}input[type=submit]{border:2px solid white;background-color:#1d1f21;color:white}select{border:2px solid white;background-color:#1d1f21;color:white}button{border:2px solid white;background-color:#1d1f21;color:white}
\ No newline at end of file
-- 
2.23.0
Reply to thread Export thread (mbox)