Page MenuHomePhabricator

[native] add danger option to `PrimaryButton`
ClosedPublic

Authored by kamil on Dec 12 2024, 11:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 2, 4:32 AM
Unknown Object (File)
Thu, Mar 27, 5:02 PM
Unknown Object (File)
Wed, Mar 26, 10:06 AM
Unknown Object (File)
Tue, Mar 25, 7:53 PM
Unknown Object (File)
Tue, Mar 25, 2:17 PM
Unknown Object (File)
Mar 6 2025, 2:53 PM
Unknown Object (File)
Feb 23 2025, 5:49 PM
Unknown Object (File)
Feb 18 2025, 9:14 AM
Subscribers
None

Details

Summary

ENG-9959.

According to this we want a red Remove button so adding this config here.

I was trying to follow the approach we had in the codebase and was looking for patterns, but perhaps I broke some rules in how we should use colors, so sorry for that in advance.

Dark:

image.png (160×746 px, 15 KB)

Light:

image.png (150×736 px, 16 KB)

Example screen where this is used:

IMG_4790 (1).PNG (1×828 px, 57 KB)

Depends on D14149

Test Plan

Render button using dark and light theme

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable