From 3aa9f1645043d27095cac935dd36627a0e2a109d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 27 Oct 2018 17:48:57 +0200 Subject: Use lato font --- css/style.css | 9 +++++++++ fonts/Lato License.txt | 3 +++ fonts/Lato-Regular.ttf | Bin 0 -> 656568 bytes run.sh | 8 ++++++++ 4 files changed, 20 insertions(+) create mode 100644 fonts/Lato License.txt create mode 100644 fonts/Lato-Regular.ttf 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 Binary files /dev/null and b/fonts/Lato-Regular.ttf 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 -- cgit v1.2.3