From 73c81bb863b276eaa985396d9ce87f071899782a Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Thu, 24 Aug 2017 09:59:03 -0400 Subject: [PATCH] RN-73 Fixed code block text colour being incorrect (#868) --- .../markdown/markdown_code_block/markdown_code_block.js | 1 + app/screens/code/code.js | 1 + 2 files changed, 2 insertions(+) diff --git a/app/components/markdown/markdown_code_block/markdown_code_block.js b/app/components/markdown/markdown_code_block/markdown_code_block.js index 17fc7946d..422c6c240 100644 --- a/app/components/markdown/markdown_code_block/markdown_code_block.js +++ b/app/components/markdown/markdown_code_block/markdown_code_block.js @@ -187,6 +187,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { overflow: 'scroll' // Doesn't actually cause a scrollbar, but stops text from wrapping }, codeText: { + color: changeOpacity(theme.centerChannelColor, 0.65), fontSize: 12, lineHeight: 18 }, diff --git a/app/screens/code/code.js b/app/screens/code/code.js index b8d73ae37..9551db6c1 100644 --- a/app/screens/code/code.js +++ b/app/screens/code/code.js @@ -107,6 +107,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { paddingVertical: 4 }, codeText: { + color: changeOpacity(theme.centerChannelColor, 0.65), fontFamily: getCodeFont(), fontSize: 12, lineHeight: 18