From 4c6b4c66463087db723120ab009af164d70fc8c4 Mon Sep 17 00:00:00 2001 From: twoneis Date: Wed, 14 Feb 2024 23:25:06 +0100 Subject: [PATCH] changed to dorion (config not working yet) --- modules/system/home/discord/default.nix | 11 +- .../system/home/discord/dorion-config.json | 27 ++++ .../system/home/discord/rose-pine.theme.css | 122 ++++++++++++++++++ 3 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 modules/system/home/discord/dorion-config.json create mode 100644 modules/system/home/discord/rose-pine.theme.css diff --git a/modules/system/home/discord/default.nix b/modules/system/home/discord/default.nix index 9358903..459869f 100644 --- a/modules/system/home/discord/default.nix +++ b/modules/system/home/discord/default.nix @@ -1,5 +1,14 @@ { pkgs, ... }: { home.packages = with pkgs; [ - webcord + dorion ]; + + home.file = { + # ".config/dorion/config.json" = { + # source = ./dorion-config.json; + # }; + # ".config/dorion/themes/rose-pine.css" = { + # source = ./rose-pine.theme.css; + # }; + }; } diff --git a/modules/system/home/discord/dorion-config.json b/modules/system/home/discord/dorion-config.json new file mode 100644 index 0000000..95704ac --- /dev/null +++ b/modules/system/home/discord/dorion-config.json @@ -0,0 +1,27 @@ +{ + "theme":"rose-pine.theme.css", + "zoom":"1.0", + "client_type":"default", + "sys_tray":false, + "block_telemetry":true, + "push_to_talk":null, + "push_to_talk_keys":null, + "cache_css":true, + "use_native_titlebar":false, + "start_maximized":false, + "profile":null, + "streamer_mode_detection":false, + "rpc_server":null, + "open_on_startup":false, + "startup_minimized":false, + "autoupdate":false, + "update_notify":false, + "desktop_notifications":null, + "auto_clear_cache":null, + "multi_instance":false, + "disable_hardware_accel":false, + "blur":null, + "blur_css":null, + "client_mods":["Shelter"], + "unread_badge":null +} diff --git a/modules/system/home/discord/rose-pine.theme.css b/modules/system/home/discord/rose-pine.theme.css new file mode 100644 index 0000000..2e12195 --- /dev/null +++ b/modules/system/home/discord/rose-pine.theme.css @@ -0,0 +1,122 @@ +/** +* @name Rosé Pine +* @author blueb +* @authorId 403390454273409028 +* @version 3.0.9 +* @description All natural pine, faux fur and a bit of soho vibes for the classy minimalist. +* @source https://github.com/rose-pine/discord +* @updateUrl https://github.com/rose-pine/discord/blob/rose-pine.theme.css +*/ + +@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap'); +:root { +--Chat-Font-Used: 'Fira Code', normal ; +--Chat-Font-Size: 14px; +} +:not([class="hljs"]):not(code){ +font-family: var(--Chat-Font-Used)!important; +} + +.theme-dark { + --background-primary: #26233a; + --background-secondary: #1f1d2e; + --background-secondary-alt: #26233a; + --channeltextarea-background: #2c2842; + --background-tertiary: #191724; + --background-accent: #ebbcba; + --text-normal: #dad7fd; + --text-spotify: #9ccfd8; + --text-muted: #4f4c58; + --text-link: #31748f; + --background-floating: #1f1d2e; + --header-primary: #e0def4; + --header-secondary: #9ccfd8; + --header-spotify: #9ccfd8; + --interactive-normal: #e0def4; + --interactive-hover: #c4a7e7; + --interactive-active: #e0def4; + --ping: #eb6f92; + --background-modifier-selected: #26233ab4; + --scrollbar-thin-thumb: #191724; + --scrollbar-thin-track: transparent; + --scrollbar-auto-thumb: #191724; + --scrollbar-auto-track: transparent; +} + +.theme-light { + --background-primary: #faf4ed; + --background-secondary: #fffaf3; + --background-secondary-alt: #f2e9de; + --channeltextarea-background: #f2e9de; + --background-tertiary: #f2e9de; + --background-accent: #d7827e; + --text-normal: #575279; + --text-spotify: #575279; + --text-muted: #6e6a86; + --text-link: #286983; + --background-floating: #f2e9de; + --header-primary: #575279; + --header-secondary: #575279; + --header-spotify: #56949f; + --interactive-normal: #575279; + --interactive-hover: #6e6a86; + --interactive-active: #575279; +} + +body { + --font-display: Fira Code; +} + +.body-2wLx-E, .headerTop-3GPUSF, .bodyInnerWrapper-2bQs1k, .footer-3naVBw { + background-color: var(--background-tertiary); +} + +.title-17SveM, .name-3Uvkvr{ + font-size: 14px; +} + +.panels-3wFtMD { + background-color: var(--background-secondary); +} + +.username-h_Y3Us { + font-family: var(--font-display); + font-size: 14px; +} + +.peopleColumn-1wMU14, .panels-j1Uci_, .peopleColumn-29fq28, .peopleList-2VBrVI, .content-2hZxGK, .header-1zd7se, .root-g14mjS .small-23Atuv .fullscreenOnMobile-ixj0e3{ + background-color: var(--background-secondary); +} + +.textArea-12jD-V, .lookBlank-3eh9lL, .threadSidebar-1o3BTy, .scrollableContainer-2NUZem, .perksModalContentWrapper-3RHugb, .theme-dark .footer-31IekZ, .theme-light .footer-31IekZ{ + background-color: var(--background-tertiary); +} + +.numberBadge-2s8kKX, .base-PmTxvP, .baseShapeRound-1Mm1YW, .bar-30k2ka, .unreadMentionsBar-1Bu1dC, .mention-1f5kbO, .active-1SSsBb, .disableButton-220a9y { + background-color: var(--ping) !important; +} + +.lookOutlined-3sRXeN.colorRed-1TFJan, .lookOutlined-3sRXeN.colorRed-1TFJan { + color: var(--ping) !important; +} + +.header-3OsQeK, .container-ZMc96U { + box-shadow: none!important; + border: none!important; +} + +.content-1gYQeQ, .layout-1qmrhw, .inputDefault-3FGxgL, .input-2g-os5, .input-2z42oC, .role-2TIOKu, .searchBar-jGtisZ { + border-radius: 6px; +} + +.layout-1qmrhw:hover, .content-1gYQeQ:hover { + background-color: var(--background-modifier-selected)!important; +} + +.container-3wLKDe { + background-color: var(--background-secondary) !important; +} + +.title-31SJ6t { + background-color: var(--background-primary) !important; +}