Skip to content

Commit 9f35381

Browse files
authored
Add tooltip colors (#593)
* Add tooltip colors * Fix text input border color
1 parent 2178571 commit 9f35381

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/components/input/styled.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ export const Input = styled(Flex).attrs(props => ({
1515
background: "inputBg",
1616
backgroundOpacity: props.disabled ? 0.4 : 1,
1717
width: "100%",
18-
border: props.error ? "error" : props.hasValue ? "text" : "inputBorder",
18+
border: props.error ? "error" : "inputBorder",
1919
_hover: {
2020
border: props.error ? "errorText" : "inputBorderHover",
2121
},
2222
_focus: {
23-
border: props.error ? "errorText" : "inputBorderFocus",
23+
border: props.error ? "error" : "inputBorder",
2424
},
2525
padding: [0.5, 1],
2626
height: 6,

src/theme/dark/colors.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ const appColors = {
7272
selected: rawColors.neutral.grey55,
7373
highlight: rawColors.neutral.grey55,
7474
tooltip: rawColors.neutral.outerSpace,
75-
tooltipText: rawColors.neutral.white,
75+
tooltipText: rawColors.neutral.grey150,
76+
tooltipBg: rawColors.neutral.grey10,
7677
bright: rawColors.neutral.white,
7778
text: rawColors.neutral.grey155,
7879
textLite: rawColors.neutral.grey120,

src/theme/default/colors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const appColors = {
7474

7575
tooltip: rawColors.neutral.grey180,
7676
tooltipText: rawColors.neutral.grey100,
77+
tooltipBg: rawColors.neutral.grey190,
7778
bright: rawColors.neutral.white,
7879
text: rawColors.neutral.grey100,
7980
textLite: rawColors.neutral.grey120,

0 commit comments

Comments
 (0)