about summary refs log tree commit diff
path: root/src/alf/atoms.ts
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-03-28 16:34:07 +0200
committerGitHub <noreply@github.com>2025-03-28 07:34:07 -0700
commit152bc3c1ec74fadc687efe97361ae7b1b5bd73c3 (patch)
tree14ed8a0bc97a040cc24ea685dad56205a8beca30 /src/alf/atoms.ts
parent55a40c2436b68dea850e54a65c5dd197132c08e4 (diff)
downloadvoidsky-152bc3c1ec74fadc687efe97361ae7b1b5bd73c3.tar.zst
[DMs] Reactions - link up API (attempt 2) (#8074)
* update package

* wire up APIs

* get reactions to display

* allow removing emoji

* handle limits better

* listen to reactions in log

* update convo list with reactions

* tweaks to reaction display

* Handle empty message fallback case

* update package

* shift reacts up by 2px

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/alf/atoms.ts')
-rw-r--r--src/alf/atoms.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/alf/atoms.ts b/src/alf/atoms.ts
index 69ac0c057..5a3e6d675 100644
--- a/src/alf/atoms.ts
+++ b/src/alf/atoms.ts
@@ -1,4 +1,9 @@
-import {Platform, StyleProp, StyleSheet, ViewStyle} from 'react-native'
+import {
+  Platform,
+  type StyleProp,
+  StyleSheet,
+  type ViewStyle,
+} from 'react-native'
 
 import * as tokens from '#/alf/tokens'
 import {ios, native, platform, web} from '#/alf/util/platform'
@@ -126,6 +131,9 @@ export const atoms = {
   rounded_md: {
     borderRadius: tokens.borderRadius.md,
   },
+  rounded_lg: {
+    borderRadius: tokens.borderRadius.lg,
+  },
   rounded_full: {
     borderRadius: tokens.borderRadius.full,
   },
@@ -358,6 +366,9 @@ export const atoms = {
   border_r: {
     borderRightWidth: StyleSheet.hairlineWidth,
   },
+  border_transparent: {
+    borderColor: 'transparent',
+  },
   curve_circular: ios({
     borderCurve: 'circular',
   }),