diff --git a/src/components/base/BoldToggle.js b/src/components/base/BoldToggle.js
new file mode 100644
index 00000000..08850d40
--- /dev/null
+++ b/src/components/base/BoldToggle.js
@@ -0,0 +1,38 @@
+// @flow
+
+import React from 'react'
+
+import Text from 'components/base/Text'
+import Box from 'components/base/Box'
+
+type Props = {
+ boldWeight?: string | number,
+ normalWeight?: string | number,
+ isBold: boolean,
+ children: any,
+}
+
+function BoldToggle(props: Props) {
+ const { boldWeight, normalWeight, isBold, children, ...p } = props
+ return (
+
+
+ {children}
+
+ {!isBold && (
+
+
+ {children}
+
+
+ )}
+
+ )
+}
+
+BoldToggle.defaultProps = {
+ boldWeight: 600,
+ normalWeight: 400,
+}
+
+export default BoldToggle
diff --git a/src/components/base/Pills/index.js b/src/components/base/Pills/index.js
index 5c2c7ec4..4e0039eb 100644
--- a/src/components/base/Pills/index.js
+++ b/src/components/base/Pills/index.js
@@ -5,6 +5,7 @@ import styled from 'styled-components'
import { rgba } from 'styles/helpers'
import Box, { Tabbable } from 'components/base/Box'
+import BoldToggle from 'components/base/BoldToggle'
type Item = {
key: string,
@@ -43,11 +44,14 @@ function Pills(props: Props) {
const { items, activeKey, onChange, ...p } = props
return (
- {items.map(item => (
- onChange(item)} key={item.key}>
- {item.label}
-
- ))}
+ {items.map(item => {
+ const isActive = item.key === activeKey
+ return (
+ onChange(item)} key={item.key}>
+ {item.label}
+
+ )
+ })}
)
}