From 51075896a011fa86ef47992eb64e6938cfc4c7c6 Mon Sep 17 00:00:00 2001 From: Nikhil Vats Date: Wed, 12 Jul 2023 00:26:03 +0530 Subject: [PATCH] fix: link preview border color --- src/styles/styles.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/styles/styles.js b/src/styles/styles.js index c75514a9b53c..809640d65f48 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -25,10 +25,6 @@ import cursor from './utilities/cursor'; import userSelect from './utilities/userSelect'; import textUnderline from './utilities/textUnderline'; -function getTransparentColor(color, transparency = '') { - return `${color}${transparency}`; -} - const picker = { backgroundColor: themeColors.transparent, color: themeColors.text, @@ -3388,7 +3384,7 @@ const styles = { linkPreviewWrapper: { marginTop: 16, borderLeftWidth: 4, - borderLeftColor: getTransparentColor(themeColors.inverse, 33), + borderLeftColor: themeColors.border, paddingLeft: 12, },