Fix gift button color (#5108)

This commit is contained in:
zubiden 2024-11-02 21:11:21 +04:00 committed by Alexander Zinchuk
parent ba36d10cd4
commit 75a5fe7716
2 changed files with 3 additions and 3 deletions

View File

@ -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}

View File

@ -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>