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)
Thu, Mar 6, 2:53 PM
Unknown Object (File)
Sun, Feb 23, 5:49 PM
Unknown Object (File)
Feb 18 2025, 9:14 AM
Unknown Object (File)
Feb 18 2025, 9:14 AM
Unknown Object (File)
Feb 18 2025, 9:14 AM
Unknown Object (File)
Feb 18 2025, 9:14 AM
Unknown Object (File)
Jan 23 2025, 12:15 AM
Unknown Object (File)
Jan 18 2025, 8:21 PM
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