{"id":14965015,"url":"https://github.com/avaloniaui/citrus.avalonia","last_synced_at":"2025-04-08T09:11:27.529Z","repository":{"id":39572060,"uuid":"237842693","full_name":"AvaloniaUI/Citrus.Avalonia","owner":"AvaloniaUI","description":"Modern styles for Avalonia controls.","archived":false,"fork":false,"pushed_at":"2024-01-10T20:31:35.000Z","size":2249,"stargazers_count":547,"open_issues_count":6,"forks_count":31,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-10-29T14:35:25.898Z","etag":null,"topics":["avalonia","avaloniaui","design","nuget","theme","ui","ui-components","ui-design","ui-kit","ui-theme"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"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/AvaloniaUI.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}},"created_at":"2020-02-02T21:54:48.000Z","updated_at":"2024-10-24T03:35:44.000Z","dependencies_parsed_at":"2024-01-15T01:03:15.514Z","dependency_job_id":"5c329b70-57d2-430e-a88f-31aea1dc1a65","html_url":"https://github.com/AvaloniaUI/Citrus.Avalonia","commit_stats":null,"previous_names":["worldbeater/citrus.avalonia"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaloniaUI%2FCitrus.Avalonia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaloniaUI%2FCitrus.Avalonia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaloniaUI%2FCitrus.Avalonia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AvaloniaUI%2FCitrus.Avalonia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AvaloniaUI","download_url":"https://codeload.github.com/AvaloniaUI/Citrus.Avalonia/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"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":["avalonia","avaloniaui","design","nuget","theme","ui","ui-components","ui-design","ui-kit","ui-theme"],"created_at":"2024-09-24T13:34:06.191Z","updated_at":"2025-04-08T09:11:27.497Z","avatar_url":"https://github.com/AvaloniaUI.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://worldbeater.visualstudio.com/Citrus.Avalonia/_apis/build/status/worldbeater.Citrus.Avalonia)](https://worldbeater.visualstudio.com/Citrus.Avalonia/_build/latest?definitionId=1) ![netstandard](https://img.shields.io/badge/.NET%20Standard-2.0-green.svg) [![nuget](https://img.shields.io/nuget/v/Citrus.Avalonia.svg)](https://www.nuget.org/packages/Citrus.Avalonia) [![downloads](https://img.shields.io/nuget/dt/citrus.avalonia)](https://www.nuget.org/packages/Citrus.Avalonia) ![License](https://img.shields.io/github/license/worldbeater/avalonia.citrus.svg) ![Size](https://img.shields.io/github/repo-size/worldbeater/avalonia.citrus.svg)\n\n### Citrus\n\nAvalonia experimental theme.\n\n\u003cimg src=\"./assets/picture.jpeg\" width=\"600\"\u003e\n\n### Getting Started\n\nThe easiest way to get started is to install the library as a NuGet package:\n\n```powershell\nInstall-Package Citrus.Avalonia\n# Or 'dotnet add package Citrus.Avalonia'\n```\n\nThen, reference the preffered theme from your `App.xaml` file:\n\n```xml\n\u003cApplication xmlns=\"https://github.com/avaloniaui\"\n             xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\n             x:Class=\"YourNamespace.App\"\u003e\n  \u003cApplication.Styles\u003e\n    \u003cSimpleTheme /\u003e\n    \u003cStyleInclude Source=\"avares://Citrus.Avalonia/Citrus.xaml\"/\u003e\n\n    \u003c!-- To use other themes: --\u003e\n    \u003c!-- \u003cStyleInclude Source=\"avares://Citrus.Avalonia/Sea.xaml\"/\u003e --\u003e\n    \u003c!-- \u003cStyleInclude Source=\"avares://Citrus.Avalonia/Rust.xaml\"/\u003e --\u003e\n    \u003c!-- \u003cStyleInclude Source=\"avares://Citrus.Avalonia/Candy.xaml\"/\u003e --\u003e\n    \u003c!-- \u003cStyleInclude Source=\"avares://Citrus.Avalonia/Magma.xaml\"/\u003e --\u003e\n  \u003c/Application.Styles\u003e\n\u003c/Application\u003e\n```\n\nDone! Now the templates of all default controls are updated. See the [sandbox project](https://github.com/worldbeater/Citrus.Avalonia/blob/master/src/Citrus.Avalonia.Sandbox/MainWindow.xaml) for more examples. See [`StyleManager.cs`](https://github.com/worldbeater/Citrus.Avalonia/blob/master/src/Citrus.Avalonia.Sandbox/StyleManager.cs) to learn how to change color scheme at runtime.\n\n\u003cimg src=\"./assets/demo.gif\" width=\"500\"\u003e\n\n### Getting Started without NuGet\n\nAnother way to get started is to add this repo as a [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to your existing git repository:\n\n```sh\nmkdir ./external\ngit submodule add git@github.com:AvaloniaUI/Citrus.Avalonia.git ./external/citrus\n# Reference the ../external/citrus/src/Citrus.Avalonia/Citrus.Avalonia.csproj project then.\n# The ../external/citrus/src/Citrus.Avalonia.Sandbox/Citrus.Avalonia.Sandbox.csproj is \n# the sandbox where you can browse the markup samples.\n```\n\n### Technologies and Tools Used\n\n- \u003ca href=\"https://github.com/avaloniaui\"\u003eAvaloniaUI\u003c/a\u003e cross-platform XAML-based GUI framework\n- \u003ca href=\"https://reactiveui.net/docs/handbook/view-models/boilerplate-code\"\u003eReactiveUI.Fody\u003c/a\u003e for MVVM implementation in the sandbox project\n- \u003ca href=\"https://github.com/reactiveui/reactiveui.validation\"\u003eReactiveUI.Validation\u003c/a\u003e for `INotifyDataErrorInfo` validations\n- \u003ca href=\"https://www.jetbrains.com/rider/\"\u003eJetBrains Rider\u003c/a\u003e cross-platform C# IDE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favaloniaui%2Fcitrus.avalonia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favaloniaui%2Fcitrus.avalonia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favaloniaui%2Fcitrus.avalonia/lists"}