From ab0443a8294c3c47c6f339728a0f0523c18cf349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Wine=CC=81r?= Date: Tue, 26 Mar 2019 14:12:27 +0100 Subject: [PATCH] fix: ratings color and tabs font size --- src/components/rating/rating.styles.js | 2 +- src/components/tabs/tab/tab-styles.jsx | 2 +- src/components/tabs/tabs-styles.jsx | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/rating/rating.styles.js b/src/components/rating/rating.styles.js index 0aa05150..3bc3ecc7 100644 --- a/src/components/rating/rating.styles.js +++ b/src/components/rating/rating.styles.js @@ -3,7 +3,7 @@ export default ({ palette }) => ({ marginRight: 2, }, active: { - color: palette.cta, + color: palette.gray0, }, inactive: { color: palette.gray5, diff --git a/src/components/tabs/tab/tab-styles.jsx b/src/components/tabs/tab/tab-styles.jsx index 112c463f..5e125536 100644 --- a/src/components/tabs/tab/tab-styles.jsx +++ b/src/components/tabs/tab/tab-styles.jsx @@ -50,7 +50,7 @@ export default ({ palette, typography, mixins }) => ({ }, }, - ...typography.tertiary({ + ...typography.secondary({ weight: 'bold', }), }, diff --git a/src/components/tabs/tabs-styles.jsx b/src/components/tabs/tabs-styles.jsx index 9c541f86..47a070d6 100644 --- a/src/components/tabs/tabs-styles.jsx +++ b/src/components/tabs/tabs-styles.jsx @@ -1,4 +1,4 @@ -export default ({ palette }) => ({ +export default ({ typography, palette }) => ({ list: { background: palette.white, padding: 0, @@ -8,6 +8,7 @@ export default ({ palette }) => ({ }, tertiary: { + ...typography.secondary({ weight: 'bold' }), borderBottom: `2px solid ${palette.gray6}`, }, });