Skip to content

Commit e4099b9

Browse files
committed
feat: add more themes to choose from!!
1 parent 8642ae5 commit e4099b9

File tree

7 files changed

+306
-31
lines changed

7 files changed

+306
-31
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.vscode
22
.DS_Store
3-
MACOSX
3+
MACOSX
4+
wak.toml

configuration/Configuration.example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Connections:
1010
GitLab: prplwtf
1111
Bluesky: prpl.wtf
1212
Twitter:
13-
14-
Medium: prplwtf
13+
Mastodon:
14+
Medium:
1515
Twitch:
1616
YouTube:

configuration/Posts.example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- Title: say hello to writea
22
Description: the comfy and open-source markdown blog alternative
3-
Topic: product release
3+
Topic: project release
44
Thumbnail: meet-writea.jpg
55
Content: meet-writea.md
6-
Discoverable: true
6+
Discoverable: true

themes/CatppuccinMocha.css

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
/*
22
* Catppuccin Mocha writea theme
3-
*
43
* Colors from https://catppuccin.com
5-
* Ported by https://github.com/prplwtf
64
*/
75

8-
writea-theme-config {
6+
writea-theme-config {
97
--theme-color: #cba6f7;
108
}
119

1210
:root {
1311
color-scheme: dark;
1412

1513
--bs-body-color: #ced4da;
16-
--bs-body-color-rgb: 206,212,218;
14+
--bs-body-color-rgb: 206, 212, 218;
1715
--bs-body-bg: #11111b;
18-
--bs-body-bg-rgb: 22,25,29;
16+
--bs-body-bg-rgb: 22, 25, 29;
1917
--bs-surface-color: #dee2e6;
20-
--bs-surface-color-rgb: 222,226,230;
18+
--bs-surface-color-rgb: 222, 226, 230;
2119
--bs-surface-bg: #212529;
22-
--bs-surface-bg-rgb: 33,37,41;
20+
--bs-surface-bg-rgb: 33, 37, 41;
2321
--bs-surface-bg-hover: #25292d;
2422

2523
--bs-emphasis-color: #fff;
26-
--bs-emphasis-color-rgb: 255,255,255;
24+
--bs-emphasis-color-rgb: 255, 255, 255;
2725
--bs-muted-color: #868e96;
2826
--bs-heading-color: inherit;
2927

@@ -40,7 +38,7 @@
4038
--bs-text-on-primary: #000000;
4139

4240
--bs-dark: #45475a;
43-
--bs-dark-rgb: 111,113,116;
41+
--bs-dark-rgb: 111, 113, 116;
4442
--bs-dark-hover: #585b70;
4543
--bs-dark-active: #6c7086;
4644
--bs-dark-subtle: #1e1e2e;
@@ -55,4 +53,4 @@
5553
--bs-border-color-translucent: rgba(255, 255, 255, 0.15);
5654
--bs-border-radius: 1rem;
5755
--bs-border-width: 1px;
58-
}
56+
}

themes/Default.css

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/*
22
* Default writea theme
3-
*
43
* Original from https://github.com/materialstyle/materialstyle
5-
* Modified by https://github.com/prplwtf
64
*/
75

