diff --git a/src/_variables.scss b/src/_variables.scss index b5222a6a..5967ccb2 100644 --- a/src/_variables.scss +++ b/src/_variables.scss @@ -27,3 +27,14 @@ $fallback--tooltipRadius: 5px; $fallback--avatarRadius: 4px; $fallback--avatarAltRadius: 10px; $fallback--attachmentRadius: 10px; + +$usercard-text-shadow-color: rgba(0,0,0,.3); +$usercard-text-shadow: 0px 1px 5px rgba(0, 0, 0, .7), +0 1px 0px $usercard-text-shadow-color, +0 -1px 0px $usercard-text-shadow-color, +1px 0 0px $usercard-text-shadow-color, +-1px 0 0px $usercard-text-shadow-color, +1px -1px 0px $usercard-text-shadow-color, +-1px 1px 0px $usercard-text-shadow-color, +1px 1px 0px $usercard-text-shadow-color, +-1px -1px 0px $usercard-text-shadow-color; diff --git a/src/components/user_card_content/user_card_content.js b/src/components/user_card_content/user_card_content.js index 1e8c91de..a6e44d90 100644 --- a/src/components/user_card_content/user_card_content.js +++ b/src/components/user_card_content/user_card_content.js @@ -2,7 +2,7 @@ import StillImage from '../still-image/still-image.vue' import { hex2rgb } from '../../services/color_convert/color_convert.js' export default { - props: [ 'user', 'switcher', 'hideBio' ], + props: [ 'user', 'switcher', 'selected', 'hideBio' ], computed: { headingStyle () { const color = this.$store.state.config.colors.bg diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue index a88c0712..90b5c5cf 100644 --- a/src/components/user_card_content/user_card_content.vue +++ b/src/components/user_card_content/user_card_content.vue @@ -14,8 +14,9 @@