From 6b7e714b59e28bc138681662006941274c3261af Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Mon, 16 Sep 2024 19:32:09 +0200 Subject: A lot more stuff --- src/themes/default/theme.css | 10 ---------- src/themes/default/theme.json | 12 ++++++++++++ src/themes/flat/theme.json | 11 +++++++++++ src/themes/slate/theme.css | 15 --------------- src/themes/slate/theme.json | 20 ++++++++++++++++++++ 5 files changed, 43 insertions(+), 25 deletions(-) delete mode 100644 src/themes/default/theme.css create mode 100644 src/themes/default/theme.json create mode 100644 src/themes/flat/theme.json delete mode 100644 src/themes/slate/theme.css create mode 100644 src/themes/slate/theme.json (limited to 'src/themes') 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);", + "}" + ] + ] +} + -- cgit v1.2.3