{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier/issues/4492","repository_url":"https://api.github.com/repos/prettier/prettier","labels_url":"https://api.github.com/repos/prettier/prettier/issues/4492/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/4492/comments","events_url":"https://api.github.com/repos/prettier/prettier/issues/4492/events","html_url":"https://github.com/prettier/prettier/issues/4492","id":323834567,"number":4492,"title":"Incorrect output for CSS level 4 color adjusters","user":{"login":"taion","id":3112159,"avatar_url":"https://avatars0.githubusercontent.com/u/3112159?v=4","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"labels":[{"id":619695474,"url":"https://api.github.com/repos/prettier/prettier/labels/lang:css/scss/less","name":"lang:css/scss/less","color":"006b75","default":false},{"id":532695375,"url":"https://api.github.com/repos/prettier/prettier/labels/priority:high","name":"priority:high","color":"b60205","default":false},{"id":564363625,"url":"https://api.github.com/repos/prettier/prettier/labels/status:has%20pr","name":"status:has pr","color":"5319e7","default":false},{"id":491115803,"url":"https://api.github.com/repos/prettier/prettier/labels/type:bug","name":"type:bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-17T00:44:09Z","updated_at":"2018-05-23T21:59:36Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Prettier 1.12.1**\r\n[Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEA6AZhCACYAdKbbSAGwgCcliIzyAKcuAE2xLoGpsAmABgFIAlAIDcBAL4gANCAgAHGAEtoAZ2SgAhuXIQA7gAVNCVSnUA3CAqZSQAI3LqwAazgwAyrIcKoAc2QxyAK5w0l7KcOQwevbeALbqyOjqJGHSAFbKAB4AQvZOLq7qMXAAMl5wCUkpIB7kYeTI4Mqq0rLkXjAA6pYwABbIABw8LdphHfayDa1wdabl0owAjgEKjFHqsfFIicnBIGExCn6Bu8pe3iRwAIoBEPAVO9Iw6jZdTL3IXI-2CiRnAMIQGJxBpQaBzEABMIAFWexm2YTEYiAA)\r\n```sh\r\n--parser css\r\n```\r\n\r\n**Input:**\r\n```css\r\n.foo {\r\n  color: color(red l(+ 20%));\r\n}\r\n```\r\n\r\n**Output:**\r\n```css\r\n.foo {\r\n  color: color(red l(+20%));\r\n}\r\n\r\n```\r\n\r\n**Expected behavior:**\r\n```css\r\n.foo {\r\n  color: color(red l(+ 20%));\r\n}\r\n\r\n```\r\n\r\nPer the spec, the space after the `+` is meaningful:\r\n\r\n>Note: While scaling can be specified without any spaces, like lightness(*150%), adding/subtracting must be done with spaces after the +/-, or else the +/- will be interpreted as part of the number by the CSS parser.\r\n\r\nhttps://www.w3.org/TR/css-color-4/#typedef-color-adjuster"},"comment":{"url":"https://api.github.com/repos/prettier/prettier/issues/comments/391510108","html_url":"https://github.com/prettier/prettier/issues/4492#issuecomment-391510108","issue_url":"https://api.github.com/repos/prettier/prettier/issues/4492","id":391510108,"user":{"login":"evilebottnawi","id":4567934,"avatar_url":"https://avatars3.githubusercontent.com/u/4567934?v=4","gravatar_id":"","url":"https://api.github.com/users/evilebottnawi","html_url":"https://github.com/evilebottnawi","followers_url":"https://api.github.com/users/evilebottnawi/followers","following_url":"https://api.github.com/users/evilebottnawi/following{/other_user}","gists_url":"https://api.github.com/users/evilebottnawi/gists{/gist_id}","starred_url":"https://api.github.com/users/evilebottnawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilebottnawi/subscriptions","organizations_url":"https://api.github.com/users/evilebottnawi/orgs","repos_url":"https://api.github.com/users/evilebottnawi/repos","events_url":"https://api.github.com/users/evilebottnawi/events{/privacy}","received_events_url":"https://api.github.com/users/evilebottnawi/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T21:59:36Z","updated_at":"2018-05-23T21:59:36Z","author_association":"COLLABORATOR","body":"Found solution, will be solved after merge https://github.com/prettier/prettier/pull/4529"}}
{"actor":{"display_login":"evilebottnawi"}}