buoy-text
Advanced tools
Comparing version 1.0.1 to 1.0.3
@@ -8,3 +8,3 @@ "use strict"; | ||
var _templateObject = _taggedTemplateLiteral(["\n color: ", ";\n ", ";\n line-height: 1.3;\n"], ["\n color: ", ";\n ", ";\n line-height: 1.3;\n"]); | ||
var _templateObject = _taggedTemplateLiteral(["\n font-family: ", ";\n color: ", ";\n ", ";\n line-height: 1.3;\n"], ["\n font-family: ", ";\n color: ", ";\n ", ";\n line-height: 1.3;\n"]); | ||
@@ -17,3 +17,3 @@ var _styledComponents = require("styled-components"); | ||
var Heading = (0, _styledComponents.css)(_templateObject, function (props) { | ||
var Heading = (0, _styledComponents.css)(_templateObject, _buoyTheme.fontFamily, function (props) { | ||
return props.theme.colors[props.color]; | ||
@@ -20,0 +20,0 @@ }, function (props) { |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _templateObject = _taggedTemplateLiteral(["\n ", ";\n font-weight: ", ";\n letter-spacing: 0.9px;\n text-transform: uppercase;\n line-height: 1.2;\n color: ", ";\n ", "\n"], ["\n ", ";\n font-weight: ", ";\n letter-spacing: 0.9px;\n text-transform: uppercase;\n line-height: 1.2;\n color: ", ";\n ", "\n"]); | ||
var _templateObject = _taggedTemplateLiteral(["\n font-family: ", ";\n ", ";\n font-weight: ", ";\n letter-spacing: 0.9px;\n text-transform: uppercase;\n line-height: 1.2;\n color: ", ";\n ", "\n"], ["\n font-family: ", ";\n ", ";\n font-weight: ", ";\n letter-spacing: 0.9px;\n text-transform: uppercase;\n line-height: 1.2;\n color: ", ";\n ", "\n"]); | ||
@@ -21,3 +21,3 @@ var _styledComponents = require("styled-components"); | ||
var Label = _styledComponents2.default.h2(_templateObject, (0, _buoyTheme.fontSize)("label"), _buoyTheme.fontWeight.medium, function (props) { | ||
var Label = _styledComponents2.default.h2(_templateObject, _buoyTheme.fontFamily, (0, _buoyTheme.fontSize)("label"), _buoyTheme.fontWeight.medium, function (props) { | ||
return props.theme.colors[props.color]; | ||
@@ -24,0 +24,0 @@ }, function (props) { |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _templateObject = _taggedTemplateLiteral(["\n ", "\n font-weight: ", ";\n line-height: 1.44;\n letter-spacing: 0.2px;\n color: ", ";\n ", "\n ", "\n ", "\n ", "\n"], ["\n ", "\n font-weight: ", ";\n line-height: 1.44;\n letter-spacing: 0.2px;\n color: ", ";\n ", "\n ", "\n ", "\n ", "\n"]); | ||
var _templateObject = _taggedTemplateLiteral(["\n font-family: ", ";\n ", "\n font-weight: ", ";\n line-height: 1.44;\n letter-spacing: 0.2px;\n color: ", ";\n ", "\n ", "\n ", "\n ", "\n"], ["\n font-family: ", ";\n ", "\n font-weight: ", ";\n line-height: 1.44;\n letter-spacing: 0.2px;\n color: ", ";\n ", "\n ", "\n ", "\n ", "\n"]); | ||
@@ -21,3 +21,3 @@ var _styledComponents = require("styled-components"); | ||
var Paragraph = _styledComponents2.default.p(_templateObject, function (props) { | ||
var Paragraph = _styledComponents2.default.p(_templateObject, _buoyTheme.fontFamily, function (props) { | ||
return (0, _buoyTheme.fontSize)(props.small ? "body2" : "body1")(props); | ||
@@ -24,0 +24,0 @@ }, _buoyTheme.fontWeight.light, function (props) { |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.Label = exports.HeadingThree = exports.HeadingTwo = exports.HeadingOne = undefined; | ||
exports.Paragraph = exports.Label = exports.HeadingThree = exports.HeadingTwo = exports.HeadingOne = undefined; | ||
@@ -34,2 +34,3 @@ var _HeadingOne = require("./components/HeadingOne"); | ||
exports.HeadingThree = _HeadingThree2.default; | ||
exports.Label = _Label2.default; | ||
exports.Label = _Label2.default; | ||
exports.Paragraph = _Paragraph2.default; |
{ | ||
"name": "buoy-text", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "Basic Buoy text styles", | ||
@@ -12,3 +12,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"buoy-theme": "^1.0.2" | ||
"buoy-theme": "^1.0.4" | ||
}, | ||
@@ -15,0 +15,0 @@ "peerDependencies": { |
12484
249
Updatedbuoy-theme@^1.0.4