summaryrefslogtreecommitdiff
path: root/web/assets/themes/blurple-light.css
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-03-25 18:32:24 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-25 17:32:24 +0000
commit8953f57d887c060c3b58f83c38d2010d27a45ef3 (patch)
tree05f8b1157a86afaa3ed0d6d0b87c9d0d37030362 /web/assets/themes/blurple-light.css
parent[feature] Add healthcheck endpoints `/livez` and `/readyz` (#2783) (diff)
downloadgotosocial-8953f57d887c060c3b58f83c38d2010d27a45ef3.tar.xz
[feature] User-selectable preset CSS themes for accounts (#2777)
* [feature] User-selectable preset themes * docs, more theme stuff * lint, tests * fix css name * correct some little issues * add another theme * fix poll background * okay last theme i swear * make retrieval of apimodel themes more conventional * preallocate stylesheet slices
Diffstat (limited to 'web/assets/themes/blurple-light.css')
-rw-r--r--web/assets/themes/blurple-light.css94
1 files changed, 94 insertions, 0 deletions
diff --git a/web/assets/themes/blurple-light.css b/web/assets/themes/blurple-light.css
new file mode 100644
index 000000000..7f5811401
--- /dev/null
+++ b/web/assets/themes/blurple-light.css
@@ -0,0 +1,94 @@
+/*
+ theme-title: Blurple (light)
+ theme-description: Official light blurple theme
+*/
+
+:root {
+ /* Define our nice blurple palette */
+ --blurple1: #ffffff;
+ --blurple2: #ebe6f8;
+ --blurple3: #d6cceb;
+ --blurple4: #c2b3e1;
+ --blurple5: #ad99d7;
+ --blurple6: #9980cd;
+ --blurple7: #8566c2;
+ --blurple8: #704db8;
+ --blurple9: #5c33ae;
+ --blurple10: #471aa4;
+ --blurple11: #33009a;
+ --blurple12: #170044;
+
+ /* Restyle basic colors to use blurple */
+ --white1: var(--blurple2);
+ --white2: var(--blurple3);
+ --blue1: var(--blurple6);
+ --blue2: var(--blurple8);
+ --blue3: var(--blurple10);
+
+ /* Basic page styling (background + foreground) */
+ --bg: linear-gradient(var(--blurple2), var(--blurple1));
+ --bg-accent: var(--white2);
+ --fg: var(--gray1);
+ --fg-reduced: var(--gray2);
+
+ /* Profile page styling (light) */
+ --profile-bg: var(--white2);
+
+ /* Blurpleize buttons */
+ --button-bg: var(--blue2);
+ --button-fg: var(--white1);
+
+ /* Blurpleize statuses */
+ --status-bg: var(--white1);
+ --status-focus-bg: var(--white1);
+ --status-info-bg: var(--white2);
+ --status-focus-info-bg: var(--white2);
+
+ /* Used around statuses + other items */
+ --boxshadow-border: 0.08rem solid var(--blurple10);
+}
+
+/* Scroll bar */
+html, body {
+ scrollbar-color: var(--blurple8) var(--blurple2);
+}
+
+/* Profile fields */
+.profile .about-user .fields .field {
+ border-bottom: 0.1rem solid var(--blurple10);
+}
+.profile .about-user .fields .field:first-child {
+ border-top: 0.1rem solid var(--blurple10);
+}
+
+/* Status media */
+.status .media .media-wrapper {
+ border: 0.08rem solid var(--blurple10);
+}
+.status .media .media-wrapper details .unknown-attachment .placeholder {
+ color: var(--blue2);
+}
+.status .media .media-wrapper details video.plyr-video {
+ background: var(--blurple2);
+}
+
+/* Status polls */
+.status .text .poll {
+ background-color: var(--white2);
+}
+.status .text .poll .poll-info {
+ background-color: var(--white1);
+}
+
+/* Code snippets */
+pre, pre[class*="language-"],
+code, code[class*="language-"] {
+ background-color: var(--blurple12);
+ color: var(--blurple2);
+}
+
+/* Block quotes */
+blockquote {
+ background-color: var(--blurple1);
+ color: var(--blurple12);
+}