summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2022-03-28 12:23:55 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2022-03-28 12:23:55 -0400
commit3574e3cbf9d99546e868aeb995ce2c171cdc36a6 (patch)
tree05bf8ad331c95d15dbaec35b22c8d415fb2460f1
parent2d7e4573fc6b9ce6b34f97e673a469d07763ce90 (diff)
Add bliss theme
-rw-r--r--themes/bliss.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/bliss.h b/themes/bliss.h
new file mode 100644
index 0000000..11cdfaa
--- /dev/null
+++ b/themes/bliss.h
@@ -0,0 +1,13 @@
+/* newsboat-like (blue, yellow) */
+#define THEME_ITEM_NORMAL() do { ttywrite("\x1b[36m"); } while(0)
+#define THEME_ITEM_FOCUS() do { } while(0)
+#define THEME_ITEM_BOLD() do { attrmode(ATTR_BOLD_ON); } while(0)
+#define THEME_ITEM_SELECTED() do { if (p->focused) ttywrite("\x1b[30;46;1m"); } while(0) /* bright yellow fg, blue bg */
+#define THEME_SCROLLBAR_FOCUS() do { ttywrite("\x1b[34m"); } while(0) /* blue fg */
+#define THEME_SCROLLBAR_NORMAL() do { ttywrite("\x1b[34m"); } while(0)
+#define THEME_SCROLLBAR_TICK_FOCUS() do { ttywrite("\x1b[45m"); } while(0) /* blue bg */
+#define THEME_SCROLLBAR_TICK_NORMAL() do { ttywrite("\x1b[44m"); } while(0)
+#define THEME_LINEBAR() do { ttywrite("\x1b[34m"); } while(0)
+#define THEME_STATUSBAR() do { attrmode(ATTR_BOLD_ON); ttywrite("\x1b[32m"); } while(0)
+#define THEME_INPUT_LABEL() do { } while(0)
+#define THEME_INPUT_NORMAL() do { } while(0)