{"id":23071505,"url":"https://github.com/omamkaz/flet-wcolors","last_synced_at":"2025-04-03T10:41:35.212Z","repository":{"id":266895399,"uuid":"899669470","full_name":"omamkaz/flet-wcolors","owner":"omamkaz","description":"help the developer to get many colors without remembering their hex value, and I think it's helpful to get the color with names this will be clear in the code instead hex value!","archived":false,"fork":false,"pushed_at":"2025-01-24T23:11:47.000Z","size":181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T00:14:35.284Z","etag":null,"topics":[],"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/omamkaz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-12-06T18:50:31.000Z","updated_at":"2025-01-24T23:11:17.000Z","dependencies_parsed_at":"2024-12-06T21:02:00.139Z","dependency_job_id":"b691849e-1882-4546-8448-251665cc4262","html_url":"https://github.com/omamkaz/flet-wcolors","commit_stats":null,"previous_names":["omamkaz/flet-wcolors"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omamkaz%2Fflet-wcolors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omamkaz%2Fflet-wcolors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omamkaz%2Fflet-wcolors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omamkaz%2Fflet-wcolors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omamkaz","download_url":"https://codeload.github.com/omamkaz/flet-wcolors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989489,"owners_count":20865304,"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":[],"created_at":"2024-12-16T07:15:25.708Z","updated_at":"2025-04-03T10:41:35.182Z","avatar_url":"https://github.com/omamkaz.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Web Colors v1.1.0\n\njust to help the developer to get many colors without remembering their hex value, and I think it's helpful to get the color with names this will be clear in the code instead hex value!\n\n## Features\n\n- Color Management: Simplifies access to colors by name.\n- Code Clarity: Improves readability with named colors over hex values.\n- Developer-Friendly: Eliminates the need to memorize hex codes.\n\n## Installation\nYou can install Flet WColors using pip:\n\n```bash\npip install git+https://github.com/omamkaz/flet-wcolors.git\n```\n\n## Usage\n\n```python\nimport flet as ft\nfrom flet_wcolors import WColors\n\n\ndef main(page: ft.Page):\n    page.title = \"Web Colors Example 2\"\n    page.vertical_alignment = ft.MainAxisAlignment.CENTER\n    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER\n\n    page.window.width = 800\n    page.window.height = 600\n\n    page.add(\n        ft.Container(\n            width=400,\n            height=400,\n            bgcolor=WColors.AMARANTH,\n            alignment=ft.alignment.center,\n            border_radius=8,\n            content=ft.Text(\n                value = \"AMARANTH\"\n            )\n        )\n    )\n\nft.app(target=main)\n```\n\n## Output of above code\n\n![Example 2](media/example_2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomamkaz%2Fflet-wcolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomamkaz%2Fflet-wcolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomamkaz%2Fflet-wcolors/lists"}