hm/programs/discord: update colors according to base16
This commit is contained in:
parent
5ab8b16b44
commit
7822c4ae84
1 changed files with 12 additions and 10 deletions
|
@ -1,9 +1,11 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
lib',
|
||||||
pkgs,
|
pkgs,
|
||||||
osConfig,
|
osConfig,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
inherit (lib') rgba;
|
||||||
styleCfg = osConfig.local.style;
|
styleCfg = osConfig.local.style;
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf osConfig.local.profiles.desktop.enable {
|
config = lib.mkIf osConfig.local.profiles.desktop.enable {
|
||||||
|
@ -46,8 +48,8 @@ in {
|
||||||
--accent-3: ${base0E}; /* accent buttons */
|
--accent-3: ${base0E}; /* accent buttons */
|
||||||
--accent-4: ${base03}; /* accent buttons when hovered */
|
--accent-4: ${base03}; /* accent buttons when hovered */
|
||||||
--accent-5: ${base07}; /* accent buttons when clicked */
|
--accent-5: ${base07}; /* accent buttons when clicked */
|
||||||
--mention: ${base00}1a; /* mentions & mention messages */
|
--mention: ${rgba base0E 0.1}; /* mentions & mention messages */
|
||||||
--mention-hover: ${base00}0d; /* mentions & mention messages when hovered */
|
--mention-hover: ${rgba base0E 0.05}; /* mentions & mention messages when hovered */
|
||||||
|
|
||||||
/* text colors */
|
/* text colors */
|
||||||
--text-0: var(--bg-4); /* text on colored elements */
|
--text-0: var(--bg-4); /* text on colored elements */
|
||||||
|
@ -58,13 +60,13 @@ in {
|
||||||
--text-5: ${base04}; /* muted channels/chats and timestamps */
|
--text-5: ${base04}; /* muted channels/chats and timestamps */
|
||||||
|
|
||||||
/* background and dark colors */
|
/* background and dark colors */
|
||||||
--bg-1: ${base0E}; /* dark buttons when clicked */
|
--bg-1: ${base03}; /* dark buttons when clicked */
|
||||||
--bg-2: ${base02}; /* dark buttons */
|
--bg-2: ${base02}; /* dark buttons */
|
||||||
--bg-3: ${base01}; /* spacing, secondary elements */
|
--bg-3: ${base01}; /* spacing, secondary elements */
|
||||||
--bg-4: ${base00}; /* main background color */
|
--bg-4: ${base00}; /* main background color */
|
||||||
--hover: ${base03}1a; /* channels and buttons when hovered */
|
--hover: ${rgba base03 0.1}; /* channels and buttons when hovered */
|
||||||
--active: ${base03}33; /* channels and buttons when clicked or selected */
|
--active: ${rgba base03 0.2}; /* channels and buttons when clicked or selected */
|
||||||
--message-hover: #0000001a; /* messages when hovered */
|
--message-hover: ${rgba base00 0.1}; /* messages when hovered */
|
||||||
|
|
||||||
/* amount of spacing and padding */
|
/* amount of spacing and padding */
|
||||||
--spacing: 12px;
|
--spacing: 12px;
|
||||||
|
|
Loading…
Reference in a new issue