mirror of
https://github.com/git-touch/git-touch
synced 2024-12-19 19:54:54 +01:00
fix(gitlab): syntax highlight in dark mode
This commit is contained in:
parent
00d67784af
commit
df09ee4c17
@ -55,7 +55,9 @@ class BlobView extends StatelessWidget {
|
|||||||
child: HighlightView(
|
child: HighlightView(
|
||||||
payload,
|
payload,
|
||||||
language: _language,
|
language: _language,
|
||||||
theme: themeMap[codeProvider.theme],
|
theme: themeMap[theme.brightness == Brightness.dark
|
||||||
|
? codeProvider.themeDark
|
||||||
|
: codeProvider.theme],
|
||||||
padding: CommonStyle.padding,
|
padding: CommonStyle.padding,
|
||||||
textStyle: TextStyle(
|
textStyle: TextStyle(
|
||||||
fontSize: codeProvider.fontSize.toDouble(),
|
fontSize: codeProvider.fontSize.toDouble(),
|
||||||
|
Loading…
Reference in New Issue
Block a user