{"action":"created","issue":{"url":"https://api.github.com/repos/noprompt/garden/issues/116","repository_url":"https://api.github.com/repos/noprompt/garden","labels_url":"https://api.github.com/repos/noprompt/garden/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/noprompt/garden/issues/116/comments","events_url":"https://api.github.com/repos/noprompt/garden/issues/116/events","html_url":"https://github.com/noprompt/garden/issues/116","id":172493036,"number":116,"title":"RGBA and HSLA are compiled incorrectly","user":{"login":"levitanong","id":869638,"avatar_url":"https://avatars.githubusercontent.com/u/869638?v=3","gravatar_id":"","url":"https://api.github.com/users/levitanong","html_url":"https://github.com/levitanong","followers_url":"https://api.github.com/users/levitanong/followers","following_url":"https://api.github.com/users/levitanong/following{/other_user}","gists_url":"https://api.github.com/users/levitanong/gists{/gist_id}","starred_url":"https://api.github.com/users/levitanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levitanong/subscriptions","organizations_url":"https://api.github.com/users/levitanong/orgs","repos_url":"https://api.github.com/users/levitanong/repos","events_url":"https://api.github.com/users/levitanong/events{/privacy}","received_events_url":"https://api.github.com/users/levitanong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/noprompt/garden/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"noprompt","id":541996,"avatar_url":"https://avatars.githubusercontent.com/u/541996?v=3","gravatar_id":"","url":"https://api.github.com/users/noprompt","html_url":"https://github.com/noprompt","followers_url":"https://api.github.com/users/noprompt/followers","following_url":"https://api.github.com/users/noprompt/following{/other_user}","gists_url":"https://api.github.com/users/noprompt/gists{/gist_id}","starred_url":"https://api.github.com/users/noprompt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noprompt/subscriptions","organizations_url":"https://api.github.com/users/noprompt/orgs","repos_url":"https://api.github.com/users/noprompt/repos","events_url":"https://api.github.com/users/noprompt/events{/privacy}","received_events_url":"https://api.github.com/users/noprompt/received_events","type":"User","site_admin":false},"assignees":[{"login":"noprompt","id":541996,"avatar_url":"https://avatars.githubusercontent.com/u/541996?v=3","gravatar_id":"","url":"https://api.github.com/users/noprompt","html_url":"https://github.com/noprompt","followers_url":"https://api.github.com/users/noprompt/followers","following_url":"https://api.github.com/users/noprompt/following{/other_user}","gists_url":"https://api.github.com/users/noprompt/gists{/gist_id}","starred_url":"https://api.github.com/users/noprompt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noprompt/subscriptions","organizations_url":"https://api.github.com/users/noprompt/orgs","repos_url":"https://api.github.com/users/noprompt/repos","events_url":"https://api.github.com/users/noprompt/events{/privacy}","received_events_url":"https://api.github.com/users/noprompt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-08-22T16:12:43Z","updated_at":"2016-10-21T19:51:27Z","closed_at":null,"body":"e.g.\r\n```clj\r\n{:box-shadow [[0 0 (px 8) (rgba 0 0 0 0.2)]]}\r\n```\r\n\r\nis converted to:\r\n\r\n```css\r\nbox-shadow: 0 0 8px hsla(0,0,0,0.2);\r\n```"},"comment":{"url":"https://api.github.com/repos/noprompt/garden/issues/comments/255450492","html_url":"https://github.com/noprompt/garden/issues/116#issuecomment-255450492","issue_url":"https://api.github.com/repos/noprompt/garden/issues/116","id":255450492,"user":{"login":"noprompt","id":541996,"avatar_url":"https://avatars.githubusercontent.com/u/541996?v=3","gravatar_id":"","url":"https://api.github.com/users/noprompt","html_url":"https://github.com/noprompt","followers_url":"https://api.github.com/users/noprompt/followers","following_url":"https://api.github.com/users/noprompt/following{/other_user}","gists_url":"https://api.github.com/users/noprompt/gists{/gist_id}","starred_url":"https://api.github.com/users/noprompt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noprompt/subscriptions","organizations_url":"https://api.github.com/users/noprompt/orgs","repos_url":"https://api.github.com/users/noprompt/repos","events_url":"https://api.github.com/users/noprompt/events{/privacy}","received_events_url":"https://api.github.com/users/noprompt/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T19:51:27Z","updated_at":"2016-10-21T19:51:27Z","body":"@thedavidmeister Thanks for your contribution to the discussion. I've already admitted to it being surprising and that my original decision to automatically convert to HSL/HSLA was based on personal opinion. I have no disagreements with the notion that what you type should be what you get (you can still write in RGB/RGBA, the compilation just needs to be correct). My intention is to resolve this issue in the near future. I've been hard at work at creating a new release of this library but my free time is somewhat limited.\r\n\r\n---\r\n\r\nRegarding the drawbacks, I think the first and third are worthy points but the second is not. This is just a nitpick, but the principle of least surprise is highly amendable to interpretation and, honestly, I don't think it's a relevant talking point. A good example of this was given by Yukihiro Matsumoto, the creator of Ruby, who, in an interview stated\r\n\r\n> The principle of least surprise is not for you only. The principle of least surprise means principle of least my surprise.\r\n\r\nSince this principle largely [depends on individual interpretation](https://en.wikipedia.org/wiki/Principle_of_least_astonishment#Formulation), emphasizing it doesn't add much value to the conversation.\r\n\r\nTo give a personal example, when I originally made the decision to compile to HSL/HSLA, I did not anticipate end users being concerned by this because it worked and I felt that the color semantic was more important than the compiled notation. If the color expected to be rendered to the screen was rendered to the screen as expected, why emphasize the notation? To make my point, it wasn't surprising to me and I didn't think it would be surprising to others since my emphasis was on semantic and not notation.\r\n\r\nThis aside, it's still no excuse for the bug persisting as it stands today.\r\n"}}
{"actor":{"display_login":"noprompt"}}