{"action":"created","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1559","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1559/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1559/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1559/events","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/1559","id":53312168,"number":1559,"title":"Initialization of variable @theme in file theme.less","user":{"login":"Lisa-Williams","id":6225311,"avatar_url":"https://avatars.githubusercontent.com/u/6225311?v=3","gravatar_id":"","url":"https://api.github.com/users/Lisa-Williams","html_url":"https://github.com/Lisa-Williams","followers_url":"https://api.github.com/users/Lisa-Williams/followers","following_url":"https://api.github.com/users/Lisa-Williams/following{/other_user}","gists_url":"https://api.github.com/users/Lisa-Williams/gists{/gist_id}","starred_url":"https://api.github.com/users/Lisa-Williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lisa-Williams/subscriptions","organizations_url":"https://api.github.com/users/Lisa-Williams/orgs","repos_url":"https://api.github.com/users/Lisa-Williams/repos","events_url":"https://api.github.com/users/Lisa-Williams/events{/privacy}","received_events_url":"https://api.github.com/users/Lisa-Williams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/labels/Question","name":"Question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-03T19:00:47Z","updated_at":"2015-01-04T04:09:45Z","closed_at":"2015-01-04T03:53:03Z","body":"I'm pretty new to Semantic UI (1 week), and I'm trying to understand what happens.\r\n\r\nThe (partial) folder hierarchy in ```/src/``` is:\r\n ```less\r\nsite/@type/@element\r\nthemes/@site/@type/@element\r\n```\r\nFor example: \r\n```less\r\nsite/views/statistic.variables\r\nsite/views/statistic.overrides\r\n//and\r\nthemes/default/views/statistic.variables\r\nthemes/default/views/statistic.overrides\r\n```\r\n\r\nSo ```@site``` is the highest level.\r\nAnd all the ```@element.variables``` and ```@element.overrides``` files are the lowest level.\r\n\r\nBut that doesn't fit with what I'm seeing in the main theme-imports file, ```theme.less```.\r\n\r\nYou first initialize ```@site``` with ```@element``` (highest with lowest) on ```line 5``` in ```src/theme.less```:\r\n```@theme : @@element;```\r\nhttps://github.com/Semantic-Org/Semantic-UI/blob/master/src/theme.less#L5\r\n\r\nAnd then you use ```@theme``` (```=== @element```) at the highest level, and ```@element``` at the lowest level, on these 2 lines further down:\r\n```@import \"@{themesFolder}/@{theme}/@{type}s/@{element}.variables\";```\r\nhttps://github.com/Semantic-Org/Semantic-UI/blob/master/src/theme.less#L19\r\n\r\n```@import \"@{themesFolder}/@{theme}/@{type}s/@{element}.overrides\";```\r\nhttps://github.com/Semantic-Org/Semantic-UI/blob/master/src/theme.less#L46\r\n\r\nWhy are you initializing ```@theme``` with ```@element``` on ```line 5``` in ```src/theme.less```?\r\nShouldn't line 5 be ```@theme : @@site;```?\r\n\r\nP.S. Apologies for the length of this post.\r\n"},"comment":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/comments/68620321","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/1559#issuecomment-68620321","issue_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1559","id":68620321,"user":{"login":"jlukic","id":23123,"avatar_url":"https://avatars.githubusercontent.com/u/23123?v=3","gravatar_id":"","url":"https://api.github.com/users/jlukic","html_url":"https://github.com/jlukic","followers_url":"https://api.github.com/users/jlukic/followers","following_url":"https://api.github.com/users/jlukic/following{/other_user}","gists_url":"https://api.github.com/users/jlukic/gists{/gist_id}","starred_url":"https://api.github.com/users/jlukic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlukic/subscriptions","organizations_url":"https://api.github.com/users/jlukic/orgs","repos_url":"https://api.github.com/users/jlukic/repos","events_url":"https://api.github.com/users/jlukic/events{/privacy}","received_events_url":"https://api.github.com/users/jlukic/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T04:09:45Z","updated_at":"2015-01-04T04:09:45Z","body":"No worries, nice to have this archived on GitHub in case this comes up again. \r\n\r\nPerhaps will include in upcoming FAQ"}}