{"id":15101681,"url":"https://github.com/harrelchris/django-allauth-themes","last_synced_at":"2025-02-28T16:20:00.686Z","repository":{"id":239188438,"uuid":"798819916","full_name":"harrelchris/django-allauth-themes","owner":"harrelchris","description":"Themes for django-allauth","archived":false,"fork":false,"pushed_at":"2024-05-11T11:32:35.000Z","size":329,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T08:48:16.329Z","etag":null,"topics":["bootstrap5","bootswatch","django","django-allauth"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/harrelchris.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":"2024-05-10T14:38:41.000Z","updated_at":"2024-12-18T17:12:32.000Z","dependencies_parsed_at":"2025-01-11T08:47:48.225Z","dependency_job_id":"97c95ba2-8c49-488a-b412-7de1b7e61616","html_url":"https://github.com/harrelchris/django-allauth-themes","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"6aece5d1b012eea147e8612bc665fbe25c2a4cdf"},"previous_names":["harrelchris/django-allauth-themes"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrelchris%2Fdjango-allauth-themes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrelchris%2Fdjango-allauth-themes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrelchris%2Fdjango-allauth-themes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrelchris%2Fdjango-allauth-themes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harrelchris","download_url":"https://codeload.github.com/harrelchris/django-allauth-themes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241180797,"owners_count":19923293,"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":["bootstrap5","bootswatch","django","django-allauth"],"created_at":"2024-09-25T18:28:07.107Z","updated_at":"2025-02-28T16:20:00.659Z","avatar_url":"https://github.com/harrelchris.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Allauth Themes\n\nThemes for django-allauth\n\n## Install\n\n```shell\npip install django-allauth-themes\n```\n\n### Settings\n\nAdd `allauth_themes.bootstrap` before `allauth`:\n\n```python\nINSTALLED_APPS = [\n    ...,\n    \"allauth_themes.bootstrap\",\n    \"allauth\",\n    ...,\n]\n```\n\n## Customization\n\n### Bootswatch\n\nYou can achieve drastic changes with little effort using Bootswatch themes. Simply create a file in your templates directory to override the `allauth/layouts/css.html` file, with the following CDN link\n\n```html\n\u003clink href=\"https://cdn.jsdelivr.net/npm/bootswatch@5.3.3/dist/cerulean/bootstrap.min.css\" rel=\"stylesheet\"\u003e\n```\n\nYou can change `cerulean` to any of the available themes available on [Bootswatch.com](https://bootswatch.com/).\n\n\u003cdiv style=\"text-align: center\"\u003e\n    \u003cimg src=\"https://i.imgur.com/dno436U.png\" alt=\"screenshots\" width=\"700\"\u003e\n\u003c/div\u003e\n\n### Custom CSS\n\nAlternatively, you can customize Bootstrap as you like and use that:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"{% static 'css/custom_bootstrap.css' %}\"\u003e\n```\n\n### Layout Customization\n\nThe layouts work with all Bootswatch themes, but you may want to customize them. As an example, these minor tweaks to the layouts may help the content stand out more. However, it doesn't work well with all Bootswatch themes (like quartz and vapor), so it's not included in the default layouts:\n\n```html\n  \u003cdiv class=\"d-flex flex-grow-1 flex-shrink-0 py-5 bg-body-secondary\"\u003e\n    \u003cdiv class=\"m-auto p-4 border shadow-lg bg-white\"\u003e\n      {% block content %}{% endblock %}\n    \u003c/div\u003e\n  \u003c/div\u003e\n```\n\nTo apply these or other customizations, override the HTML files in your templates directory: `templates/allauth/layouts/entrance.html`. See it in action within the example project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrelchris%2Fdjango-allauth-themes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharrelchris%2Fdjango-allauth-themes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrelchris%2Fdjango-allauth-themes/lists"}