@titelmedia/bricks-theme
Advanced tools
Comparing version 2.0.0 to 2.1.5
@@ -6,2 +6,8 @@ # Change Log | ||
## [2.1.5](https://github.com/titel-media/bricks-lerna/compare/v2.1.4...v2.1.5) (2023-08-28) | ||
### Features | ||
- added custom typeface for zalando page ([1bf2daf](https://github.com/titel-media/bricks-lerna/commit/1bf2daf53bd98b2719df4464382d729ca8d8c33b)) | ||
# [2.0.0](https://github.com/titel-media/bricks-lerna/compare/v1.11.27...v2.0.0) (2023-06-22) | ||
@@ -8,0 +14,0 @@ |
@@ -22,4 +22,10 @@ "use strict"; | ||
var _hsdevilleRoman2 = _interopRequireDefault(require("./fonts/hsdeville-roman.woff2")); | ||
var _monotypeHelveticaDisplay = _interopRequireDefault(require("./fonts/monotype-helvetica-display.woff")); | ||
var _monotypeHelveticaDisplay2 = _interopRequireDefault(require("./fonts/monotype-helvetica-display.woff2")); | ||
var _monotypeHelveticaDisplayMedium = _interopRequireDefault(require("./fonts/monotype-helvetica-display-medium.woff")); | ||
var _monotypeHelveticaDisplayMedium2 = _interopRequireDefault(require("./fonts/monotype-helvetica-display-medium.woff2")); | ||
var _monotypeHelveticaDisplayBold = _interopRequireDefault(require("./fonts/monotype-helvetica-display-bold.woff")); | ||
var _monotypeHelveticaDisplayBold2 = _interopRequireDefault(require("./fonts/monotype-helvetica-display-bold.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']; | ||
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']; | ||
exports.globalFontsNames = globalFontsNames; | ||
@@ -83,2 +89,23 @@ const GlobalFonts = (0, _styledComponents.createGlobalStyle)` | ||
} | ||
@font-face { | ||
font-family: "monotype-helvetica-display"; | ||
src: local("monotype-helvetica-display"), | ||
url(${_monotypeHelveticaDisplay2.default}) format("woff2"), | ||
url(${_monotypeHelveticaDisplay.default}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "monotype-helvetica-display-medium"; | ||
src: local("monotype-helvetica-display-medium"), | ||
url(${_monotypeHelveticaDisplayMedium2.default}) format("woff2"), | ||
url(${_monotypeHelveticaDisplayMedium.default}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "monotype-helvetica-display-bold"; | ||
src: local("monotype-helvetica-display-bold"), | ||
url(${_monotypeHelveticaDisplayBold2.default}) format("woff2"), | ||
url(${_monotypeHelveticaDisplayBold.default}) format("woff"); | ||
} | ||
@@ -85,0 +112,0 @@ * { |
@@ -16,2 +16,8 @@ import { createGlobalStyle } from 'styled-components'; | ||
import HSDevilleWoff2 from './fonts/hsdeville-roman.woff2'; | ||
import MonotypeHelveticaDisplayWoff from './fonts/monotype-helvetica-display.woff'; | ||
import MonotypeHelveticaDisplayWoff2 from './fonts/monotype-helvetica-display.woff2'; | ||
import MonotypeHelveticaDisplayMediumWoff from './fonts/monotype-helvetica-display-medium.woff'; | ||
import MonotypeHelveticaDisplayMediumWoff2 from './fonts/monotype-helvetica-display-medium.woff2'; | ||
import MonotypeHelveticaDisplayBoldWoff from './fonts/monotype-helvetica-display-bold.woff'; | ||
import MonotypeHelveticaDisplayBoldWoff2 from './fonts/monotype-helvetica-display-bold.woff2'; | ||
@@ -25,2 +31,5 @@ export const globalFontsNames = [ | ||
'hs-deville', | ||
'monotype-helvetica-display', | ||
'monotype-helvetica-display-medium', | ||
'monotype-helvetica-display-bold', | ||
]; | ||
@@ -85,2 +94,23 @@ | ||
} | ||
@font-face { | ||
font-family: "monotype-helvetica-display"; | ||
src: local("monotype-helvetica-display"), | ||
url(${MonotypeHelveticaDisplayWoff2}) format("woff2"), | ||
url(${MonotypeHelveticaDisplayWoff}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "monotype-helvetica-display-medium"; | ||
src: local("monotype-helvetica-display-medium"), | ||
url(${MonotypeHelveticaDisplayMediumWoff2}) format("woff2"), | ||
url(${MonotypeHelveticaDisplayMediumWoff}) format("woff"); | ||
} | ||
@font-face { | ||
font-family: "monotype-helvetica-display-bold"; | ||
src: local("monotype-helvetica-display-bold"), | ||
url(${MonotypeHelveticaDisplayBoldWoff2}) format("woff2"), | ||
url(${MonotypeHelveticaDisplayBoldWoff}) format("woff"); | ||
} | ||
@@ -87,0 +117,0 @@ * { |
{ | ||
"name": "@titelmedia/bricks-theme", | ||
"version": "2.0.0", | ||
"version": "2.1.5", | ||
"description": "styles!", | ||
@@ -27,3 +27,3 @@ "author": "highsnob", | ||
}, | ||
"gitHead": "cc99e7238db49ff90624d25f73ca3af276223a20" | ||
"gitHead": "5838db68c61685409c736be267802365e5ae225f" | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
1968024
65
487
2