summaryrefslogtreecommitdiff
path: root/src/themes
diff options
context:
space:
mode:
authorJonas Kohl2024-09-16 19:32:09 +0200
committerJonas Kohl2024-09-16 19:32:09 +0200
commit6b7e714b59e28bc138681662006941274c3261af (patch)
treec683082c0a00681542db02d415bd45968f0a517b /src/themes
parentfd3d969cf658475709db6a1e5090069cce51cbbd (diff)
A lot more stuff
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/default/theme.css10
-rw-r--r--src/themes/default/theme.json12
-rw-r--r--src/themes/flat/theme.json11
-rw-r--r--src/themes/slate/theme.css15
-rw-r--r--src/themes/slate/theme.json20
5 files changed, 43 insertions, 25 deletions
diff --git a/src/themes/default/theme.css b/src/themes/default/theme.css
deleted file mode 100644
index 8feb73e..0000000
--- a/src/themes/default/theme.css
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * @theme default
- * @name Mystic Default
- * @author Jonas Kohl
- * @version 1.0.0
- * @format 1
- */
-@import url("../../ui/dist/css/bootstrap.min.css");
-@import url("../../ui/dist/css/bootstrap-theme.min.css");
-@import url("../../ui/site.css");
diff --git a/src/themes/default/theme.json b/src/themes/default/theme.json
new file mode 100644
index 0000000..cc2c3fb
--- /dev/null
+++ b/src/themes/default/theme.json
@@ -0,0 +1,12 @@
+{
+ "$format": 1,
+ "version": "1.0.0",
+ "id": "default",
+ "name": "Mystic Default",
+ "author": "Jonas Kohl",
+ "files": [
+ "../../ui/dist/css/bootstrap.min.css",
+ "../../ui/dist/css/bootstrap-theme.min.css",
+ "../../ui/site.css"
+ ]
+}
diff --git a/src/themes/flat/theme.json b/src/themes/flat/theme.json
new file mode 100644
index 0000000..4e98458
--- /dev/null
+++ b/src/themes/flat/theme.json
@@ -0,0 +1,11 @@
+{
+ "$format": 1,
+ "version": "1.0.0",
+ "id": "flat",
+ "name": "Mystic Flat",
+ "author": "Jonas Kohl",
+ "files": [
+ "../../ui/dist/css/bootstrap.min.css",
+ "../../ui/site.css"
+ ]
+}
diff --git a/src/themes/slate/theme.css b/src/themes/slate/theme.css
deleted file mode 100644
index a086ce7..0000000
--- a/src/themes/slate/theme.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- * @theme slate
- * @name Mystic Slate
- * @author Jonas Kohl
- * @version 1.0.0
- * @format 1
- */
-@import url("../../ui/slate.min.css");
-@import url("../../ui/site.css");
-.post-container-controls {
- background-image: linear-gradient(transparent, #272b30 56%);
-}
-.post-container-controls::after {
- background: rgba(0,0,0,0.6);
-}
diff --git a/src/themes/slate/theme.json b/src/themes/slate/theme.json
new file mode 100644
index 0000000..86ff321
--- /dev/null
+++ b/src/themes/slate/theme.json
@@ -0,0 +1,20 @@
+{
+ "$format": 1,
+ "version": "1.0.0",
+ "id": "slate",
+ "name": "Mystic Slate",
+ "author": "Jonas Kohl",
+ "files": [
+ "../../ui/slate.min.css",
+ "../../ui/site.css",
+ [
+ ".post-container-controls {",
+ " background-image: linear-gradient(transparent, #272b30 56%);",
+ "}",
+ ".post-container-controls::after {",
+ " background: rgba(0,0,0,0.6);",
+ "}"
+ ]
+ ]
+}
+