From 8136c5d6d7273b50de1c4b70f56481b4bbd7d93b Mon Sep 17 00:00:00 2001 From: Noa Himesaka Date: Sun, 1 Oct 2023 20:08:32 +0900 Subject: [PATCH] Add modern theme --- app/javascript/skins/glitch/modern-contrast/common.scss | 3 +++ app/javascript/skins/glitch/modern-contrast/names.yml | 4 ++++ app/javascript/skins/glitch/modern-light/common.scss | 3 +++ app/javascript/skins/glitch/modern-light/names.yml | 4 ++++ app/javascript/skins/glitch/modern/common.scss | 2 ++ app/javascript/skins/glitch/modern/names.yml | 4 ++++ 6 files changed, 20 insertions(+) create mode 100644 app/javascript/skins/glitch/modern-contrast/common.scss create mode 100644 app/javascript/skins/glitch/modern-contrast/names.yml create mode 100644 app/javascript/skins/glitch/modern-light/common.scss create mode 100644 app/javascript/skins/glitch/modern-light/names.yml create mode 100644 app/javascript/skins/glitch/modern/common.scss create mode 100644 app/javascript/skins/glitch/modern/names.yml diff --git a/app/javascript/skins/glitch/modern-contrast/common.scss b/app/javascript/skins/glitch/modern-contrast/common.scss new file mode 100644 index 0000000000..2275223a2d --- /dev/null +++ b/app/javascript/skins/glitch/modern-contrast/common.scss @@ -0,0 +1,3 @@ +@import 'flavours/glitch/styles/modern.css'; +@import 'flavours/glitch/styles/glitch-fixes.css'; +@import 'flavours/glitch/styles/contrast'; diff --git a/app/javascript/skins/glitch/modern-contrast/names.yml b/app/javascript/skins/glitch/modern-contrast/names.yml new file mode 100644 index 0000000000..9673f81a9b --- /dev/null +++ b/app/javascript/skins/glitch/modern-contrast/names.yml @@ -0,0 +1,4 @@ +en: + skins: + glitch: + modern-contrast: Modern (high contrast) diff --git a/app/javascript/skins/glitch/modern-light/common.scss b/app/javascript/skins/glitch/modern-light/common.scss new file mode 100644 index 0000000000..93c6a1c7b8 --- /dev/null +++ b/app/javascript/skins/glitch/modern-light/common.scss @@ -0,0 +1,3 @@ +@import 'flavours/glitch/styles/modern.css'; +@import 'flavours/glitch/styles/glitch-fixes.css'; +@import 'flavours/glitch/styles/mastodon-light'; diff --git a/app/javascript/skins/glitch/modern-light/names.yml b/app/javascript/skins/glitch/modern-light/names.yml new file mode 100644 index 0000000000..453d7e04b7 --- /dev/null +++ b/app/javascript/skins/glitch/modern-light/names.yml @@ -0,0 +1,4 @@ +en: + skins: + glitch: + modern-light: Modern (light) diff --git a/app/javascript/skins/glitch/modern/common.scss b/app/javascript/skins/glitch/modern/common.scss new file mode 100644 index 0000000000..4740ae764c --- /dev/null +++ b/app/javascript/skins/glitch/modern/common.scss @@ -0,0 +1,2 @@ +@import 'flavours/glitch/styles/modern.css'; +@import 'flavours/glitch/styles/glitch-fixes.css'; diff --git a/app/javascript/skins/glitch/modern/names.yml b/app/javascript/skins/glitch/modern/names.yml new file mode 100644 index 0000000000..f2890ec816 --- /dev/null +++ b/app/javascript/skins/glitch/modern/names.yml @@ -0,0 +1,4 @@ +en: + skins: + glitch: + modern: Modern