feat: woke theme
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
519a5555a9
commit
24d8905ef2
7 changed files with 37 additions and 2 deletions
1
app.vue
1
app.vue
|
@ -33,6 +33,7 @@ body {
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
background: var(--optional-chat-background);
|
||||||
background-color: var(--chat-background-color);
|
background-color: var(--chat-background-color);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,6 @@ const guilds: GuildResponse[] | undefined = await fetchWithApi("/me/guilds");
|
||||||
grid-template-columns: 1fr 4fr 18fr 4fr;
|
grid-template-columns: 1fr 4fr 18fr 4fr;
|
||||||
grid-template-rows: 4dvh auto;
|
grid-template-rows: 4dvh auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
.hidden {
|
||||||
|
@ -58,6 +57,7 @@ const guilds: GuildResponse[] | undefined = await fetchWithApi("/me/guilds");
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
background: var(--optional-topbar-background);
|
||||||
background-color: var(--topbar-background-color);
|
background-color: var(--topbar-background-color);
|
||||||
padding-left: 5dvw;
|
padding-left: 5dvw;
|
||||||
padding-right: 5dvw;
|
padding-right: 5dvw;
|
||||||
|
@ -98,6 +98,7 @@ const guilds: GuildResponse[] | undefined = await fetchWithApi("/me/guilds");
|
||||||
padding-left: .5dvw;
|
padding-left: .5dvw;
|
||||||
padding-right: .5dvw;
|
padding-right: .5dvw;
|
||||||
border-right: 1px solid var(--padding-color);
|
border-right: 1px solid var(--padding-color);
|
||||||
|
background: var(--optional-sidebar-background);
|
||||||
background-color: var(--sidebar-background-color);
|
background-color: var(--sidebar-background-color);
|
||||||
padding-top: 1.5dvh;
|
padding-top: 1.5dvh;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default defineNuxtConfig({
|
||||||
buildTimeString: new Date().toISOString(),
|
buildTimeString: new Date().toISOString(),
|
||||||
gitHash: process.env.GIT_SHORT_REV || "N/A",
|
gitHash: process.env.GIT_SHORT_REV || "N/A",
|
||||||
defaultThemes: [
|
defaultThemes: [
|
||||||
"light", "ash", "dark"
|
"light", "ash", "dark", "woke"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -86,6 +86,7 @@ function handleMemberClick(member: GuildMemberResponse) {
|
||||||
padding-left: 1dvw;
|
padding-left: 1dvw;
|
||||||
padding-right: 1dvw;
|
padding-right: 1dvw;
|
||||||
border-right: 1px solid var(--padding-color);
|
border-right: 1px solid var(--padding-color);
|
||||||
|
background: var(--optional-channel-list-background);
|
||||||
background-color: var(--sidebar-background-color);
|
background-color: var(--sidebar-background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -124,6 +124,7 @@ onMounted(() => {
|
||||||
#sidebar {
|
#sidebar {
|
||||||
min-width: 25dvw;
|
min-width: 25dvw;
|
||||||
max-width: 25dvw;
|
max-width: 25dvw;
|
||||||
|
background: var(--optional-channel-list-background);
|
||||||
background-color: var(--sidebar-background-color);
|
background-color: var(--sidebar-background-color);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
padding: 1dvh 1dvw;
|
padding: 1dvh 1dvw;
|
||||||
|
@ -157,6 +158,7 @@ onMounted(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-focus {
|
.sidebar-focus {
|
||||||
|
background: var(--optional-topbar-background);
|
||||||
background-color: var(--sidebar-highlighted-background-color);
|
background-color: var(--sidebar-highlighted-background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
24
public/themes/woke.css
Normal file
24
public/themes/woke.css
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
:root {
|
||||||
|
--text-color: #161518;
|
||||||
|
--secondary-text-color: #2b2930;
|
||||||
|
|
||||||
|
--chat-background-color: #808080;
|
||||||
|
--chat-highlighted-background-color: #808080;
|
||||||
|
--sidebar-background-color: #808080;
|
||||||
|
--sidebar-highlighted-background-color: #808080;
|
||||||
|
--topbar-background-color: #808080;
|
||||||
|
|
||||||
|
--padding-color: #80808000;
|
||||||
|
|
||||||
|
--primary-color: #21b1ff80;
|
||||||
|
--primary-highlighted-color: #18a0df80;
|
||||||
|
--secondary-color: #ffd80080;
|
||||||
|
--secondary-highlighted-color: #dfb80080;
|
||||||
|
--accent-color: #ff218c80;
|
||||||
|
--accent-highlighted-color: #df1b6f80;
|
||||||
|
|
||||||
|
--optional-chat-background: linear-gradient(45deg, #ed222480, #ed222480, #ed222480, #ed222480, #ed222480, #ed222480, #f35b2280, #f9962180, #f5c11e80, #f1eb1b80, #f1eb1b80, #f1eb1b80, #63c72080, #0c9b4980, #21878d80, #3954a580, #61379b80, #93288e80);
|
||||||
|
--optional-topbar-background: linear-gradient(-12.5deg, cyan, pink, white, pink, cyan);
|
||||||
|
--optional-sidebar-background: linear-gradient(90deg, #55cdfc, #f7a8b8, #ffffff, #f7a8b8, #55cdfc);
|
||||||
|
--optional-channel-list-background: linear-gradient(82deg, #d52c00b0, #e29688b0, #ffffffb0, #d27fa4b0, #a20062b0);
|
||||||
|
}
|
6
public/themes/woke.json
Normal file
6
public/themes/woke.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"displayName": "Woke",
|
||||||
|
"previewGradient": "45deg, #ed2224, #ed2224, #f35b22, #f99621, #f5c11e, #f1eb1b 27%, #f1eb1b, #f1eb1b 33%, #63c720, #0c9b49, #21878d, #3954a5, #61379b, #93288e, #93288e",
|
||||||
|
"complementaryColor": "white",
|
||||||
|
"themeUrl": "woke.css"
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue