UNPKG

@postenbring/hedwig-css

Version:

Styles for [Hedwig Design System](https://github.com/bring/hedwig-design-system).

1 lines 1.44 kB
{"version":3,"sourceRoot":null,"mappings":"AAMA,sIAOA,qIAOA,mIAUA,8HAMA,4HAMA","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/fonts.css"],"sourcesContent":["/* https://caniuse.com/woff2 */\n\n/*\n Font weight with style linking\n https://www.smashingmagazine.com/2013/02/setting-weights-and-styles-at-font-face-declaration/\n */\n@font-face {\n font-family: \"Posten Sans\";\n src: url(\"../assets/fonts/PostenSans-Regular.woff2\") format(\"woff2\");\n font-display: swap;\n font-weight: 400;\n}\n\n@font-face {\n font-family: \"Posten Sans\";\n src: url(\"../assets/fonts/PostenSans-Medium.woff2\") format(\"woff2\");\n font-display: swap;\n font-weight: 500;\n}\n\n@font-face {\n font-family: \"Posten Sans\";\n src: url(\"../assets/fonts/PostenSans-Bold.woff2\") format(\"woff2\");\n font-display: swap;\n font-weight: 700;\n}\n\n/**\n * Legacy font-face with their own family for each font\n */\n@font-face {\n font-family: \"Posten Sans Regular\";\n src: url(\"../assets/fonts/PostenSans-Regular.woff2\") format(\"woff2\");\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Posten Sans Medium\";\n src: url(\"../assets/fonts/PostenSans-Medium.woff2\") format(\"woff2\");\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Posten Sans Bold\";\n src: url(\"../assets/fonts/PostenSans-Bold.woff2\") format(\"woff2\");\n font-display: swap;\n}\n"],"names":[]}