{"id":17603143,"url":"https://github.com/yjg30737/python-stylesheets-color-changer","last_synced_at":"2026-04-20T19:02:56.591Z","repository":{"id":108707149,"uuid":"471556529","full_name":"yjg30737/python-stylesheets-color-changer","owner":"yjg30737","description":"Python CSS style sheets color changer","archived":false,"fork":false,"pushed_at":"2022-03-19T01:38:31.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T02:41:59.202Z","etag":null,"topics":["css","css-changer","css-framework","python","python3","python37","stylesheets"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yjg30737.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-19T00:48:48.000Z","updated_at":"2023-02-14T22:04:35.000Z","dependencies_parsed_at":"2023-03-22T01:18:12.170Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/python-stylesheets-color-changer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yjg30737/python-stylesheets-color-changer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-stylesheets-color-changer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-stylesheets-color-changer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-stylesheets-color-changer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-stylesheets-color-changer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/python-stylesheets-color-changer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpython-stylesheets-color-changer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265883680,"owners_count":23843800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","css-changer","css-framework","python","python3","python37","stylesheets"],"created_at":"2024-10-22T13:41:14.881Z","updated_at":"2026-04-20T19:02:51.562Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-stylesheets-color-changer\nPython CSS style sheets color changer\n\nCurrently the only feature of this is changing the brightness of color of CSS style sheets.\n\n## Setup\n```pip3 install git+https://github.com/yjg30737/python-stylesheets-color-changer.git --upgrade```\n\n## Included Packages\n* \u003ca href=\"https://github.com/yjg30737/python-color-getter.git\"\u003epython-color-getter\u003c/a\u003e\n\n## Class/Method Overview\n* ```StyleSheetsColorChanger(stylesheets: str)``` - Constructor. ```stylesheets``` argument accepts the raw css code.\n* ```lighter() -\u003e str``` - Make colors lighter. #DDD -\u003e #EEE. Return the raw css code which is lighter than the original.\n* ```darker() -\u003e str``` - Make colors darker. #EEE -\u003e #DDD. Return the raw css code which is darker than the original.\n\n## Example\nExample application is \u003ca href=\"https://github.com/yjg30737/pyqt-dark-calculator.git\"\u003epyqt-dark-calculator\u003c/a\u003e.\n\nOriginal\n\n![image](https://user-images.githubusercontent.com/55078043/159101467-1698eeca-5e8f-4a1e-90ff-1aa529fa5200.png)\n\nI'll make this darker.\n\nCode Sample\n```python\nfrom PyQt5.QtWidgets import QApplication\nfrom pyqt_dark_calculator import Calculator\nfrom python_stylesheets_color_changer import StyleSheetsColorChanger\n\n\nif __name__ == \"__main__\":\n    import sys\n\n    app = QApplication(sys.argv)\n    calculator = Calculator()\n    changer = StyleSheetsColorChanger('darkGrayTheme.css')\n    css_code = changer.darker()\n    calculator.setStyleSheet(css_code)\n    calculator.show()\n    app.exec_()\n```\n\nResult\n\n![image](https://user-images.githubusercontent.com/55078043/159101495-21db5f75-275e-4d0c-86e4-a22a6b2fe7ff.png)\n\nHow about make it lighter?\n\n![image](https://user-images.githubusercontent.com/55078043/159101542-14cb81c8-93b8-4777-88ce-ace894179561.png)\n\nI know that is hard to distinguish. So i'll show you all three of them at once.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/55078043/159101542-14cb81c8-93b8-4777-88ce-ace894179561.png\" width=\"200\" height=\"300\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/55078043/159101467-1698eeca-5e8f-4a1e-90ff-1aa529fa5200.png\" width=\"200\" height=\"300\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/55078043/159101495-21db5f75-275e-4d0c-86e4-a22a6b2fe7ff.png\" width=\"200\" height=\"300\"\u003e\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpython-stylesheets-color-changer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpython-stylesheets-color-changer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpython-stylesheets-color-changer/lists"}