diff options
author | Eric Bailey <git@esb.lol> | 2024-02-09 11:52:32 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 09:52:32 -0800 |
commit | d6235453c9b5f297b95edd58864fe26268239318 (patch) | |
tree | e33103843603eda398b27231eada8e0c445509f2 /src/components/Divider.tsx | |
parent | 43b447e5f4345bd6c3a6957cb5aa1587324799e8 (diff) | |
download | voidsky-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.tsx | 14 |
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), + ]} + /> + ) } |