{"id":19544796,"url":"https://github.com/drewalth/trendygradients","last_synced_at":"2025-04-26T19:31:43.047Z","repository":{"id":169450191,"uuid":"645422197","full_name":"drewalth/TrendyGradients","owner":"drewalth","description":"SwiftUI ViewModifiers that apply super cool trendy animated or non-animated neon gradient backgrounds","archived":false,"fork":false,"pushed_at":"2024-06-12T20:28:21.000Z","size":3684,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T17:11:28.192Z","etag":null,"topics":["animation","gradient","neon","swift","swiftui","trendy"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewalth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-25T16:01:28.000Z","updated_at":"2024-09-22T13:04:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dc3c1dd-4d3e-44aa-8ac2-0178f164f91a","html_url":"https://github.com/drewalth/TrendyGradients","commit_stats":null,"previous_names":["drewalth/trendygradients"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2FTrendyGradients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2FTrendyGradients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2FTrendyGradients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2FTrendyGradients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewalth","download_url":"https://codeload.github.com/drewalth/TrendyGradients/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251041405,"owners_count":21527186,"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","gradient","neon","swift","swiftui","trendy"],"created_at":"2024-11-11T03:32:03.962Z","updated_at":"2025-04-26T19:31:42.444Z","avatar_url":"https://github.com/drewalth.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrendyGradients\n\nSuper cool boxes with trendy neon gradient backgrounds for SwiftUI. Use the provided ViewModifiers or copy pasta and make your own :) \n\n![photo](trendy-hero.gif)\n\n## Installation\n\n### Swift Package Manager\n\nAdd the following to your `Package.swift` file:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/drewalth/TrendyGradients.git\", from: \"2.0.0\")\n]\n```\n\n## Usage\n    \n### ViewModifier - Default\n\n```swift\nimport TrendyGradients\n\nstruct ContentView: View {\n    var body: some View {\n        VStack {\n            Text(\"Hello, World!\")\n                .padding()\n                .background(TrendyGradient())\n                .cornerRadius(10)\n                .padding()\n        }.gradient(colors: (Color.pink, Color.purple))\n    }\n}\n```\n\n### ViewModifier - Animated\n\n```swift\nimport TrendyGradients\n\nstruct ContentView: View {\n    var body: some View {\n        VStack {\n            Text(\"Hello, World!\")\n                .padding()\n                .background(TrendyGradient())\n                .cornerRadius(10)\n                .padding()\n        }.animatedGradient(colors1: [Color.red, Color.blue], colors2: [Color.green, Color.yellow])\n    }\n}\n```\n\n### ButtonStyle\n\n```swift\nimport TrendyGradients\n\nButton(\"Gradient Button\") {\n  print(\"Button tapped\")\n}.gradientButton(colors: (Color.pink, Color.purple))\n  .foregroundColor(.white)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewalth%2Ftrendygradients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewalth%2Ftrendygradients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewalth%2Ftrendygradients/lists"}