2 releases

new 0.1.4 May 4, 2021
0.1.3 Apr 17, 2021
0.1.2 Apr 17, 2021
0.1.1 Mar 20, 2021
0.1.0 Feb 27, 2021

#125 in Data structures

Download history 19/week @ 2021-02-24 3/week @ 2021-03-03 2/week @ 2021-03-10 19/week @ 2021-03-17 7/week @ 2021-03-24 7/week @ 2021-03-31 85/week @ 2021-04-07 119/week @ 2021-04-14 79/week @ 2021-04-21 35/week @ 2021-04-28

116 downloads per month
Used in 7 crates (4 directly)

MPL-2.0 license

110KB
2.5K SLoC

UX Primitives

API Docs Crates.io Code coverage Tests MPL-2.0 licensed Gitter chat loc

UX Primitives is a core graphic and color abstraction for Angular Rust.

Angular Rust is a high productivity, platform-agnostic frontend framework for the Rust language. It now supports desktop and web development. Angular Rust currently uses Clutter for desktop development and WebAssembly for web development. We are planning to add support for mobile development.

Angular Rust structure

Features

  • Graphic abstraction for cairo and web canvas, implemented in UX Animate
  • Most used color spaces: RGB, RGBA, HSL, HSV, LAB, CMY, CMYK
  • Color conversion: RGB to HSL, etc.
  • Support for color quantization to make the color closer to the palette
  • Palette Open Color

Color scheme for UI design

UX Primitives contain powerfull palette for easy of use and more professional look for your applications. UX Primitives use the Open Color scheme optimized for UI like font, background, border, etc.

  • All colors shall have adequate use
  • Provide general color for UI design
  • All colors will be beautiful in itself and harmonious
  • At the same brightness level, the perceived brightness will be constant

Available Colors

available colors

Quick Start

Install UX Primitives:

cargo add ux-primitives

Learn More

Community

Contributing

We believe the wider community can create better code. The first tool for improving the community is to tell the developers about the project by giving it a star. More stars - more members.

Angular Rust is a community effort and we welcome all kinds of contributions, big or small, from developers of all backgrounds. We want the Angular Rust community to be a fun and friendly place, so please review our Code of Conduct to learn what behavior will not be tolerated.

New to Angular Rust?

Start learning about the framework by helping us improve our documentation. Pull requests which improve test coverage are also very welcome.

Looking for inspiration?

Check out the community curated list of awesome things related to Angular Rust / WebAssembly at awesome-angular-rust.

Confused about something?

Feel free to drop into our Gitter chatroom or open a new "Question" issue to get help from contributors. Often questions lead to improvements to the ergonomics of the framework, better documentation, and even new features!

Ready to dive into the code?

After reviewing the Contributing Code Guidelines, check out the "Good First Issues" (they are eager for attention!). Once you find one that interests you, feel free to assign yourself to an issue and don't hesitate to reach out for guidance, the issues vary in complexity.

Let's help each other!

Come help us on the issues that matter that the most and receive a small cash reward for your troubles. We use Issuehunt to fund issues from our Open Collective funds. If you really care about an issue, you can choose to add funds yourself!

Found a bug?

Please report all bugs! We are happy to help support developers fix the bugs they find if they are interested and have the time.

Todo

  • Documentation

Dependencies

~1.5MB
~29K SLoC