main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
765 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | exports.addon = function (renderer) {
|
---|
| 4 | if (process.env.NODE_ENV !== 'production') {
|
---|
| 5 | require('./__dev__/warnOnMissingDependencies')('reset-font', renderer, ['rule']);
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | renderer.put('', {
|
---|
| 9 | 'html, body': {
|
---|
| 10 | fontFamily: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",sans-serif',
|
---|
| 11 | fontWeight: 400,
|
---|
| 12 | fontSize: '16px',
|
---|
| 13 |
|
---|
| 14 | '-moz-text-size-adjust': '100%',
|
---|
| 15 | '-ms-text-size-adjust': '100%',
|
---|
| 16 | '-webkit-text-size-adjust': '100%',
|
---|
| 17 | 'text-size-adjust': '100%',
|
---|
| 18 |
|
---|
| 19 | // Makes fonts more smooth/prettier.
|
---|
| 20 | '-webkit-font-smoothing': 'antialiased',
|
---|
| 21 | '-moz-osx-font-smoothing': 'grayscale',
|
---|
| 22 | },
|
---|
| 23 | });
|
---|
| 24 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.