{"action":"created","issue":{"url":"https://api.github.com/repos/typestyle/typestyle/issues/272","repository_url":"https://api.github.com/repos/typestyle/typestyle","labels_url":"https://api.github.com/repos/typestyle/typestyle/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/typestyle/typestyle/issues/272/comments","events_url":"https://api.github.com/repos/typestyle/typestyle/issues/272/events","html_url":"https://github.com/typestyle/typestyle/issues/272","id":339457696,"node_id":"MDU6SXNzdWUzMzk0NTc2OTY=","number":272,"title":"Definition of css variables.","user":{"login":"Johnz86","id":2708520,"node_id":"MDQ6VXNlcjI3MDg1MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/2708520?v=4","gravatar_id":"","url":"https://api.github.com/users/Johnz86","html_url":"https://github.com/Johnz86","followers_url":"https://api.github.com/users/Johnz86/followers","following_url":"https://api.github.com/users/Johnz86/following{/other_user}","gists_url":"https://api.github.com/users/Johnz86/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnz86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnz86/subscriptions","organizations_url":"https://api.github.com/users/Johnz86/orgs","repos_url":"https://api.github.com/users/Johnz86/repos","events_url":"https://api.github.com/users/Johnz86/events{/privacy}","received_events_url":"https://api.github.com/users/Johnz86/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-09T13:49:34Z","updated_at":"2018-08-16T11:51:52Z","closed_at":"2018-08-16T11:51:53Z","author_association":"NONE","body":"I want to use and modify css variables on the fly. The only example of this I found here: \r\n\r\nhttps://typestyle.github.io/play/#src=cssRule(':root',%20%7B%0A%20%20'--primary-color':%20'red'%20%20%0A%7D);%0A%0Aconst%20myClass%20=%20style(%7B%0A%20%20color:%20'var(--primary-color)'%0A%7D);%0A%0A%3Cdiv%20className=%7BmyClass%7D%3E%0A%20%20Hello%20world%0A%3C/div%3E\r\n\r\nThe problem is that cssRule will throw an error in typescript for NestedCSSProperties.\r\n\r\nHow do I properly define css variables and modify them with typestyle?"},"comment":{"url":"https://api.github.com/repos/typestyle/typestyle/issues/comments/413519477","html_url":"https://github.com/typestyle/typestyle/issues/272#issuecomment-413519477","issue_url":"https://api.github.com/repos/typestyle/typestyle/issues/272","id":413519477,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzUxOTQ3Nw==","user":{"login":"notoriousb1t","id":736847,"node_id":"MDQ6VXNlcjczNjg0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/736847?v=4","gravatar_id":"","url":"https://api.github.com/users/notoriousb1t","html_url":"https://github.com/notoriousb1t","followers_url":"https://api.github.com/users/notoriousb1t/followers","following_url":"https://api.github.com/users/notoriousb1t/following{/other_user}","gists_url":"https://api.github.com/users/notoriousb1t/gists{/gist_id}","starred_url":"https://api.github.com/users/notoriousb1t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notoriousb1t/subscriptions","organizations_url":"https://api.github.com/users/notoriousb1t/orgs","repos_url":"https://api.github.com/users/notoriousb1t/repos","events_url":"https://api.github.com/users/notoriousb1t/events{/privacy}","received_events_url":"https://api.github.com/users/notoriousb1t/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T11:51:52Z","updated_at":"2018-08-16T11:51:52Z","author_association":"CONTRIBUTOR","body":"Closing, continuing this in #273"}}
{"actor":{"display_login":"notoriousb1t"}}