aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-27 17:48:57 +0200
committerdec05eba <dec05eba@protonmail.com>2018-10-27 17:49:01 +0200
commit3aa9f1645043d27095cac935dd36627a0e2a109d (patch)
treedd8cd316ee20e335057f4b350818b1ff2157e1af
parent0aabe419f68f18ac51ed162bc06f3079cd464fa3 (diff)
Use lato font
-rw-r--r--css/style.css9
-rw-r--r--fonts/Lato License.txt3
-rw-r--r--fonts/Lato-Regular.ttfbin0 -> 656568 bytes
-rwxr-xr-xrun.sh8
4 files changed, 20 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css
index 5ea60be..ccdb8b8 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1,3 +1,7 @@
+* {
+ font-family: Lato;
+}
+
window {
background-color: #2f3136;
}
@@ -129,6 +133,11 @@ separator {
.chat-message-username {
color: #0fc0fc;
+ font-size: 14px;
+}
+
+.chat-message-text {
+ font-size: 13px;
}
textview {
diff --git a/fonts/Lato License.txt b/fonts/Lato License.txt
new file mode 100644
index 0000000..784a6a3
--- /dev/null
+++ b/fonts/Lato License.txt
@@ -0,0 +1,3 @@
+The Lato font fam­ily is avail­able as a free down­load under the SIL Open Font License 1.1 (https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL).
+The fonts can be used with­out any lim­i­ta­tions for com­mer­cial and non-​​commercial pur­poses.
+They can be also freely mod­i­fied if the terms of the license are observed.
diff --git a/fonts/Lato-Regular.ttf b/fonts/Lato-Regular.ttf
new file mode 100644
index 0000000..0f3d0f8
--- /dev/null
+++ b/fonts/Lato-Regular.ttf
Binary files differ
diff --git a/run.sh b/run.sh
index 116f665..3351073 100755
--- a/run.sh
+++ b/run.sh
@@ -1,3 +1,11 @@
#!/usr/bin/env bash
+script_path=`readlink -f $0`
+script_dir=`dirname $script_path`
+cd "$script_dir"
+if [ ! -f ~/.local/share/fonts/Lato-Regular.ttf ]; then
+ mkdir -p ~/.local/share/fonts
+ cp ./fonts/Lato-Regular.ttf ~/.local/share/fonts/Lato-Regular.ttf
+ fc-cache
+fi
env GTK_THEME="css/style.css" ./sibs-build/debug/dchat