Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font-weight #20

Closed
zippaaa opened this issue Apr 24, 2017 · 2 comments
Closed

font-weight #20

zippaaa opened this issue Apr 24, 2017 · 2 comments

Comments

@zippaaa
Copy link

zippaaa commented Apr 24, 2017

Please remove the replacement

'font-weight': function (value) {
   if (value == 'normal')      
       return '400';             
    else if (value == 'bold')   
      return '700';             
    else                        
      return value;
});

It is not right.

I can use a font with a different weight:

@font-face {
        font-family: 'Abc';
        src: local('Abc'),
                url('http://.../Abc.woff') format('woff');  <---- light 300
        font-weight: normal; <---- as normal
}

div {
    font-family: Abc;
    font-weight: normal; <---- now normal is font's weight
}
@seven-phases-max
Copy link
Member

seven-phases-max commented Apr 24, 2017

This plugin is just a wrapper for the clean-css lib so you need to post your issue/proposal there.

@zippaaa
Copy link
Author

zippaaa commented Apr 24, 2017

Sorry )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants