How to use the css.fonts.small function in css

To help you get started, we’ve selected a few css examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SpencerCDixon / blog / wrappers / md.js View on Github external
fontFamily: fonts.tertiary,
            fontWeight: fonts.xThin,
          }}>
          {post.title}
        

        
          
            
          
          
            
          
        

        <div>
        

        
          
        

        
          </div>
github SpencerCDixon / blog / pages / blog.js View on Github external
pageLinks.push(
        <li style="{{">
          {title}
          
            
              
            
            
              
            
          
        </li>
      );
    }
  });
github SpencerCDixon / blog / components / Date / Date.js View on Github external
import React, { PropTypes } from 'react';
import moment from 'moment';
import { colors, fonts } from 'css';

const sx = {
  color: colors.lightGray,
  fontSize: fonts.small,
};

function Date({ time }) {
  return (
    <span style="{sx}">
      {moment(time).format('MMM Do, YYYY')}
    </span>
  );
}

Date.propTypes = {
  time: PropTypes.string,
};
export default Date;