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

fix(cdn-icon): added color icon support #778

Merged
merged 4 commits into from
Aug 7, 2023
Merged

Conversation

sprutkova
Copy link
Contributor

@sprutkova sprutkova commented Aug 4, 2023

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

При name='flag_abkhazia_m_color' или любой другой цветной иконки с пометкой '_color' компонент возвращал черную иконку.

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

  1. <CDNIcon name='flag_abkhazia_m_color' />

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

При name='flag_abkhazia_m_color' или любой другой цветной иконки с пометкой '_color' компонент должен возвращать цветную иконку.

Внешний вид

Ожидаемый Фактический
Screenshot 2023-08-04 at 10 12 20 Screenshot 2023-08-04 at 10 13 13

@changeset-bot
Copy link

changeset-bot bot commented Aug 4, 2023

🦋 Changeset detected

Latest commit: db01fca

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alfalab/core-components-cdn-icon Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coveralls
Copy link

coveralls commented Aug 4, 2023

Pull Request Test Coverage Report for Build 5760373486

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 79.602%

Totals Coverage Status
Change from base Build 5736680835: 0.001%
Covered Lines: 8146
Relevant Lines: 9252

💛 - Coveralls

@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@@ -6,6 +6,6 @@
.component svg {
fill: currentColor;
}
.component path {
.component.parentColor path {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут лучше убрать .component, оставить только .parentColor path {

@v-gevak
Copy link
Contributor

v-gevak commented Aug 4, 2023

changeset нужно добавить

@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@v-gevak v-gevak merged commit b40db03 into master Aug 7, 2023
8 checks passed
@v-gevak v-gevak deleted the fix/colored_cdn_icon branch August 7, 2023 03:15
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 this pull request may close these issues.

None yet

5 participants