|
|
hace 3 años | |
|---|---|---|
| .. | ||
| dist | hace 3 años | |
| lib | hace 3 años | |
| .babelrc | hace 3 años | |
| .eslintrc | hace 3 años | |
| LICENSE | hace 3 años | |
| changelog.md | hace 3 años | |
| karma.conf.js | hace 3 años | |
| package.json | hace 3 años | |
| readme.md | hace 3 años | |
| tests.html | hace 3 años | |
| tests.webpack.js | hace 3 años | |
| webpack.config.js | hace 3 años | |
If you want to write regular globally scoped CSS with JSS, this plugin is for you. Don’t use it if you can avoid it.
const styles = {
'@global': {
body: {
color: 'green'
},
a: {
textDecoration: 'underline'
}
}
}
const styles = {
'@global body': {
color: 'green'
}
}
const styles = {
button: {
float: 'left',
'@global': {
span: {color: 'red'}
}
}
}
const styles = {
button: {
float: 'left',
'@global span': {color: 'red'}
}
}
File a bug against cssinjs/jss prefixed with [jss-global].
npm i
npm run test
MIT