{ "info": { "author": "L3D", "author_email": "l3d@c3woc.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Plugins", "Framework :: Lektor", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "SCSS compiler for lektor\n=============================\n[![PyPI version](https://badge.fury.io/py/lektor-scss.svg)](https://badge.fury.io/py/lektor-scss)\n [![Downloads](https://pepy.tech/badge/lektor-scss)](https://pepy.tech/project/lektor-scss) \n\nSCSS compiler for [Lektor](https://getlektor.com) that compiles css from sass.\n\n How does it actually work?\n----------------------------\n + It uses [libsass](https://github.com/sass/libsass-python) \n + It looks for ``.scss`` and ``.sass`` files *(ignores part files that begin with a underscore e.g. '_testfile.scss') and compiles them as part of the build process.*\n + It only rebuilds the css when it's needed (file changed, a file it imports changed or the config changed).\n + When starting the the development server it watches the files for changes in the background and rebuilds them when needed.\n\n Installation\n-------------\nYou can install the plugin with Lektor's installer:\n```bash\nlektor plugins add lektor-scss\n```\n\nOr by hand, adding the plugin to the packages section in your lektorproject file:\n```ini\n[packages]\nlektor-scss = 1.3.5\n```\n Usage\n------\nTo enable the plugin, pass the ``scss`` flag when starting the development\nserver or when running a build:\n```bash\n# build and compile css from scss\nlektor build -f scss\n\n# edit site with new generated css\nlektor server -f scss\n```\n\n Python3\n----------\nIt is highly recommended to use this plugin with a python3 version of lektor.\n\nSince lektor can be used as a python module it is possible to enforce this *(after lektor is installed eg. with ``pip3 install --user --upgrade lektor``)* with the following command:\n```bash\n# run a python3 lektor server with new generated css\npython3 -m lektor server -f scss\n```\n\n Configuration\n-------------\nThe Plugin has the following settings you can adjust to your needs:\n\n|parameter |default value |description |\n|---------------|-------------------|--------------------------------------------------------------------------------------------------|\n|source_dir |assets/scss/ | the directory in which the plugin searchs for sass files (subdirectories are included) |\n|output_dir |assets/css/ | the directory the compiled css files get place at |\n|output_style |compressed | coding style of the compiled result. choose one of: 'nested', 'expanded', 'compact', 'compressed'|\n|source_comments|False | whether to add comments about source lines |\n|precision |5 | precision for numbers |\n\nAn example file with the default config can be found at ``configs/scss.ini``. For every parameter that is not specified in the config file the default value is used by the plugin.\n\n Development\n-------------\nTo test and/or develop on this plugin in your running lektor installation, simply place it in the ``packages/`` Folder and have a look at the [Lektor Doku](https://www.getlektor.com/docs/plugins/dev/)\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chaos-bodensee/lektor-scss.git", "keywords": "Lektor plugin", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lektor-scss", "package_url": "https://pypi.org/project/lektor-scss/", "platform": "", "project_url": "https://pypi.org/project/lektor-scss/", "project_urls": { "Homepage": "https://github.com/chaos-bodensee/lektor-scss.git" }, "release_url": "https://pypi.org/project/lektor-scss/1.3.5/", "requires_dist": [ "libsass (==0.19.3)", "termcolor" ], "requires_python": "", "summary": "Lektor plugin to compile css out of sass - based on libsass", "version": "1.3.5" }, "last_serial": 5943050, "releases": { "1.3.0": [ { "comment_text": "", "digests": { "md5": "620968d23c6b5b25e87a62436e5a0ca5", "sha256": "ff5fcbcaa769e36a81457fa62755541eb9ecab7c55c5a966413a91e93a4aea5d" }, "downloads": -1, "filename": "lektor-scss-1.3.0.0.tar.gz", "has_sig": false, "md5_digest": "620968d23c6b5b25e87a62436e5a0ca5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4199, "upload_time": "2019-09-07T21:19:14", "url": "https://files.pythonhosted.org/packages/a6/27/3cbb0f9ed41fa589bc01dbe58718bc36d4c48638d2453727a9b2fb4eba21/lektor-scss-1.3.0.0.tar.gz" } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "07b88c40588b8e2fa0b6d44a52c60023", "sha256": "3b8d20de18a9c69efb6da3754e45f0cffb4b7aa7fe641e84cfb176c4662ee21b" }, "downloads": -1, "filename": "lektor_scss-1.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "07b88c40588b8e2fa0b6d44a52c60023", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5494, "upload_time": "2019-09-13T07:09:09", "url": "https://files.pythonhosted.org/packages/eb/0a/42cbc6b3471a8705e3f41cc95f6d5d89dd6783fce659658fed60436f45f2/lektor_scss-1.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ac35a930d49913725ee45aa22a67766", "sha256": "887c82f0888e06a5bd56b94499aa4c42bad85ffdc1f75870a77e11663a932724" }, "downloads": -1, "filename": "lektor-scss-1.3.3.tar.gz", "has_sig": false, "md5_digest": "1ac35a930d49913725ee45aa22a67766", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4321, "upload_time": "2019-09-13T07:09:11", "url": "https://files.pythonhosted.org/packages/1b/c4/94da58477f5df973c46bea2036697508613d3055f96790c190ce37146a69/lektor-scss-1.3.3.tar.gz" } ], "1.3.5": [ { "comment_text": "", "digests": { "md5": "c15baca228a9ca34bfe50eeb5ab627d4", "sha256": "8cebfca1b631b996c9c5796fc6954ad6da13c69c0a79975a15e3a6adf2a3cdda" }, "downloads": -1, "filename": "lektor_scss-1.3.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c15baca228a9ca34bfe50eeb5ab627d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5660, "upload_time": "2019-10-08T06:24:25", "url": "https://files.pythonhosted.org/packages/01/17/1a12e1205a1bbcbcab9b9a4a09fab9277ec7b9ab6ea370421501f7e745a5/lektor_scss-1.3.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc6026e9240b00d48d2335c69a01c000", "sha256": "cb307efd42eefa5c8c144873ff588b0b689035c65c6edf0476f889cb3ebc9321" }, "downloads": -1, "filename": "lektor-scss-1.3.5.tar.gz", "has_sig": false, "md5_digest": "bc6026e9240b00d48d2335c69a01c000", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4569, "upload_time": "2019-10-08T06:24:28", "url": "https://files.pythonhosted.org/packages/3d/d9/ede7901cd73dd7593139f667437a224c04f3ac7ce141387d0ecc09f15f08/lektor-scss-1.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c15baca228a9ca34bfe50eeb5ab627d4", "sha256": "8cebfca1b631b996c9c5796fc6954ad6da13c69c0a79975a15e3a6adf2a3cdda" }, "downloads": -1, "filename": "lektor_scss-1.3.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c15baca228a9ca34bfe50eeb5ab627d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5660, "upload_time": "2019-10-08T06:24:25", "url": "https://files.pythonhosted.org/packages/01/17/1a12e1205a1bbcbcab9b9a4a09fab9277ec7b9ab6ea370421501f7e745a5/lektor_scss-1.3.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc6026e9240b00d48d2335c69a01c000", "sha256": "cb307efd42eefa5c8c144873ff588b0b689035c65c6edf0476f889cb3ebc9321" }, "downloads": -1, "filename": "lektor-scss-1.3.5.tar.gz", "has_sig": false, "md5_digest": "bc6026e9240b00d48d2335c69a01c000", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4569, "upload_time": "2019-10-08T06:24:28", "url": "https://files.pythonhosted.org/packages/3d/d9/ede7901cd73dd7593139f667437a224c04f3ac7ce141387d0ecc09f15f08/lektor-scss-1.3.5.tar.gz" } ] }