{"_id":"d-component-styles","_rev":"4-c1db723a44771c67debe74912f0d1cb7","name":"d-component-styles","description":"A Derby plugin for adding the possibility to define (links to) styles on a component level","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"d-component-styles","version":"1.0.0","description":"A Derby plugin for adding the possibility to define (links to) styles on a component level","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"derby":"^0.6.0-alpha31"},"author":{"name":"cjblomqvist","email":"carl@cjblomqvist.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/BBWeb/d-component-styles.git"},"keywords":["derby","plugin"],"bugs":{"url":"https://github.com/BBWeb/d-component-styles/issues"},"homepage":"https://github.com/BBWeb/d-component-styles","gitHead":"f1f49738c0c379257d966ae70bc79f2cb7912c87","_id":"d-component-styles@1.0.0","_shasum":"535fd45b42655fbc730e0ea58c13505007b32a8c","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"cjblomqvist","email":"carl@cjblomqvist.com"},"maintainers":[{"name":"cjblomqvist","email":"carl@cjblomqvist.com"}],"dist":{"shasum":"535fd45b42655fbc730e0ea58c13505007b32a8c","tarball":"https://registry.npmjs.org/d-component-styles/-/d-component-styles-1.0.0.tgz","integrity":"sha512-rkh7CSi4D5vFM6wkMPCgA/EyubNCsyE6GOOgIXa/SI9OJoqZQyduyoaBN9dRnbO7S3VJfHJ1J2FXufEQtLTtIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGReSvfx/tojnhog1VieDDDfyUBRZ1OeM7LlFxd+N1uvAiEAgnfM4Rjyladwog5MCElv8FfKuoiUYYZsGgMzb5t/MgI="}]}}},"readme":"# d-component-styles\r\nA Derby plugin for adding the possibility to define (links to) styles on a component level\r\n\r\nHow to use\r\n==========\r\nAdds the possibility to add a style-property on your Component prototype with a link to a stylesheet (or .styl, etc.), which will automatically be added when the component is added. I.e. it works very similar to defining the view on the component. E.g.\r\n\r\n```javascript\r\n// When this component is loaded through app.component('./mycomponent/index.js'), the stylesheet in './mycomponents/styles/index.styl' will automatically be added\r\nfunction MyComponent () {}\r\n\r\nMyComponent.prototype.style = __dirname + '/styles'\r\n```\r\n","maintainers":[{"name":"cjblomqvist","email":"carl@cjblomqvist.com"}],"time":{"modified":"2022-06-14T07:25:11.398Z","created":"2015-01-09T18:32:03.082Z","1.0.0":"2015-01-09T18:32:03.082Z"},"homepage":"https://github.com/BBWeb/d-component-styles","keywords":["derby","plugin"],"repository":{"type":"git","url":"https://github.com/BBWeb/d-component-styles.git"},"author":{"name":"cjblomqvist","email":"carl@cjblomqvist.com"},"bugs":{"url":"https://github.com/BBWeb/d-component-styles/issues"},"license":"MIT","readmeFilename":"README.md"}