We add the styles for spoiler text on native by adding a style for both the text color and the background to make the spoilers uniquely
display.
https://linear.app/comm/issue/ENG-1984/add-spoiler-style-to-native-markdown-styles
Depends on D5347
Differential D5373
[native] Add spoiler style to native markdown styles rohan on Oct 14 2022, 7:52 PM. Authored by Tags None Referenced Files
Details We add the styles for spoiler text on native by adding a style for both the text color and the background to make the spoilers uniquely https://linear.app/comm/issue/ENG-1984/add-spoiler-style-to-native-markdown-styles Depends on D5347 Visually works as expected and the spoiler styles apply to only the spoiler text.
Diff Detail
Event TimelineComment Actions Code looks good, but I think about changing the black to something like a dark gray. I think the black looks a bit harsh with the black background outside the message container. Defer to @atul for second take as well Comment Actions Not sure if this is the "final" styling for spoilers, but looks good for now. I think we might want to round the corners and kind of match the styling of code blocks (eg same color) Comment Actions I think this is a fine style for now, we can revisit later
Comment Actions color looks a lot better, I agree with @ashoat and I think we can get rid of spoilerText style. I would address that before landing
|