about summary refs log tree commit diff
path: root/src/components/Divider.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-02-09 11:52:32 -0600
committerGitHub <noreply@github.com>2024-02-09 09:52:32 -0800
commitd6235453c9b5f297b95edd58864fe26268239318 (patch)
treee33103843603eda398b27231eada8e0c445509f2 /src/components/Divider.tsx
parent43b447e5f4345bd6c3a6957cb5aa1587324799e8 (diff)
downloadvoidsky-d6235453c9b5f297b95edd58864fe26268239318.tar.zst
Design system tweaks (#2822)
* Tweak palette, theme naming, update usages

* Update Typography, replace the few usages
Diffstat (limited to 'src/components/Divider.tsx')
-rw-r--r--src/components/Divider.tsx14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/components/Divider.tsx b/src/components/Divider.tsx
index 9b8f79fd0..24e2789e5 100644
--- a/src/components/Divider.tsx
+++ b/src/components/Divider.tsx
@@ -1,10 +1,18 @@
 import React from 'react'
 import {View} from 'react-native'
-import {atoms as a, useTheme} from '#/alf'
-import {ViewStyleProp} from '#/alf'
+import {atoms as a, useTheme, ViewStyleProp, flatten} from '#/alf'
 
 export function Divider({style}: ViewStyleProp) {
   const t = useTheme()
 
-  return <View style={[a.w_full, a.border_t, t.atoms.border, style]} />
+  return (
+    <View
+      style={[
+        a.w_full,
+        a.border_t,
+        t.atoms.border_contrast_low,
+        flatten(style),
+      ]}
+    />
+  )
 }