{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack/css-loader/issues/203","labels_url":"https://api.github.com/repos/webpack/css-loader/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/webpack/css-loader/issues/203/comments","events_url":"https://api.github.com/repos/webpack/css-loader/issues/203/events","html_url":"https://github.com/webpack/css-loader/issues/203","id":121722945,"number":203,"title":"Theming is not possible","user":{"login":"hypercube-softwares","id":8677100,"avatar_url":"https://avatars.githubusercontent.com/u/8677100?v=3","gravatar_id":"","url":"https://api.github.com/users/hypercube-softwares","html_url":"https://github.com/hypercube-softwares","followers_url":"https://api.github.com/users/hypercube-softwares/followers","following_url":"https://api.github.com/users/hypercube-softwares/following{/other_user}","gists_url":"https://api.github.com/users/hypercube-softwares/gists{/gist_id}","starred_url":"https://api.github.com/users/hypercube-softwares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypercube-softwares/subscriptions","organizations_url":"https://api.github.com/users/hypercube-softwares/orgs","repos_url":"https://api.github.com/users/hypercube-softwares/repos","events_url":"https://api.github.com/users/hypercube-softwares/events{/privacy}","received_events_url":"https://api.github.com/users/hypercube-softwares/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-11T14:55:18Z","updated_at":"2015-12-11T14:55:18Z","closed_at":null,"body":"CSS modules are great, but I after webpack build, all generated names are hidden in the bundle. It should be great to generate a single mapping file that contain:\r\n<file>|<style name>=<mangled name>\r\nfor instance\r\n/src/widgets/MyComponent.css|title = _2IezJF1AI1wN8JrvVVyB9-\r\n\r\nWithout this, I can't do that:\r\nAn external CSS (not a CSS Module, a regular one, a THEME written by my client) that contain\r\nkeywords like @MyComponent.title@ that could be transformed in _2IezJF1AI1wN8JrvVVyB9-\r\nbefore putting it in prod.\r\n\r\nWith that, My client could do theming with rules like:\r\n.@MyComponent.title@ {\r\n  background-color: #30FF36 !important;\r\n}\r\n\r\nActually, I'm stuck. And no, theming with inline styles is not a solution. I want to use :hover or whatever I want.\r\n\r\nWhat do you think about this idea ?\r\nNote: my requirement is that the application can change it's theme at runtime and the theme is not\r\ndefined at development time. it is not predefined themes.\r\n\r\nRegards.\r\nEric.\r\n\r\n"}}