buoy-text
Advanced tools
Comparing version 1.0.25 to 1.1.1
@@ -8,3 +8,3 @@ "use strict"; | ||
var _templateObject = _taggedTemplateLiteral(["\n text-decoration: ", ";\n color: ", ";\n"], ["\n text-decoration: ", ";\n color: ", ";\n"]); | ||
var _templateObject = _taggedTemplateLiteral(["\n text-decoration: ", ";\n color: ", ";\n\n strong {\n color: ", ";\n } \n"], ["\n text-decoration: ", ";\n color: ", ";\n\n strong {\n color: ", ";\n } \n"]); | ||
@@ -29,2 +29,4 @@ var _styledComponents = require("styled-components"); | ||
return props.theme.colors[props.color]; | ||
}, function (props) { | ||
return props.theme.colors[props.color]; | ||
}); | ||
@@ -31,0 +33,0 @@ |
{ | ||
"name": "buoy-text", | ||
"version": "1.0.25", | ||
"version": "1.1.1", | ||
"description": "Basic Buoy text styles", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -9,2 +9,6 @@ import styled from "styled-components" | ||
color: ${props => props.theme.colors[props.color]}; | ||
strong { | ||
color: ${props => props.theme.colors[props.color]}; | ||
} | ||
` | ||
@@ -11,0 +15,0 @@ |
@@ -24,4 +24,7 @@ import React from "react" | ||
.add("Label", () => <Label>Example Label</Label>) | ||
.add("Link", () => <div><Link href="https://www.buoyhealth.com">A underlined example</Link> and <Link href="https://www.buoyhealth.com" | ||
underline={false}>An un-underlined example</Link> and a <Link href="https://www.buoyhealth.com" color="neutralDarkest" underline={false}>gray example</Link></div>) | ||
.add("Link", () => <div> | ||
<Link href="https://www.buoyhealth.com">A underlined example</Link> and <Link href="https://www.buoyhealth.com" | ||
underline={false}>An un-underlined example</Link> and a <Link href="https://www.buoyhealth.com" color="neutralDarkest" underline={false}>gray example</Link> | ||
and a <Link><Bold>Bold example</Bold></Link> | ||
</div>) | ||
.add("Bold text", () => <Paragraph><Bold>regular bold example</Bold> https://www.buoyhealth.com is our site and a <Bold extraBold>extra bold example</Bold> https://www.buoyhealth.com is our site</Paragraph>) |
18616
355