buoy-text
Advanced tools
Comparing version 1.1.19 to 1.1.20
@@ -8,3 +8,3 @@ "use strict"; | ||
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 -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n color: ", ";\n padding: 0;\n ", "\n"], ["\n font-family: ", ";\n ", ";\n font-weight: ", ";\n letter-spacing: 0.9px;\n text-transform: uppercase;\n line-height: 1.2;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n color: ", ";\n padding: 0;\n ", "\n"]); | ||
var _templateObject = _taggedTemplateLiteral(["\n font-family: ", ";\n ", ";\n padding: 0;\n font-weight: ", ";\n letter-spacing: 0.9px;\n text-transform: uppercase;\n line-height: 1.2;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n color: ", ";\n ", "\n"], ["\n font-family: ", ";\n ", ";\n padding: 0;\n font-weight: ", ";\n letter-spacing: 0.9px;\n text-transform: uppercase;\n line-height: 1.2;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n color: ", ";\n ", "\n"]); | ||
@@ -11,0 +11,0 @@ var _styledComponents = require("styled-components"); |
{ | ||
"name": "buoy-text", | ||
"version": "1.1.19", | ||
"version": "1.1.20", | ||
"description": "Basic Buoy text styles", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -7,2 +7,3 @@ import styled from "styled-components" | ||
${fontSize("label")}; | ||
padding: 0; | ||
font-weight: ${fontWeight.medium}; | ||
@@ -15,3 +16,2 @@ letter-spacing: 0.9px; | ||
color: ${props => props.theme.colors[props.color]}; | ||
padding: 0; | ||
${props => props.title && | ||
@@ -18,0 +18,0 @@ `margin: 10px 0 20px 0; |