Socket
Socket
Sign inDemoInstall

polythene-theme

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polythene-theme - npm Package Compare versions

Comparing version 0.1.17 to 0.1.18

2

font-roboto/font-roboto.es6.js

@@ -1,2 +0,2 @@

import webfontLoader from 'polythene-theme/common/webfontLoader';
import webfontLoader from 'polythene-theme/common/webfontloader';
webfontLoader.add('google', 'Roboto:400,500,700,400italic:latin');

@@ -1,1 +0,1 @@

"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj}}var _polytheneThemeCommonWebfontLoader=require("polythene-theme/common/webfontLoader");var _polytheneThemeCommonWebfontLoader2=_interopRequireDefault(_polytheneThemeCommonWebfontLoader);_polytheneThemeCommonWebfontLoader2["default"].add("google","Roboto:400,500,700,400italic:latin");
"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj}}var _polytheneThemeCommonWebfontloader=require("polythene-theme/common/webfontloader");var _polytheneThemeCommonWebfontloader2=_interopRequireDefault(_polytheneThemeCommonWebfontloader);_polytheneThemeCommonWebfontloader2["default"].add("google","Roboto:400,500,700,400italic:latin");
{
"name": "polythene-theme",
"version": "0.1.17",
"version": "0.1.18",
"description": "Polythene default theme",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -180,5 +180,5 @@ # Polythene-theme

~~~javascript
import webfontLoader from 'polythene-theme/common/webfontLoader';
import webfontLoader from 'polythene-theme/common/webfontloader';
webfontLoader.add('google', 'Roboto:400,500,700,400italic:latin');
webfontLoader.add('google', 'Raleway:400,500,600:latin');
~~~
const styles = [{
'*': [{
'box-sizing': 'border-box'
},
// remove tap highlight in mobile Safari
{
'-webkit-tap-highlight-color': 'rgba(0,0,0,0)'
}, {
'-webkit-tap-highlight-color': 'transparent'
} // For some Androids
],
// Remove dotted link borders in Firefox
' a, a:active, a:focus': {
'outline': 'none'
},
// Typography
// source: mdl, Copyright 2015 Google Inc
' html, body': {
//'font-family': 'Helvetica, Arial, sans-serif',
'font-size': '14px',
'font-weight': '400',
'line-height': '20px'
},
' h1, h2, h3, h4, h5, h6, p': {
'margin': 0,
'padding': 0
},
}
}, {
' h1 small, h2 small, h3 small, h4 small, h5 small, h6 small': {

@@ -37,4 +13,5 @@ //'font-family': 'Roboto, Helvetica, Arial, sans-serif',

'font-size': '0.6em'
//opacity: 0.54;
},
//opacity: 0.54;
}
}, {
' h1': {

@@ -47,3 +24,4 @@ //'font-family': 'Roboto, Helvetica, Arial, sans-serif',

'margin-bottom': '24px'
},
}
}, {
' h2': {

@@ -56,3 +34,4 @@ //'font-family': 'Roboto, Helvetica, Arial, sans-serif',

'margin-bottom': '24px'
},
}
}, {
' h3': {

@@ -65,3 +44,4 @@ //'font-family': 'Roboto, Helvetica, Arial, sans-serif',

'margin-bottom': '24px'
},
}
}, {
' h4': {

@@ -75,3 +55,4 @@ //'font-family': 'Roboto, Helvetica, Arial, sans-serif',

'margin-bottom': '16px'
},
}
}, {
' h5': {

@@ -85,3 +66,4 @@ //'font-family': 'Roboto, Helvetica, Arial, sans-serif',

'margin-bottom': '16px'
},
}
}, {
' h6': {

@@ -95,3 +77,29 @@ //'font-family': 'Roboto, Helvetica, Arial, sans-serif',

'margin-bottom': '16px'
}
}, {
'*': [{
'box-sizing': 'border-box'
},
// remove tap highlight in mobile Safari
{
'-webkit-tap-highlight-color': 'rgba(0,0,0,0)'
}, {
'-webkit-tap-highlight-color': 'transparent'
} // For some Androids
],
// Remove dotted link borders in Firefox
' a, a:active, a:focus': {
'outline': 'none'
},
// Typography
// source: mdl, Copyright 2015 Google Inc
' html, body': {
//'font-family': 'Helvetica, Arial, sans-serif',
'font-size': '14px',
'font-weight': '400',
'line-height': '20px'
},
' p': {

@@ -98,0 +106,0 @@ 'font-size': '14px',

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:true});var styles=[{"*":[{"box-sizing":"border-box"},{"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},{"-webkit-tap-highlight-color":"transparent"}]," a, a:active, a:focus":{outline:"none"}," html, body":{"font-size":"14px","font-weight":"400","line-height":"20px"}," h1, h2, h3, h4, h5, h6, p":{margin:0,padding:0}," h1 small, h2 small, h3 small, h4 small, h5 small, h6 small":{"font-weight":"400","line-height":"1.35","letter-spacing":"-0.02em","font-size":"0.6em"}," h1":{"font-size":"56px","font-weight":"400","line-height":"1.35","margin-top":"24px","margin-bottom":"24px"}," h2":{"font-size":"45px","font-weight":"400","line-height":"48px","margin-top":"24px","margin-bottom":"24px"}," h3":{"font-size":"34px","font-weight":"400","line-height":"40px","margin-top":"24px","margin-bottom":"24px"}," h4":{"font-size":"24px","font-weight":"400","line-height":"32px","-moz-osx-font-smoothing":"grayscale","margin-top":"24px","margin-bottom":"16px"}," h5":{"font-size":"20px","font-weight":"500","line-height":"1","letter-spacing":"-0.02em","margin-top":"24px","margin-bottom":"16px"}," h6":{"font-size":"16px","font-weight":"400","line-height":"24px","letter-spacing":"0.04em","margin-top":"24px","margin-bottom":"16px"}," p":{"font-size":"14px","font-weight":"400","line-height":"24px","letter-spacing":"0","margin-bottom":"16px"}," blockquote":{position:"relative","font-size":"24px","font-weight":300,"font-style":"italic","line-height":"1.35","letter-spacing":"0.08em","margin-top":"24px","margin-bottom":"16px",":before":{position:"absolute",left:"-0.5em",content:"“"},":after":{position:"absolute","margin-left":"-0.05em",content:"”"}}," mark":{}," dt":{"font-weight":"700"}," address":{"font-size":"12px","font-weight":400,"line-height":1,"letter-spacing":0,"font-style":"normal"}," ul, ol":{"font-size":"14px","font-weight":400,"line-height":"24px","letter-spacing":0}}];exports["default"]=styles;module.exports=exports["default"];
"use strict";Object.defineProperty(exports,"__esModule",{value:true});var styles=[{" h1, h2, h3, h4, h5, h6, p":{margin:0,padding:0}},{" h1 small, h2 small, h3 small, h4 small, h5 small, h6 small":{"font-weight":"400","line-height":"1.35","letter-spacing":"-0.02em","font-size":"0.6em"}},{" h1":{"font-size":"56px","font-weight":"400","line-height":"1.35","margin-top":"24px","margin-bottom":"24px"}},{" h2":{"font-size":"45px","font-weight":"400","line-height":"48px","margin-top":"24px","margin-bottom":"24px"}},{" h3":{"font-size":"34px","font-weight":"400","line-height":"40px","margin-top":"24px","margin-bottom":"24px"}},{" h4":{"font-size":"24px","font-weight":"400","line-height":"32px","-moz-osx-font-smoothing":"grayscale","margin-top":"24px","margin-bottom":"16px"}},{" h5":{"font-size":"20px","font-weight":"500","line-height":"1","letter-spacing":"-0.02em","margin-top":"24px","margin-bottom":"16px"}},{" h6":{"font-size":"16px","font-weight":"400","line-height":"24px","letter-spacing":"0.04em","margin-top":"24px","margin-bottom":"16px"}},{"*":[{"box-sizing":"border-box"},{"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},{"-webkit-tap-highlight-color":"transparent"}]," a, a:active, a:focus":{outline:"none"}," html, body":{"font-size":"14px","font-weight":"400","line-height":"20px"}," p":{"font-size":"14px","font-weight":"400","line-height":"24px","letter-spacing":"0","margin-bottom":"16px"}," blockquote":{position:"relative","font-size":"24px","font-weight":300,"font-style":"italic","line-height":"1.35","letter-spacing":"0.08em","margin-top":"24px","margin-bottom":"16px",":before":{position:"absolute",left:"-0.5em",content:"“"},":after":{position:"absolute","margin-left":"-0.05em",content:"”"}}," mark":{}," dt":{"font-weight":"700"}," address":{"font-size":"12px","font-weight":400,"line-height":1,"letter-spacing":0,"font-style":"normal"}," ul, ol":{"font-size":"14px","font-weight":400,"line-height":"24px","letter-spacing":0}}];exports["default"]=styles;module.exports=exports["default"];
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc