From f2c09f9ea825f1f321deaf182b57fa01e29fa707 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 11 Jun 2021 11:49:32 +0300 Subject: [PATCH] fixed console errors, improved user-selecting, added cyantexting --- src/components/mention_link/mention_link.scss | 5 +++++ src/components/mention_link/mention_link.vue | 4 ++-- src/components/status_body/status_body.scss | 4 ++++ src/services/theme_data/pleromafe.js | 6 ++++++ 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 index 1be3e7c5..5f5da98f 100644 --- 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 index 062ad4bc..3449f4bd 100644 --- a/src/components/mention_link/mention_link.vue +++ b/src/components/mention_link/mention_link.vue @@ -23,7 +23,7 @@ > diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss index 10b4c186..310185ae 100644 --- 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 index 14aac975..c2983be7 100644 --- 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',