Skip to content

feat(plate): adds new prop "warning" for type #1131

Merged
merged 2 commits into from
Apr 16, 2020
Merged

Conversation

IBelyaev
Copy link
Contributor

Добавляет новое состояние для компонента, а именно prop отвечающий за background-color и border-color

Мотивация и контекст

Ссылка на макет
https://www.figma.com/file/NDAzQX1HYAJ2NtQQHNo4LDLs/NIB-Components?node-id=38%3A22

@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.279% when pulling 5883e7f on change-plate into 0687f21 on master.

@prosto-lapsha prosto-lapsha self-requested a review April 15, 2020 14:54
@@ -37,6 +37,12 @@
border: 1px solid rgba(13, 186, 38, 0.2);
}

&_type_warning {
/* TODO rgba-цвета заменить на переменные */
background-color: rgb(255, 249, 240);
Copy link
Contributor

Choose a reason for hiding this comment

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

А почему сейчас не написать нужные цвета из переменных?

@IBelyaev IBelyaev self-assigned this Apr 16, 2020
&_type_warning {
/* TODO rgba-цвета заменить на переменные */
background-color: rgb(255, 249, 240);
border: 1px solid rgba(249, 211, 150, 0.2);
Copy link
Contributor

@SiebenSieben SiebenSieben Apr 16, 2020

Choose a reason for hiding this comment

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

Сделай, пожалуйста, так:

background: rgba(246, 191, 101, 0.1)
border-color: rgba(246, 191, 101, 0.6)

Это --color-sand 0.6 и 0.1, ещё нет в переменных, решают

@SiebenSieben SiebenSieben merged commit d518b39 into master Apr 16, 2020
@delete-merged-branch delete-merged-branch bot deleted the change-plate branch April 16, 2020 08:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants