Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не устанавливается кастомный цвет в плашке #1221

Closed
gadzhimari opened this issue May 28, 2024 · 1 comment · Fixed by #1279
Closed

Не устанавливается кастомный цвет в плашке #1221

gadzhimari opened this issue May 28, 2024 · 1 comment · Fixed by #1279
Assignees

Comments

@gadzhimari
Copy link

gadzhimari commented May 28, 2024

Опишите проблему

Если передаешь в компонент Plate пропс view="custom", то задавая цвет через css-переменные описанные в доке, цвет плашки не меняется

Шаги для воспроизведения

<Plate
    view='custom'
    limitContentWidth={false}
    border={true}
    shadow={false}
    title='Понадобится залог'
    className={styles.informationPlate}
    leftAddons={
        <Badge
            view='icon'
            iconColor='attention'
            content={<InformationCircleMIcon className={styles.informationIcon} />}
        />
    }
>
    Залог
</Plate>

Ожидаемое поведение

Десктоп (если данных нет оставьте блок пустым):

  • OS: MacOS 14.4.1
  • Browser: Chrome
  • Version: 125.0.6422.112

Screenshot 2024-05-28 at 15 57 24
Screenshot 2024-05-28 at 15 55 35

@Valeri8888
Copy link
Collaborator

привет, этот пр должен решить проблему

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants