@titelmedia/bricks-theme
Advanced tools
Comparing version 2.1.29 to 2.1.31
@@ -6,2 +6,8 @@ # Change Log | ||
## [2.1.31](https://github.com/titel-media/bricks-lerna/compare/v2.1.30...v2.1.31) (2024-02-16) | ||
### Features | ||
- Added univers rounded fonts to paragraph ([238686c](https://github.com/titel-media/bricks-lerna/commit/238686c4d415aeb89dc8d7114834a7d0d33c4ec8)) | ||
## [2.1.29](https://github.com/titel-media/bricks-lerna/compare/v2.1.28...v2.1.29) (2023-12-07) | ||
@@ -8,0 +14,0 @@ |
@@ -34,2 +34,8 @@ "use strict"; | ||
var _helveticaneue2 = _interopRequireDefault(require("./fonts/helveticaneue.woff2")); | ||
var _universRoundedBlack = _interopRequireDefault(require("./fonts/univers-rounded-black.woff")); | ||
var _universRoundedBlack2 = _interopRequireDefault(require("./fonts/univers-rounded-black.woff2")); | ||
var _universRoundedLight = _interopRequireDefault(require("./fonts/univers-rounded-light.woff")); | ||
var _universRoundedLight2 = _interopRequireDefault(require("./fonts/univers-rounded-light.woff2")); | ||
var _universRoundedRoman = _interopRequireDefault(require("./fonts/univers-rounded-roman.woff")); | ||
var _universRoundedRoman2 = _interopRequireDefault(require("./fonts/univers-rounded-roman.woff2")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -137,2 +143,23 @@ const globalFontsNames = ['univers-light', 'univers-roman', 'univers-cond', 'univers-bold-cond', 'univers-black', 'hs-deville', 'monotype-helvetica-display', 'monotype-helvetica-display-medium', 'monotype-helvetica-display-bold', 'trade-gothic', 'robotomono-regular', 'helvetica-neue']; | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-black"; | ||
src: local("univers-rounded-black"), | ||
url(${_universRoundedBlack2.default}) format("woff2"), | ||
url(${_universRoundedBlack.default}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-light"; | ||
src: local("univers-rounded-light"), | ||
url(${_universRoundedLight2.default}) format("woff2"), | ||
url(${_universRoundedLight.default}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-roman"; | ||
src: local("univers-rounded-roman"), | ||
url(${_universRoundedRoman2.default}) format("woff2"), | ||
url(${_universRoundedRoman.default}) format("woff"); | ||
} | ||
@@ -139,0 +166,0 @@ * { |
@@ -23,2 +23,5 @@ "use strict"; | ||
} | ||
if (props.rounded && props.type) { | ||
correctFont = props.type; | ||
} | ||
return `font-family: ${correctFont};`; | ||
@@ -25,0 +28,0 @@ }; |
@@ -14,4 +14,6 @@ import { createGlobalStyle } from 'styled-components'; | ||
import UniversBlackWoff2 from './fonts/univers-black.woff2'; | ||
import HSDevilleWoff from './fonts/hsdeville-roman.woff'; | ||
import HSDevilleWoff2 from './fonts/hsdeville-roman.woff2'; | ||
import MonotypeHelveticaDisplayWoff from './fonts/monotype-helvetica-display.woff'; | ||
@@ -23,9 +25,19 @@ import MonotypeHelveticaDisplayWoff2 from './fonts/monotype-helvetica-display.woff2'; | ||
import MonotypeHelveticaDisplayBoldWoff2 from './fonts/monotype-helvetica-display-bold.woff2'; | ||
import TradeGothicWoff from './fonts/trade-gothic-ltstd-bdcn20.woff'; | ||
import TradeGothicWoff2 from './fonts/trade-gothic-ltstd-bdcn20.woff2'; | ||
import RobotoMonoRegularWoff from './fonts/robotomono-regular.woff'; | ||
import RobotoMonoRegularWoff2 from './fonts/robotomono-regular.woff2'; | ||
import HelveticaNeueWoff from './fonts/helveticaneue.woff'; | ||
import HelveticaNeueWoff2 from './fonts/helveticaneue.woff2'; | ||
import UniversRoundedBlackWoff from './fonts/univers-rounded-black.woff'; | ||
import UniversRoundedBlackWoff2 from './fonts/univers-rounded-black.woff2'; | ||
import UniversRoundedLightWoff from './fonts/univers-rounded-light.woff'; | ||
import UniversRoundedLightWoff2 from './fonts/univers-rounded-light.woff2'; | ||
import UniversRoundedRomanWoff from './fonts/univers-rounded-roman.woff'; | ||
import UniversRoundedRomanWoff2 from './fonts/univers-rounded-roman.woff2'; | ||
export const globalFontsNames = [ | ||
@@ -145,2 +157,23 @@ 'univers-light', | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-black"; | ||
src: local("univers-rounded-black"), | ||
url(${UniversRoundedBlackWoff2}) format("woff2"), | ||
url(${UniversRoundedBlackWoff}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-light"; | ||
src: local("univers-rounded-light"), | ||
url(${UniversRoundedLightWoff2}) format("woff2"), | ||
url(${UniversRoundedLightWoff}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-roman"; | ||
src: local("univers-rounded-roman"), | ||
url(${UniversRoundedRomanWoff2}) format("woff2"), | ||
url(${UniversRoundedRomanWoff}) format("woff"); | ||
} | ||
@@ -147,0 +180,0 @@ * { |
@@ -18,13 +18,9 @@ import { forOwn } from 'lodash'; | ||
} | ||
if (props.rounded && props.type) { | ||
correctFont = props.type; | ||
} | ||
return `font-family: ${correctFont};`; | ||
}; | ||
export const setFontSizes = ({ | ||
xs, | ||
sm, | ||
md, | ||
lg, | ||
xl, | ||
xxl, | ||
}) => { | ||
export const setFontSizes = ({ xs, sm, md, lg, xl, xxl }) => { | ||
const fontSizeProps = { | ||
@@ -31,0 +27,0 @@ xs, |
{ | ||
"name": "@titelmedia/bricks-theme", | ||
"version": "2.1.29", | ||
"version": "2.1.31", | ||
"description": "styles!", | ||
@@ -27,3 +27,3 @@ "author": "highsnob", | ||
}, | ||
"gitHead": "c4dfaee97ef7fcc050957b61ae81a3bb053d26c3" | ||
"gitHead": "ecfa0a44cd25544793f0542e4d546eb0f7e43721" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3243888
89
586