{"id":27952029,"url":"https://github.com/swup/fade-theme","last_synced_at":"2025-06-28T23:38:16.199Z","repository":{"id":44143064,"uuid":"186500777","full_name":"swup/fade-theme","owner":"swup","description":"A swup theme for fade animations 🎨","archived":false,"fork":false,"pushed_at":"2024-11-27T09:35:39.000Z","size":729,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T02:36:33.680Z","etag":null,"topics":["animation","fade","page-transitions","swup","theme"],"latest_commit_sha":null,"homepage":"https://swup.js.org/themes/fade-theme","language":"JavaScript","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/swup.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,"zenodo":null},"funding":{"github":["gmrchk","daun","hirasso"],"open_collective":"swup"}},"created_at":"2019-05-13T21:52:26.000Z","updated_at":"2024-10-15T05:16:28.000Z","dependencies_parsed_at":"2025-05-07T16:44:12.636Z","dependency_job_id":"8aacc18a-aa1c-4a9c-8f23-8af23f6191e6","html_url":"https://github.com/swup/fade-theme","commit_stats":{"total_commits":31,"total_committers":4,"mean_commits":7.75,"dds":0.6129032258064516,"last_synced_commit":"2826fd90ecf0b17ea4bc3db162eed79c8f8b2e88"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/swup/fade-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swup%2Ffade-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swup%2Ffade-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swup%2Ffade-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swup%2Ffade-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swup","download_url":"https://codeload.github.com/swup/fade-theme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swup%2Ffade-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260086539,"owners_count":22956812,"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":["animation","fade","page-transitions","swup","theme"],"created_at":"2025-05-07T16:27:21.281Z","updated_at":"2025-06-16T02:35:31.525Z","avatar_url":"https://github.com/swup.png","language":"JavaScript","funding_links":["https://github.com/sponsors/gmrchk","https://github.com/sponsors/daun","https://github.com/sponsors/hirasso","https://opencollective.com/swup"],"categories":[],"sub_categories":[],"readme":"# Swup Fade Theme\n\nA [swup](https://swup.js.org) theme for fade animations.\n\nMakes the content fade out when leaving, and fade in when entering.\n\n## Installation\n\nInstall the theme from npm and import it into your bundle.\n\n```bash\nnpm install @swup/fade-theme\n```\n\n```js\nimport SwupFadeTheme from '@swup/fade-theme';\n```\n\nOr include the minified production file from a CDN:\n\n```html\n\u003cscript src=\"https://unpkg.com/@swup/fade-theme@2\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\nTo run this theme, include an instance in the swup options.\n\n```javascript\nconst swup = new Swup({\n  plugins: [new SwupFadeTheme()]\n});\n```\n\n## Options\n\n### mainElement\n\nChanges the selector of the elements to fade in/out. Defaults to `#swup`.\n\n## Customization\n\nYou can override the plugin's custom properties to fine-tweak the animation.\nThese are the defaults:\n\n```css\nbody {\n  --swup-fade-theme-duration: .4s;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswup%2Ffade-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswup%2Ffade-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswup%2Ffade-theme/lists"}