logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: 5e098c123127fd289ac4c4fab8d8ae6e875c63ea
parent a4560d562dd08f2584b220f786aaaaa461361120
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 30 Dec 2024 20:41:38 +0200

better topbar consistency

Diffstat:

Msrc/components/desktop_nav/desktop_nav.scss8--------
Msrc/components/top_bar.style.js12++++++++++++
Mstatic/palettes/index.json1+
3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/src/components/desktop_nav/desktop_nav.scss b/src/components/desktop_nav/desktop_nav.scss @@ -6,10 +6,6 @@ color: var(--inputTopbarText, var(--inputText)); } - a { - color: var(--link); - } - .inner-nav { display: grid; grid-template-rows: var(--navbar-height); @@ -91,10 +87,6 @@ width: 2em; height: 100%; text-align: center; - - .svg-inline--fa { - color: var(--link); - } } .sitename { diff --git a/src/components/top_bar.style.js b/src/components/top_bar.style.js @@ -32,6 +32,18 @@ export default { directives: { textColor: '--text' } + }, + { + component: 'Icon', + parent: { + component: 'ButtonUnstyled', + parent: { + component: 'TopBar' + } + }, + directives: { + textColor: '--parent--text' + } } ] } diff --git a/static/palettes/index.json b/static/palettes/index.json @@ -54,6 +54,7 @@ "bg": "#323337", "fg": "#1D1E21", "link": "#18A0E3", + "accent": "#6671E2", "text": "#DBDDE0", "cRed": "#E05053", "cBlue": "#6671E2",