86
writea-theme-config {
@@ -13,17 +11,17 @@ writea-theme-config {
1311
color-scheme: dark;
1412

1513
--bs-body-color: #ced4da;
16-
--bs-body-color-rgb: 206,212,218;
14+
--bs-body-color-rgb: 206, 212, 218;
1715
--bs-body-bg: #16191d;
18-
--bs-body-bg-rgb: 22,25,29;
16+
--bs-body-bg-rgb: 22, 25, 29;
1917
--bs-surface-color: #dee2e6;
20-
--bs-surface-color-rgb: 222,226,230;
18+
--bs-surface-color-rgb: 222, 226, 230;
2119
--bs-surface-bg: #212529;
22-
--bs-surface-bg-rgb: 33,37,41;
20+
--bs-surface-bg-rgb: 33, 37, 41;
2321
--bs-surface-bg-hover: #25292d;
2422

2523
--bs-emphasis-color: #fff;
26-
--bs-emphasis-color-rgb: 255,255,255;
24+
--bs-emphasis-color-rgb: 255, 255, 255;
2725
--bs-muted-color: #868e96;
2826
--bs-heading-color: inherit;
2927

@@ -40,7 +38,7 @@ writea-theme-config {
4038
--bs-text-on-primary: #000000;
4139

4240
--bs-secondary: #a3a6a9;
43-
--bs-secondary-rgb: 163,166,169;
41+
--bs-secondary-rgb: 163, 166, 169;
4442
--bs-secondary-hover: #b5b8ba;
4543
--bs-secondary-active: #bfc1c3;
4644
--bs-secondary-subtle: #2d2f31;
@@ -52,7 +50,7 @@ writea-theme-config {
5250
--bs-secondary-border-subtle: #44474a;
5351

5452
--bs-tertiary: #e47aaf;
55-
--bs-tertiary-rgb: 228,122,175;
53+
--bs-tertiary-rgb: 228, 122, 175;
5654
--bs-tertiary-hover: #e995bf;
5755
--bs-tertiary-active: #eca2c7;
5856
--bs-tertiary-subtle: #561435;
@@ -64,7 +62,7 @@ writea-theme-config {
6462
--bs-tertiary-border-subtle: #801f4f;
6563

6664
--bs-success: #6ab190;
67-
--bs-success-rgb: 106,177,144;
65+
--bs-success-rgb: 106, 177, 144;
6866
--bs-success-hover: #88c1a6;
6967
--bs-success-active: #97c8b1;
7068
--bs-success-subtle: #0a3622;
@@ -76,7 +74,7 @@ writea-theme-config {
7674
--bs-success-border-subtle: #0f5132;
7775

7876
--bs-info: #62ddf5;
79-
--bs-info-rgb: 98,221,245;
77+
--bs-info-rgb: 98, 221, 245;
8078
--bs-info-hover: #81e4f7;
8179
--bs-info-active: #91e7f8;
8280
--bs-info-subtle: #055160;
@@ -88,7 +86,7 @@ writea-theme-config {
8886
--bs-info-border-subtle: #087990;
8987

9088
--bs-warning: #ffd75e;
91-
--bs-warning-rgb: 255,215,94;
89+
--bs-warning-rgb: 255, 215, 94;
9290
--bs-warning-hover: #ffdf7e;
9391
--bs-warning-active: #ffe38e;
9492
--bs-warning-subtle: #664d03;
@@ -100,7 +98,7 @@ writea-theme-config {
10098
--bs-warning-border-subtle: #997404;
10199

102100
--bs-danger: #e87c86;
103-
--bs-danger-rgb: 232,124,134;
101+
--bs-danger-rgb: 232, 124, 134;
104102
--bs-danger-hover: #ed969e;
105103
--bs-danger-active: #efa3aa;
106104
--bs-danger-subtle: #58151c;
@@ -112,7 +110,7 @@ writea-theme-config {
112110
--bs-danger-border-subtle: #842029;
113111

114112
--bs-light: #fafbfc;
115-
--bs-light-rgb: 250,251,252;
113+
--bs-light-rgb: 250, 251, 252;
116114
--bs-light-hover: #fbfcfd;
117115
--bs-light-active: #fcfcfd;
118116
--bs-light-subtle: #636464;
@@ -124,7 +122,7 @@ writea-theme-config {
124122
--bs-light-border-subtle: #959596;
125123

126124
--bs-dark: #6f7174;
127-
--bs-dark-rgb: 111,113,116;
125+
--bs-dark-rgb: 111, 113, 116;
128126
--bs-dark-hover: #595a5d;
129127
--bs-dark-active: #4e4f51;
130128
--bs-dark-subtle: #0d0f10;
@@ -139,4 +137,4 @@ writea-theme-config {
139137
--bs-border-color-translucent: rgba(255, 255, 255, 0.15);
140138
--bs-border-radius: 1rem;
141139
--bs-border-width: 1px;
142-
}
140+
}

themes/SerifLight.css

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
/*
2+
* Serif Light writea theme
3+
*/
4+
5+
writea-theme-config {
6+
--theme-color: #242424;
7+
}
8+
9+
:root {
10+
color-scheme: light;
11+
12+
--bs-body-color: #242424;
13+
--bs-body-color-rgb: 36, 36, 36;
14+
--bs-body-bg: #ffffff;
15+
--bs-body-bg-rgb: 255, 255, 255;
16+
--bs-surface-color: #242424;
17+
--bs-surface-color-rgb: 36, 36, 36;
18+
--bs-surface-bg: #fafafa;
19+
--bs-surface-bg-rgb: 250, 250, 250;
20+
--bs-surface-bg-hover: #f2f2f2;
21+
22+
--bs-emphasis-color: #000000;
23+
--bs-emphasis-color-rgb: 0, 0, 0;
24+
--bs-muted-color: #6b6b6b;
25+
--bs-heading-color: inherit;
26+
27+
--bs-primary: #242424;
28+
--bs-primary-hover: #1a1a1a;
29+
--bs-primary-active: #000000;
30+
--bs-primary-subtle: #f2f2f2;
31+
--bs-primary-subtle-hover: #e6e6e6;
32+
--bs-primary-subtle-active: #d9d9d9;
33+
--bs-primary-emphasis: #000000;
34+
--bs-primary-emphasis-hover: #1a1a1a;
35+
--bs-primary-border-subtle: #d9d9d9;
36+
--bs-primary-rgb: 36, 36, 36;
37+
--bs-text-on-primary: #ffffff;
38+
39+
--bs-secondary: #6b6b6b;
40+
--bs-secondary-rgb: 107, 107, 107;
41+
--bs-secondary-hover: #565656;
42+
--bs-secondary-active: #404040;
43+
--bs-secondary-subtle: #f0f0f0;
44+
--bs-secondary-subtle-hover: #e6e6e6;
45+
--bs-secondary-subtle-active: #cccccc;
46+
--bs-secondary-emphasis: #333333;
47+
--bs-secondary-emphasis-hover: #292929;
48+
--bs-text-on-secondary: #ffffff;
49+
--bs-secondary-border-subtle: #cccccc;
50+
51+
--bs-tertiary: #404040;
52+
--bs-tertiary-rgb: 64, 64, 64;
53+
--bs-tertiary-hover: #333333;
54+
--bs-tertiary-active: #262626;
55+
--bs-tertiary-subtle: #f5f5f5;
56+
--bs-tertiary-subtle-hover: #ebebeb;
57+
--bs-tertiary-subtle-active: #d6d6d6;
58+
--bs-tertiary-emphasis: #1a1a1a;
59+
--bs-tertiary-emphasis-hover: #141414;
60+
--bs-text-on-tertiary: #ffffff;
61+
--bs-tertiary-border-subtle: #d6d6d6;
62+
63+
--bs-success: #1a8917;
64+
--bs-success-rgb: 26, 137, 23;
65+
--bs-success-hover: #156912;
66+
--bs-success-active: #115a0f;
67+
--bs-success-subtle: #e6f3e6;
68+
--bs-success-subtle-hover: #d1e9d1;
69+
--bs-success-subtle-active: #a3d4a2;
70+
--bs-success-emphasis: #0f4c0d;
71+
--bs-success-emphasis-hover: #0d400b;
72+
--bs-text-on-success: #ffffff;
73+
--bs-success-border-subtle: #a3d4a2;
74+
75+
--bs-info: #3b49df;
76+
--bs-info-rgb: 59, 73, 223;
77+
--bs-info-hover: #2f3ab2;
78+
--bs-info-active: #232b85;
79+
--bs-info-subtle: #e8eaf6;
80+
--bs-info-subtle-hover: #d4d7ed;
81+
--bs-info-subtle-active: #a9afdb;
82+
--bs-info-emphasis: #1d246f;
83+
--bs-info-emphasis-hover: #181d5c;
84+
--bs-text-on-info: #ffffff;
85+
--bs-info-border-subtle: #a9afdb;
86+
87+
--bs-warning: #ffc017;
88+
--bs-warning-rgb: 255, 192, 23;
89+
--bs-warning-hover: #cc9a12;
90+
--bs-warning-active: #99730e;
91+
--bs-warning-subtle: #fff8e6;
92+
--bs-warning-subtle-hover: #fff1cc;
93+
--bs-warning-subtle-active: #ffe499;
94+
--bs-warning-emphasis: #806008;
95+
--bs-warning-emphasis-hover: #664d06;
96+
--bs-text-on-warning: #000000;
97+
--bs-warning-border-subtle: #ffe499;
98+
99+
--bs-danger: #dc2626;
100+
--bs-danger-rgb: 220, 38, 38;
101+
--bs-danger-hover: #b01e1e;
102+
--bs-danger-active: #841717;
103+
--bs-danger-subtle: #fde7e7;
104+
--bs-danger-subtle-hover: #fbd0d0;
105+
--bs-danger-subtle-active: #f7a1a1;
106+
--bs-danger-emphasis: #6d1313;
107+
--bs-danger-emphasis-hover: #570f0f;
108+
--bs-text-on-danger: #ffffff;
109+
--bs-danger-border-subtle: #f7a1a1;
110+
111+
--bs-light: #fafafa;
112+
--bs-light-rgb: 250, 250, 250;
113+
--bs-light-hover: #f5f5f5;
114+
--bs-light-active: #f0f0f0;
115+
--bs-light-subtle: #737373;
116+
--bs-light-subtle-hover: #808080;
117+
--bs-light-subtle-active: #999999;
118+
--bs-light-emphasis: #f0f0f0;
119+
--bs-light-emphasis-hover: #ebebeb;
120+
--bs-text-on-light: #000000;
121+
--bs-light-border-subtle: #999999;
122+
123+
--bs-dark: #242424;
124+
--bs-dark-rgb: 36, 36, 36;
125+
--bs-dark-hover: #1a1a1a;
126+
--bs-dark-active: #0f0f0f;
127+
--bs-dark-subtle: #e6e6e6;
128+
--bs-dark-subtle-hover: #d1d1d1;
129+
--bs-dark-subtle-active: #a3a3a3;
130+
--bs-dark-emphasis: #0a0a0a;
131+
--bs-dark-emphasis-hover: #050505;
132+
--bs-text-on-dark: #ffffff;
133+
--bs-dark-border-subtle: #a3a3a3;
134+
135+
--bs-border-color: #e6e6e6;
136+
--bs-border-color-translucent: rgba(0, 0, 0, 0.175);
137+
--bs-border-radius: 0.25rem;
138+
--bs-border-width: 1px;
139+
}

0 commit comments

Comments
 (0)