v0.0.11: Added unit-tests, solved the key={...} problem, updated the build/watch configuration of CSX to be able to build minified and non-minified bundle outputs, as well as a CJS version of lib/ (for consuming in Node-environment, like Jest). The previous tests were renamed to examples, and should still need to be updated.
This commit is contained in:
106
examples/pdf/fonts.pcss
Normal file
106
examples/pdf/fonts.pcss
Normal file
@@ -0,0 +1,106 @@
|
||||
/* DINPro */
|
||||
@font-face {
|
||||
font-family: 'DINPro';
|
||||
src: url('assets/fonts/DINPro.otf');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DINPro';
|
||||
src: url('assets/fonts/DINPro-Light.otf');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro';
|
||||
src: url('assets/fonts/DINPro-Italic.otf');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DINPro';
|
||||
src: url('assets/fonts/DINPro-Bold.otf');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro';
|
||||
src: url('assets/fonts/DINPro-BoldItalic.otf');
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro';
|
||||
src: url('assets/fonts/DINPro-Black.otf');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro';
|
||||
src: url('assets/fonts/DINPro-BlackItalic.otf');
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
/* DINPro Condensed */
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro.otf');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondLight.otf');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondIta.otf');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondMedium.otf');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondMediIta.otf');
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondBold.otf');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondBoldIta.otf');
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondBlack.otf');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DINPro Condensed';
|
||||
src: url('assets/fonts/DINPro-CondBlackIta.otf');
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
Reference in New Issue
Block a user