CSS as static resource.
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user