From 52aeff65a82d949dd3ce33d1a5998e00ad4c379e Mon Sep 17 00:00:00 2001
From: alyx <alyx@aleteoryx.me>
Date: Tue, 2 Apr 2024 11:51:14 -0400
Subject: Theming refactor

Theming has been broken off into a seperate space, so that it'll be easier to add lua support later.
---
 src/themes/plain.hbs | 39 ---------------------------------------
 1 file changed, 39 deletions(-)
 delete mode 100644 src/themes/plain.hbs

(limited to 'src/themes')

diff --git a/src/themes/plain.hbs b/src/themes/plain.hbs
deleted file mode 100644
index 975d6c5..0000000
--- a/src/themes/plain.hbs
+++ /dev/null
@@ -1,39 +0,0 @@
-<!doctype html>
-<html lang="en" style="margin: 20px; overflow: hidden;">
-  <head>
-    <meta charset="UTF-8"/>
-    <title>{{#if error}}Error!{{else}}@{{user.name}}'s Last.fm Stats{{/if}}</title>
-    <style>{{#if font.css}}{{{font.css}}}{{/if}}</style>
-    <style>
-      {{#if (eq query.dark null)}}
-        :root { --b: black; color: black; background-color: white; }
-      {{else}}
-        :root { --b: white; color: white; background-color: black; }
-        a:visited { color: pink }
-        a { color: cyan; }
-      {{/if}}
-      * { font-size: {{#if font}}17px{{else}}{{#if font.scale}}calc(20px * {{font.scale}}){{else}}20px{{/if}}{{/if}}; }
-      {{#if (or font.name font.css)}}
-        * { font-family: '{{#if font.name}}{{font.name}}{{/if}}' }
-      {{/if}}
-      p { margin: 0px; padding: 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
-    </style>
-  </head>
-  <body>
-    {{#if error}}
-      <p style="white-space: unset;">{{error}}</p>
-    {{else}}
-      <a style="float: left;" target="_blank" href="{{scrobble.url}}"><img src="{{scrobble.image_url}}" style="height: 80px; border: solid var(--b) 4px; margin: 2px;" /></a>
-      <p><a target="_blank" href="{{user.url}}">@{{user.name}}</a>{{#if scrobble.now_playing}}
-        is scrobbling{{else}}'s last scrobble was
-      {{/if}}
-      </p><p>
-        <i><b><a target="_blank" href="{{scrobble.url}}">{{scrobble.name}}</a></b></i>
-      </p><p>
-        {{#if scrobble.album}}from <i><b>{{scrobble.album}}</b></i>{{/if}}
-      </p><p>
-        by <b><a target="_blank" href="{{scrobble.artist.url}}">{{scrobble.artist.name}}</a></b>.
-      </p>
-    {{/if}}
-  </body>
-</html>
-- 
cgit v1.2.3-70-g09d2