{"id":16759427,"url":"https://github.com/victorfsf/django-admin-colors","last_synced_at":"2025-09-07T00:31:30.265Z","repository":{"id":55078809,"uuid":"121258659","full_name":"victorfsf/django-admin-colors","owner":"victorfsf","description":"Customizable Django admin color themes","archived":false,"fork":false,"pushed_at":"2021-01-19T17:22:48.000Z","size":172,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T10:53:16.550Z","etag":null,"topics":["django","django-admin","django-admin-colors","django-admin-themes","python3"],"latest_commit_sha":null,"homepage":null,"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/victorfsf.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}},"created_at":"2018-02-12T14:45:55.000Z","updated_at":"2024-07-09T09:52:33.000Z","dependencies_parsed_at":"2022-08-14T11:20:43.850Z","dependency_job_id":null,"html_url":"https://github.com/victorfsf/django-admin-colors","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/victorfsf/django-admin-colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorfsf%2Fdjango-admin-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorfsf%2Fdjango-admin-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorfsf%2Fdjango-admin-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorfsf%2Fdjango-admin-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorfsf","download_url":"https://codeload.github.com/victorfsf/django-admin-colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorfsf%2Fdjango-admin-colors/sbom","scorecard":{"id":920408,"data":{"date":"2025-08-11","repo":{"name":"github.com/victorfsf/django-admin-colors","commit":"ca9d2e16a66ee2e085b9f78a5f42202478b4a7ea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2019-17 / GHSA-337x-4q8g-prc5","Warn: Project is vulnerable to: PYSEC-2021-98 / GHSA-68w8-qjq3-2gfm","Warn: Project is vulnerable to: GHSA-6c3j-c64m-qhgq","Warn: Project is vulnerable to: GHSA-7xr5-9hcq-chf9","Warn: Project is vulnerable to: GHSA-8x94-hmjh-97hq","Warn: Project is vulnerable to: GHSA-hmr4-m2h5-33qx","Warn: Project is vulnerable to: GHSA-rrqc-c2jx-6jgv","Warn: Project is vulnerable to: GHSA-vfq6-hq5r-27r6","Warn: Project is vulnerable to: PYSEC-2019-18 / GHSA-wh4h-v3f2-r2pp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-25T01:41:42.055Z","repository_id":55078809,"created_at":"2025-08-25T01:41:42.055Z","updated_at":"2025-08-25T01:41:42.055Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273982914,"owners_count":25202090,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["django","django-admin","django-admin-colors","django-admin-themes","python3"],"created_at":"2024-10-13T04:08:06.834Z","updated_at":"2025-09-07T00:31:29.914Z","avatar_url":"https://github.com/victorfsf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Admin Colors\n\n[![PyPI version](https://badge.fury.io/py/django-admin-colors.svg)](https://badge.fury.io/py/django-admin-colors)\n[![Build Status](https://circleci.com/gh/victorfsf/django-admin-colors/tree/master.svg?style=shield)](https://circleci.com/gh/victorfsf/django-admin-colors)\n[![Coverage Status](https://coveralls.io/repos/github/victorfsf/django-admin-colors/badge.svg)](https://coveralls.io/github/victorfsf/django-admin-colors)\n\nCustomizing the Django Admin's CSS (mostly its colors)\n\n## Installing\n\n```bash\npip install django-admin-colors\n```\n\n## Configuring\n\nThe following instructions are necessary to make `django-admin-colors` work.\n\n### Configure your `settings.py`\n\n```python\n\nINSTALLED_APPS = [\n    ...,\n    'admincolors'\n]\n\n# Choose a base theme\n# If empty or not set, the first option of ADMIN_COLORS will be chosen\nADMIN_COLORS_BASE_THEME = 'Gray'\n# These are the \"builtin\" django-admin-colors themes\nADMIN_COLORS = [\n    ('Default', []),\n    ('Lite', 'admincolors/css/lite.css'),\n    ('Dark Blue', 'admincolors/css/dark-blue.css'),\n    ('Gray', 'admincolors/css/gray.css')\n]\n\n# TEMPLATES configuration\n# PS: Don't override your current settings,\n#     copy or change only what's necessary\nTEMPLATES = [\n    {\n        ...,\n        'DIRS': [\n            # IMPORTANT: needed to override the django admin's base templates.\n            os.path.join(BASE_DIR, 'templates')\n        ],\n        # IMPORTANT: needed to load admincolors' templates\n        'APP_DIRS': True,\n        'OPTIONS': {\n            'context_processors': [\n                ...,\n                # IMPORTANT: needed to make the \"theme\" and \"themes\" context\n                #            variables available for the templates\n                'admincolors.context_processors.admin_theme'\n            ],\n        },\n    },\n]\n```\n\n### Configure your admin templates\n\nCreate a new folder: `BASE_DIR/templates`.\n\n#### admin/base_site.html\n\n##### Completely override the `base_site.html` template\n\nFile: `BASE_DIR/templates/admin/base_site.html`\n\n```html\n{% extends 'admincolors/base_site.html' %}\n```\n\n##### Alternatively, overwrite the file `admin/base_site.html` yourself\n\nFile: `BASE_DIR/templates/admin/base_site.html`\n\n```html\n{% extends \"admin/base_site.html\" %}\n{% load admincolors %}\n\n{% block blockbots %}\n{{ block.super }}\n\n{% colors_styles theme themes %}\n\n{% endblock %}\n\n{% block footer %}\n{{ block.super }}\n\n{% colors_scripts %}\n\n{% endblock %}\n```\n\n#### admin/index.html\n\n##### Completely override the `index.html` template\n\nFile: `BASE_DIR/templates/admin/index.html`\n\n```html\n{% extends 'admincolors/index.html' %}\n```\n\n##### Alternatively, overwrite the file `admin/index.html` yourself\n\nFile: `BASE_DIR/templates/admin/index.html`\n\n```html\n{% extends \"admin/index.html\" %}\n{% load admincolors %}\n\n{% block breadcrumbs %}\n{% if themes|length \u003e 1 %}\n\u003cdiv class=\"breadcrumbs\"\u003e\n\n{% colors_breadcrumbs theme themes %}\n\n\u003c/div\u003e\n{% endif %}\n{% endblock %}\n```\n\n## Custom themes\n\nTo add a custom theme, simply create a `.css file` anywhere in your static files, then add its full path (and the theme's name) to the `ADMIN_COLORS` variable in `settings.py`:\n\n```python\nADMIN_COLORS = [\n    ...,\n    ('My Theme', 'path/to/my/theme.css')\n]\n```\n\nYou can also set multiple `css files` to your theme (or add a custom `.css` to an existing one):\n\n```python\nADMIN_COLORS = [\n    ...,\n    ('Gray', ('admincolors/css/gray.css', 'path/to/my/custom/file.css')),\n    ('My Theme', ('path/to/my/theme.css', 'path/to/another/file.css'))\n]\n```\n\n## Help\n\nSee the Django documentation about:\n\n- [Overrinding templates](https://docs.djangoproject.com/en/2.0/howto/overriding-templates/)\n- [The Django admin site](https://docs.djangoproject.com/en/2.0/ref/contrib/admin/)\n\n## Examples\n\n### The default django admin look\n\n![Default](https://github.com/victorfsf/django-admin-colors/raw/master/screenshots/default.png)\n\n### The `Lite` theme\n\n![Lite](https://github.com/victorfsf/django-admin-colors/raw/master/screenshots/lite.png)\n\n### The `Dark Blue` theme\n\n![Dark Blue](https://github.com/victorfsf/django-admin-colors/raw/master/screenshots/darkblue.png)\n\n### The `Gray` theme\n\n![Gray](https://github.com/victorfsf/django-admin-colors/raw/master/screenshots/gray.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorfsf%2Fdjango-admin-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorfsf%2Fdjango-admin-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorfsf%2Fdjango-admin-colors/lists"}