Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / customize / __docs / styling1.js
Size: Mime:
import { StyledAddToCartButton } from '@skava/packages/pages/Product';
import { media } from '@skava/styleh-toolset';
import { styled } from 'styleh-components';
/* styled(Product) says - the page component will ready for ui-styling */
const StyledProduct = styled(Product) `
  /* css for entire page */
  background-color: white;
  /* css for only a particular component/dom in the page */
  ${StyledAddToCartButton} {
    color: blue;
    ${media.tabletOrSmaller `
       color: black;
    `};
  }
`;
import * as React from 'react';
export class ProductPage extends React.PureComponent {
    render() {
        return React.createElement(StyledProduct, null);
    }
}
//# sourceMappingURL=styling1.js.map