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: 462d8efde8b3114b104db8deb818ac70b671d200
parent 4af8a307eeabf9517ca2fb477f12c7e31823bda9
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 25 Nov 2024 22:28:02 +0200

fix accent color

Diffstat:

Msrc/modules/interface.js15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/modules/interface.js b/src/modules/interface.js @@ -448,6 +448,8 @@ const interfaceMod = { ) state.paletteNameUsed = palette.nameUsed state.paletteDataUsed = palette.dataUsed + state.paletteDataUsed.link = state.paletteDataUsed.link || state.paletteDataUsed.accent + state.paletteDataUsed.accent = state.paletteDataUsed.accent || state.paletteDataUsed.link if (Array.isArray(state.paletteDataUsed)) { const [ name, @@ -460,7 +462,18 @@ const interfaceMod = { cBlue = '#0000FF', cOrange = '#E3FF00' ] = palette.dataUsed - state.paletteDataUsed = { name, bg, fg, text, link, cRed, cBlue, cGreen, cOrange } + state.paletteDataUsed = { + name, + bg, + fg, + text, + link, + accent: link, + cRed, + cBlue, + cGreen, + cOrange + } } console.debug('Palette data used', palette.dataUsed)