{"action":"closed","issue":{"url":"https://api.github.com/repos/anthonyesau/sass-tools/issues/2","repository_url":"https://api.github.com/repos/anthonyesau/sass-tools","labels_url":"https://api.github.com/repos/anthonyesau/sass-tools/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/anthonyesau/sass-tools/issues/2/comments","events_url":"https://api.github.com/repos/anthonyesau/sass-tools/issues/2/events","html_url":"https://github.com/anthonyesau/sass-tools/issues/2","id":162351085,"number":2,"title":"Rework method for setting default palette in swatchbook tool","user":{"login":"anthonyesau","id":11262546,"avatar_url":"https://avatars.githubusercontent.com/u/11262546?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyesau","html_url":"https://github.com/anthonyesau","followers_url":"https://api.github.com/users/anthonyesau/followers","following_url":"https://api.github.com/users/anthonyesau/following{/other_user}","gists_url":"https://api.github.com/users/anthonyesau/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyesau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyesau/subscriptions","organizations_url":"https://api.github.com/users/anthonyesau/orgs","repos_url":"https://api.github.com/users/anthonyesau/repos","events_url":"https://api.github.com/users/anthonyesau/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyesau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-26T22:26:02Z","updated_at":"2016-07-02T05:42:22Z","closed_at":"2016-07-02T05:42:22Z","body":"Simplify into one line of code. Also, the value to set the default palette should be either the palette index number or the name of the palette not a set of colors.\r\n\r\n```\r\n//Defines or resets global default palette\r\n@mixin set-palette-default($palette: 1){\r\n  $palette-default: find-palette($palette) !global;\r\n}\r\n\r\n//Defines or resets global temporary palette from which colors are pulled for use\r\n//Sets the operational palette variable (colors are always pulled from $palette-temp)\r\n@mixin set-palette-temp($palette: $palette-default){\r\n  $palette-temp: find-palette($palette) !global;\r\n}\r\n\r\n@include set-palette-default();\r\n\r\n@include set-palette-temp();\r\n```"}}
{"actor":{"display_login":"anthonyesau"}}