From 7225d378a43f10007a9928fffb157d6d82d1c726 Mon Sep 17 00:00:00 2001
From: ialokim <ialokim@mailbox.org>
Date: Tue, 27 Sep 2022 12:03:49 +0200
Subject: [PATCH] define secondaryVariant color in BriarTheme

---
 .../main/kotlin/org/briarproject/briar/desktop/theme/Theme.kt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/theme/Theme.kt b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/theme/Theme.kt
index faa5c7f4b3..9c72cc983e 100644
--- a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/theme/Theme.kt
+++ b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/theme/Theme.kt
@@ -61,6 +61,7 @@ val DarkColors = darkColors(
     primary = Blue500,
     primaryVariant = Night500,
     secondary = Lime500,
+    secondaryVariant = Lime500,
     background = materialDarkBg,
     surface = materialDarkBg,
     error = DeepOrange400,
@@ -74,6 +75,7 @@ val LightColors = lightColors(
     primary = Blue700,
     primaryVariant = Night500,
     secondary = Lime300,
+    secondaryVariant = Lime500,
     background = Color.White,
     surface = Color.White,
     error = DeepOrange500,
@@ -115,7 +117,7 @@ val briarTypography = Typography(
 fun BriarTheme(
     isDarkTheme: Boolean = isSystemInDarkTheme(),
     colors: Colors? = null,
-    content: @Composable () -> Unit
+    content: @Composable () -> Unit,
 ) {
     val myColors = colors ?: if (isDarkTheme) DarkColors else LightColors
 
-- 
GitLab