summaryrefslogtreecommitdiff
path: root/src/react-native-app/constants
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-09-27 02:14:26 +0530
committerSaumit <justsaumit@protonmail.com>2025-09-27 02:14:26 +0530
commit82e03978b89938219958032efb1448cc76baa181 (patch)
tree626f3e54d52ecd49be0ed3bee30abacc0453d081 /src/react-native-app/constants
Initial snapshot - OpenTelemetry demo 2.1.3 -f
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,
+ },
+};