logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: f819227bed8ab34e775ce5c0501457bf94c45fed
parent 255f47fe56a1f9db2ca669aff1d9bd9cdde5dd8b
Author: Henry Jameson <me@hjkos.com>
Date:   Fri, 11 Jun 2021 11:49:32 +0300

fixed console errors, improved user-selecting, added cyantexting

Diffstat:

Msrc/components/mention_link/mention_link.scss5+++++
Msrc/components/mention_link/mention_link.vue4++--
Msrc/components/status_body/status_body.scss4++++
Msrc/services/theme_data/pleromafe.js6++++++
4 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss @@ -28,6 +28,11 @@ z-index: 1; margin-top: 0.25em; padding: 0.5em; + user-select: all; + } + + .short { + user-select: none; } & .short, diff --git a/src/components/mention_link/mention_link.vue b/src/components/mention_link/mention_link.vue @@ -23,7 +23,7 @@ > <!-- eslint-disable vue/no-v-html --> <FAIcon - size="s" + size="sm" icon="at" class="at" /><span class="shortName"><span @@ -44,7 +44,7 @@ <!-- eslint-disable vue/no-v-html --> <span class="userNameFull" - v-html="userNameFull" + v-text="'@' + userNameFull" /> <!-- eslint-enable vue/no-v-html --> </span> diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss @@ -112,6 +112,10 @@ color: var(--postGreentext, $fallback--cGreen); } + .cyantext { + color: var(--postCyantext, $fallback--cBlue); + } + /* Not sure if this is necessary */ video { max-width: 100%; diff --git a/src/services/theme_data/pleromafe.js b/src/services/theme_data/pleromafe.js @@ -369,6 +369,12 @@ export const SLOT_INHERITANCE = { textColor: 'preserve' }, + postCyantext: { + depends: ['cBlue'], + layer: 'bg', + textColor: 'preserve' + }, + border: { depends: ['fg'], opacity: 'border',