Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
Fixing style issues (#48)
Browse files Browse the repository at this point in the history
* extract text theme

* extract primarySwatchColor into variable

* put comma where is helpful

* make green the FAB

* DarkTheme fix text field color

* change Switch Track color

* add documentation for Api color

* add simple using info

* move readme image to doc directory

* make FAB green on the other themes
  • Loading branch information
elbeicktalat authored Apr 18, 2021
1 parent 56fc59a commit 57626f5
Show file tree
Hide file tree
Showing 12 changed files with 265 additions and 190 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,26 @@

Ubuntu [Yaru](https://github.com/ubuntu/yaru) Style - Distinct look and feel of the Ubuntu Desktop

![Example app using Yaru light style](https://raw.githubusercontent.com/ubuntu/yaru.dart/main/screenshot_light.png)
![Example app using Yaru dark style](https://raw.githubusercontent.com/ubuntu/yaru.dart/main/screenshot_dark.png)
![Example app using Yaru light style](https://raw.githubusercontent.com/ubuntu/yaru.dart/main/doc/readme/screenshot_light.png)
![Example app using Yaru dark style](https://raw.githubusercontent.com/ubuntu/yaru.dart/main/doc/readme/screenshot_dark.png)

## Using Yaru
To be able to use this package follow this steps:
1. [Installation](https://pub.dev/packages/yaru/install)
1. Make you sure when you import this package `as` yaru.
1. Inside your `MaterialApp` you have to pass the `yaru.theme` which is the standard yaru theme.

```dart
MaterialApp(
theme: yaru.theme,
home: Scaffold(
appBar: AppBar(
title: Text('Yaru Theme'),
),
body: Container(),
),
);
```

## Contributing to yaru.dart

Expand Down
Binary file added doc/api/src/utils/colors/canonicalAubergine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/src/utils/colors/darkAubergine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/src/utils/colors/lightAubergine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/src/utils/colors/midAubergine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/src/utils/colors/orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/src/utils/colors/warmGrey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading

0 comments on commit 57626f5

Please sign in to comment.