summaryrefslogtreecommitdiff
path: root/src/react-native-app/constants
diff options
context:
space:
mode:
Diffstat (limited to 'src/react-native-app/constants')
-rw-r--r--src/react-native-app/constants/Colors.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/react-native-app/constants/Colors.ts b/src/react-native-app/constants/Colors.ts
new file mode 100644
index 0000000..8219cf8
--- /dev/null
+++ b/src/react-native-app/constants/Colors.ts
@@ -0,0 +1,28 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+/**
+ * Below are the colors that are used in the app. The colors are defined in the light and dark mode.
+ * There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc.
+ */
+
+const tintColorLight = "#0a7ea4";
+const tintColorDark = "#fff";
+
+export const Colors = {
+ light: {
+ text: "#11181C",
+ background: "#fff",
+ tint: tintColorLight,
+ icon: "#687076",
+ tabIconDefault: "#687076",
+ tabIconSelected: tintColorLight,
+ },
+ dark: {
+ text: "#ECEDEE",
+ background: "#151718",
+ tint: tintColorDark,
+ icon: "#9BA1A6",
+ tabIconDefault: "#9BA1A6",
+ tabIconSelected: tintColorDark,
+ },
+};