CSS as static resource.

This commit is contained in:
2020-05-16 10:55:35 +02:00
parent 2ea3eb053e
commit 31014f4f14
2 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,3 @@
import strutils
const css* = """
window {
background: black;
font-size: 30px;
@@ -10,5 +8,4 @@ label {
border-radius: 5px;
margin: 10px;
padding: 10px;
}
""".unindent
}

View File

@@ -2,9 +2,10 @@ import httpClient, json, os, options, strformat
import gintro/[gtk, glib, gobject, gio, gdkpixbuf]
import gintro/gdk except Window
import argparse except run
import fileAccess, style
import fileAccess
const
css = slurp("app.css")
version = "0.1"
floofUrl = "https://randomfox.ca/floof/"