{"action":"created","issue":{"url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/143","repository_url":"https://api.github.com/repos/modularscale/modularscale-sass","labels_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/143/comments","events_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/143/events","html_url":"https://github.com/modularscale/modularscale-sass/issues/143","id":236483939,"number":143,"title":"modularscale with breakpoints generate the same values for each breakpoint","user":{"login":"ligne13","id":81624,"avatar_url":"https://avatars1.githubusercontent.com/u/81624?v=4","gravatar_id":"","url":"https://api.github.com/users/ligne13","html_url":"https://github.com/ligne13","followers_url":"https://api.github.com/users/ligne13/followers","following_url":"https://api.github.com/users/ligne13/following{/other_user}","gists_url":"https://api.github.com/users/ligne13/gists{/gist_id}","starred_url":"https://api.github.com/users/ligne13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligne13/subscriptions","organizations_url":"https://api.github.com/users/ligne13/orgs","repos_url":"https://api.github.com/users/ligne13/repos","events_url":"https://api.github.com/users/ligne13/events{/privacy}","received_events_url":"https://api.github.com/users/ligne13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-16T13:31:57Z","updated_at":"2017-09-30T01:08:33Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have this setup :\r\n```\r\n$font-size-base: 16px;\r\n$modularscale: (\r\n  base: $font-size-base,\r\n  ratio: 1.067,\r\n  768px: (\r\n    ratio: 1.125,\r\n  ),\r\n);\r\n```\r\n\r\nThen I use :\r\n```\r\nh1 {\r\n  @include ms-respond(font-size, 12);\r\n}\r\n```\r\n\r\nbut the output CSS gives the same font-size value for the two breakpoints :\r\n```\r\nh1 {\r\n  font-size:66px;\r\n}\r\n@media (min-width:768px){\r\n  h1 {\r\n    font-size:66px;\r\n  }\r\n}\r\n```\r\n\r\nOnly the 1.125 ratio is used...\r\n\r\nWhat am I doing wrong ?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/comments/333271218","html_url":"https://github.com/modularscale/modularscale-sass/issues/143#issuecomment-333271218","issue_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/143","id":333271218,"user":{"login":"scottkellum","id":377189,"avatar_url":"https://avatars0.githubusercontent.com/u/377189?v=4","gravatar_id":"","url":"https://api.github.com/users/scottkellum","html_url":"https://github.com/scottkellum","followers_url":"https://api.github.com/users/scottkellum/followers","following_url":"https://api.github.com/users/scottkellum/following{/other_user}","gists_url":"https://api.github.com/users/scottkellum/gists{/gist_id}","starred_url":"https://api.github.com/users/scottkellum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottkellum/subscriptions","organizations_url":"https://api.github.com/users/scottkellum/orgs","repos_url":"https://api.github.com/users/scottkellum/repos","events_url":"https://api.github.com/users/scottkellum/events{/privacy}","received_events_url":"https://api.github.com/users/scottkellum/received_events","type":"User","site_admin":false},"created_at":"2017-09-30T01:08:33Z","updated_at":"2017-09-30T01:08:33Z","author_association":"OWNER","body":"Thanks @wagonmonster for the comment, It’s a slightly different issue but good news is I’ve got a solution for you!\r\n\r\nCheck out this pen: https://codepen.io/scottkellum/pen/2f9f05cf8d6b7aff551fcd72e78b2a0c?editors=0100\r\n\r\nYou need to use `@include ms-respond(font-size,0);` instead of using the `ms(0)` function and it’ll work for you."}}
{"actor":{"display_login":"scottkellum"}}