{"action":"created","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2590","labels_url":"https://api.github.com/repos/less/less.js/issues/2590/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2590/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2590/events","html_url":"https://github.com/less/less.js/issues/2590","id":78752267,"number":2590,"title":"`@import (important)` for higher \"specificity\" variables","user":{"login":"calvinjuarez","id":2146819,"avatar_url":"https://avatars.githubusercontent.com/u/2146819?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinjuarez","html_url":"https://github.com/calvinjuarez","followers_url":"https://api.github.com/users/calvinjuarez/followers","following_url":"https://api.github.com/users/calvinjuarez/following{/other_user}","gists_url":"https://api.github.com/users/calvinjuarez/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinjuarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinjuarez/subscriptions","organizations_url":"https://api.github.com/users/calvinjuarez/orgs","repos_url":"https://api.github.com/users/calvinjuarez/repos","events_url":"https://api.github.com/users/calvinjuarez/events{/privacy}","received_events_url":"https://api.github.com/users/calvinjuarez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-21T00:06:42Z","updated_at":"2015-05-21T00:53:01Z","closed_at":null,"body":"~~I've thought recently about how theming and overriding would be so much easier if I could specify that my definitions are `!important`.  That is,~~\r\n\r\n\r\n```less\r\n// my.variables.less\r\n@theme-var: value !important;\r\n\r\n// 3rd-party-library.variables.less\r\n@theme-var: default value;\r\n\r\n// 3rd-party-library.core.less\r\n.this {\r\n  uses: @theme-var; // → `value`\r\n}\r\n```\r\n\r\n~~In other words, `!important` would do for Less variables what it does for CSS properties: increase the \"strength\" of the declaration.~~\r\n\r\n~~I realize this may cause headaches (`!important` in variables is already a question in #2374) but it seems like a super useful feature for a major use case for Less.~~\r\n\r\n### Edit:\r\n\r\nSorry, just noticed this is a duplicate of #1401 (I forgot to search closed issues).  I'm gonna leave the issue open for the `@import (important)` suggestion (see below) since many of the objections brought up in 1401 don't really apply there.  I'll change the issue title, for clarity."},"comment":{"url":"https://api.github.com/repos/less/less.js/issues/comments/104083410","html_url":"https://github.com/less/less.js/issues/2590#issuecomment-104083410","issue_url":"https://api.github.com/repos/less/less.js/issues/2590","id":104083410,"user":{"login":"matthew-dean","id":414752,"avatar_url":"https://avatars.githubusercontent.com/u/414752?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-dean","html_url":"https://github.com/matthew-dean","followers_url":"https://api.github.com/users/matthew-dean/followers","following_url":"https://api.github.com/users/matthew-dean/following{/other_user}","gists_url":"https://api.github.com/users/matthew-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-dean/subscriptions","organizations_url":"https://api.github.com/users/matthew-dean/orgs","repos_url":"https://api.github.com/users/matthew-dean/repos","events_url":"https://api.github.com/users/matthew-dean/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-dean/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T00:53:01Z","updated_at":"2015-05-21T00:53:01Z","body":"I don't get this. In the last example, if the variables are defined in the same scopes (the way that we've defined namespaced vars), then the themes will override regardless."}}