Giter Club home page Giter Club logo

material.avalonia's Introduction

Material.Avalonia

Customizable Material Design implementation for AvaloniaUI framework.

Overview

This library is a collection of styles and controls to help you customize your Avalonia application with Material Design theme.

  • Material Design styles for almost all Avalonia controls
  • Additional controls to support the Snackbars, side sheets, floating buttons, cards, dialogs and more
  • Easy configuration of palette (at design and runtime), according to Material Guidelines guidelines
  • Full Material Design Icons icon pack support (must be installed separately, in favor of small library size)
  • Demo applications included in the source project

nuget nuget nuget

Getting started

Check out the getting started wiki page. Or follow these very quick instructions:

  1. Add Material.Avalonia nuget package to your project:

    dotnet add package Material.Avalonia
    
  2. Edit App.xaml file:

    If you install 3.0.0-* version or higher, use this:

    <Application ...
      xmlns:themes="clr-namespace:Material.Styles.Themes;assembly=Material.Styles"
      ...>
      <Application.Styles>
        <themes:MaterialTheme BaseTheme="Dark" PrimaryColor="Purple" SecondaryColor="Lime" />
      </Application.Styles>
    </Application>

    If you install 2.5.1 or lower use this:

    <Application ...
      xmlns:themes="clr-namespace:Material.Styles.Themes;assembly=Material.Styles"
      ...>
      <Application.Resources>
        <themes:BundledTheme BaseTheme="Light" PrimaryColor="Teal" SecondaryColor="Amber"/>
      </Application.Resources>
      <Application.Styles>
        <StyleInclude Source="avares://Material.Avalonia/Material.Avalonia.Templates.xaml" />
      </Application.Styles>
    </Application>

Useful links

material.avalonia's People

Contributors

appleneko2001 avatar createlab avatar djonasdev avatar dylanlangston avatar hahn-kev avatar kirichenec avatar mariogk avatar osapl avatar pavver avatar rstm-sf avatar skel35 avatar skproch avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.