{"_id":"mealz-ds","name":"mealz-ds","dist-tags":{"latest":"2.0.0"},"versions":{"2.0.0":{"name":"mealz-ds","version":"2.0.0","description":"Sass and Css styles for Mealz Design System","main":"mealz-ds.min.css","scripts":{"build":"webpack","serve":"webpack --watch & cd test && rm -f ./dist && ln -s ../dist ./dist && http-server"},"repository":{"type":"git","url":"git+https://gitlab.com/miam/mealz-ds.git"},"keywords":["mealz","design","system","css","sass"],"author":{"name":"Miam","email":"it@miam.tech","url":"https://miam.tech"},"license":"ISC","bugs":{"url":"https://gitlab.com/miam/mealz-ds/issues"},"homepage":"https://gitlab.com/miam/mealz-ds#readme","devDependencies":{"copy-webpack-plugin":"^11.0.0","css-loader":"^6.7.2","http-server":"^14.1.1","mini-css-extract-plugin":"^2.7.0","node":"^19.1.0","remove-files-webpack-plugin":"^1.5.0","sass":"^1.56.1","sass-loader":"^13.2.0","webpack":"^5.75.0","webpack-cli":"^5.0.0"},"_id":"mealz-ds@2.0.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-p4VCdOR/aqYGNXwPBq++fYtg5vsWLv54RiR8eDYX59KpT1MxpKmyTcuIUIEnHZI3ZgXpCWiQqd2ZkG13nIpDgg==","shasum":"abd6515df9fd2a5cffd51eb867aca2051c09131e","tarball":"https://registry.npmjs.org/mealz-ds/-/mealz-ds-2.0.0.tgz","fileCount":3,"unpackedSize":31090,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDpXgAwQ1E+l4El/XRfPwI9Bk+cW6UA+Q0R4ahSN+q4PAIgcywP9dfG3BltpupRtwNxHcn4LDHPSJBX8wd+yV0laQc="}]},"_npmUser":{"name":"miam","email":"it@miam.tech"},"directories":{},"maintainers":[{"name":"miam","email":"it@miam.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mealz-ds_2.0.0_1749197519287_0.3551416637496325"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-06T08:11:59.286Z","2.0.0":"2025-06-06T08:11:59.520Z","modified":"2025-06-06T08:11:59.748Z"},"maintainers":[{"name":"miam","email":"it@miam.tech"}],"description":"Sass and Css styles for Mealz Design System","homepage":"https://gitlab.com/miam/mealz-ds#readme","keywords":["mealz","design","system","css","sass"],"repository":{"type":"git","url":"git+https://gitlab.com/miam/mealz-ds.git"},"author":{"name":"Miam","email":"it@miam.tech","url":"https://miam.tech"},"bugs":{"url":"https://gitlab.com/miam/mealz-ds/issues"},"license":"ISC","readme":"# Mealz Design System\n\n## Getting started\n\n### Install dependencies\n\n```npm install```\n\n### Build css\n\n```npm run build```\n\n### Try locally\n\n```npm run serve```\n\nOpen http://localhost:8080 in your browser\n\n\n## Contributing\n\n### Design system reference files\n\n- Web UI kit : https://www.figma.com/file/TvdkWJGeGaMQ9a3r3kmejY\n- Brand Foundation : https://www.figma.com/file/SQk0Q72cmgFI467RhsacPy\n\n### Conventions\n\n1. Everything directly coming from the brand foundation document (such as colors, spacings, and general conventions) should be put in **variables.scss**\n2. Every css code snippet that can be duplicated from one CSS class to another should be put in **mixins.scss**\n3. Every style that should be generic and is not a component should be defined in **styles.scss** (eg: keyframes for animations)\n4. Follow hierarchy and naming as defined in the Web UI kit document: components are organized in Figma files :\n   - 1 figma file = 1 scss stylesheet in /components\n   - 1 component = 1 class\n   - CSS class name should be prefixed with `.mealz-ds-` and reuse the component naming as per the Web UI kit document (eg: `.mealz-ds-button`)\n5. Be cautious with your imports : while designing a component, you can import variables and mixins files as much as you like (they won't be compiled in the minified css stylesheet), but everytime you import another component, its code will be duplicated in the minified CSS => **to be avoided**. If you feel like you need to import another component style, **you probably need a mixin...**\n\n\n## Using within a separate project\n\n### Install package\n\n```npm install mealz-ds```\n\n### Import package in your project\n\nIn styles.scss, link the minified stylesheet:\n\n```sass\n@import \"~mealz-ds/mealz-ds.min.css\";\n```\n\nThen, start using mealz-ds colors and css classes:\n\n```html\n<div style=\"background-color: var(--mealz-ds-color-page-background)\">\n  All my pages will now have this background\n</div>\n  \n<button class=\"mealz-ds-button success\">\n  New style for all my buttons!\n</button>\n```\n\n### Override classes using variables, mixins and styles\n\nTODO","readmeFilename":"README.md","_rev":"1-67cc184f635e7deb6bb740e47699b2d1"}