Skip to content

Commit

Permalink
README updated: better lit-css covered.
Browse files Browse the repository at this point in the history
  • Loading branch information
houd1ni committed Apr 10, 2019
1 parent 44746a6 commit 612c1bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default {
// Or any other key in `options.defStyles.key`.
const { colors } = this.fdef
// Also, it's OK to return one css`...` with all classes included.
return {
one: {
color: 'green'
Expand All @@ -152,8 +153,12 @@ export default {
...css`
.other-class {
margin-top: 44; // still ok for fela. will be 44px.
margin-left 22 // no colons and semicolons are ok here.
// you can comment a whole line,
// and if you want to make comment at end of a line,
// please add a semicolon ; "moving" the comment to next line.
margin-left: 22 // hence, this rule value will include this comment.
:hover {
// no colons and semicolons are ok without comments.
background grey
}
}
Expand Down

0 comments on commit 612c1bd

Please sign in to comment.