@titelmedia/bricks-theme
Advanced tools
Comparing version 2.1.31 to 2.7.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [2.7.0](https://github.com/titel-media/bricks-lerna/compare/v2.6.0...v2.7.0) (2024-04-25) | ||
### Features | ||
- added custom font to paragraph & headline ([8a500d5](https://github.com/titel-media/bricks-lerna/commit/8a500d5b2f0bef7433ffbea0409ecd4a80f3a532)) | ||
## [2.1.31](https://github.com/titel-media/bricks-lerna/compare/v2.1.30...v2.1.31) (2024-02-16) | ||
@@ -8,0 +14,0 @@ |
@@ -34,2 +34,4 @@ "use strict"; | ||
var _helveticaneue2 = _interopRequireDefault(require("./fonts/helveticaneue.woff2")); | ||
var _helveticaneueBold = _interopRequireDefault(require("./fonts/helveticaneue-bold.woff")); | ||
var _helveticaneueBold2 = _interopRequireDefault(require("./fonts/helveticaneue-bold.woff2")); | ||
var _universRoundedBlack = _interopRequireDefault(require("./fonts/univers-rounded-black.woff")); | ||
@@ -42,3 +44,3 @@ var _universRoundedBlack2 = _interopRequireDefault(require("./fonts/univers-rounded-black.woff2")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
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']; | ||
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', 'helvetica-neue-bold']; | ||
exports.globalFontsNames = globalFontsNames; | ||
@@ -145,3 +147,11 @@ const GlobalFonts = (0, _styledComponents.createGlobalStyle)` | ||
@font-face { | ||
font-family: "helvetica-neue-bold"; | ||
src: local("helvetica-neue-bold"), | ||
url(${_helveticaneueBold2.default}) format("woff2"), | ||
url(${_helveticaneueBold.default}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-black"; | ||
@@ -148,0 +158,0 @@ src: local("univers-rounded-black"), |
@@ -34,2 +34,5 @@ import { createGlobalStyle } from 'styled-components'; | ||
import HelveticaNeueBoldWoff from './fonts/helveticaneue-bold.woff'; | ||
import HelveticaNeueBoldWoff2 from './fonts/helveticaneue-bold.woff2'; | ||
import UniversRoundedBlackWoff from './fonts/univers-rounded-black.woff'; | ||
@@ -55,2 +58,3 @@ import UniversRoundedBlackWoff2 from './fonts/univers-rounded-black.woff2'; | ||
'helvetica-neue', | ||
'helvetica-neue-bold', | ||
]; | ||
@@ -158,3 +162,11 @@ | ||
@font-face { | ||
font-family: "helvetica-neue-bold"; | ||
src: local("helvetica-neue-bold"), | ||
url(${HelveticaNeueBoldWoff2}) format("woff2"), | ||
url(${HelveticaNeueBoldWoff}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "univers-rounded-black"; | ||
@@ -161,0 +173,0 @@ src: local("univers-rounded-black"), |
{ | ||
"name": "@titelmedia/bricks-theme", | ||
"version": "2.1.31", | ||
"version": "2.7.0", | ||
"description": "styles!", | ||
@@ -27,3 +27,3 @@ "author": "highsnob", | ||
}, | ||
"gitHead": "ecfa0a44cd25544793f0542e4d546eb0f7e43721" | ||
"gitHead": "6170642b883c98c32c5ae678a08ac6f66aa12bf9" | ||
} |
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
3311407
93
603