Skip to content

Commit 27a26fa

Browse files
authored
fix selected element in the select component (#626)
1 parent ee34edd commit 27a26fa

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nordcloud/gnui",
33
"description": "Nordcloud Design System - a collection of reusable React components used in Nordcloud's SaaS products",
4-
"version": "8.13.0",
4+
"version": "8.13.1",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

src/components/select/Select.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ const SelectContainer = styled.div`
6767
}
6868
&__option {
6969
&--is-selected {
70+
background-color: ${theme.color.support.grey};
71+
color: ${theme.color.text.text01};
7072
&.react-select__option--is-focused {
71-
background-color: ${theme.color.interactive.secondary};
73+
background-color: ${theme.color.support.grey};
74+
color: ${theme.color.text.text01};
7275
}
7376
}
7477
&--is-focused {

0 commit comments

Comments
 (0)