add option to use vibrant colors from avatar needs moving around
This commit is contained in:
parent
30e9057ba8
commit
ff0ece9626
8 changed files with 120 additions and 73 deletions
|
@ -24,6 +24,8 @@
|
|||
<meta name="color-scheme" content="dark">
|
||||
</head>
|
||||
|
||||
<%- include('partial/style.ejs') %>
|
||||
|
||||
<body>
|
||||
<div class="user-card">
|
||||
<div class="avatar-status-wrapper">
|
||||
|
|
32
src/views/partial/style.ejs
Normal file
32
src/views/partial/style.ejs
Normal file
|
@ -0,0 +1,32 @@
|
|||
<style>
|
||||
:root {
|
||||
/* --background: #0e0e10; */
|
||||
--background: <%= colors.DarkVibrant || '#0e0e10' %>;
|
||||
--readme-bg: <%= colors.DarkMuted || '#1a1a1d' %>;
|
||||
--card-bg: <%= colors.DarkMuted || '#1e1f22' %>;
|
||||
--card-hover-bg: <%= colors.Muted || '#2a2a2d' %>;
|
||||
--border-color: <%= colors.Muted || '#2e2e30' %>;
|
||||
|
||||
--text-color: #ffffff;
|
||||
--text-subtle: #bbb;
|
||||
--text-secondary: #b5bac1;
|
||||
--text-muted: #888;
|
||||
--link-color: <%= colors.Vibrant || '#00b0f4' %>;
|
||||
|
||||
--button-bg: <%= colors.Vibrant || '#5865f2' %>;
|
||||
--button-hover-bg: <%= colors.LightVibrant || '#4752c4' %>;
|
||||
--button-disabled-bg: #2d2e31;
|
||||
|
||||
--progress-bg: <%= colors.DarkVibrant || '#f23f43' %>;
|
||||
--progress-fill: <%= colors.Vibrant || '#5865f2' %>;
|
||||
|
||||
--status-online: #23a55a;
|
||||
--status-idle: #f0b232;
|
||||
--status-dnd: #e03e3e;
|
||||
--status-offline: #747f8d;
|
||||
--status-streaming: #b700ff;
|
||||
|
||||
--blockquote-color: #aaa;
|
||||
--code-bg: <%= colors.Muted || '#2e2e30' %>;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue