Fix gift button color (#5108)
This commit is contained in:
parent
ba36d10cd4
commit
75a5fe7716
@ -68,7 +68,7 @@ function GiftItemStar({ sticker, gift, onClick }: OwnProps & StateProps) {
|
||||
nonInteractive
|
||||
size={GIFT_STICKER_SIZE}
|
||||
/>
|
||||
<Button className={styles.buy} nonInteractive size="tiny" color="sparkles" withSparkleEffect pill fluid>
|
||||
<Button className={styles.buy} nonInteractive size="tiny" color="stars" withSparkleEffect pill fluid>
|
||||
<Icon name="star" className={styles.star} />
|
||||
<div className={styles.amount}>
|
||||
{stars}
|
||||
|
||||
@ -22,7 +22,7 @@ export type OwnProps = {
|
||||
size?: 'default' | 'smaller' | 'tiny';
|
||||
color?: (
|
||||
'primary' | 'secondary' | 'gray' | 'danger' | 'translucent' | 'translucent-white' | 'translucent-black'
|
||||
| 'translucent-bordered' | 'dark' | 'green' | 'adaptive' | 'sparkles'
|
||||
| 'translucent-bordered' | 'dark' | 'green' | 'adaptive' | 'stars'
|
||||
);
|
||||
backgroundImage?: string;
|
||||
id?: string;
|
||||
@ -172,7 +172,7 @@ const Button: FC<OwnProps> = ({
|
||||
|
||||
const content = (
|
||||
<>
|
||||
{color === 'sparkles' && withSparkleEffect && <Sparkles preset="button" />}
|
||||
{withSparkleEffect && <Sparkles preset="button" />}
|
||||
{isLoading ? (
|
||||
<div>
|
||||
<span dir={isRtl ? 'auto' : undefined}>{lang('Cache.ClearProgress')}</span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user