Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tanishqmanuja/capacitor-system-colors

🎨 Get native colors i.e. android.R.color.{id} from your capacitor app.
https://github.com/tanishqmanuja/capacitor-system-colors

android angular capacitor ionic

Last synced: 1 day ago
JSON representation

🎨 Get native colors i.e. android.R.color.{id} from your capacitor app.

Awesome Lists containing this project

README

        

# @tanishqmanuja/capacitor-system-colors

Get native android system colors

## Install

```bash
npm install @tanishqmanuja/capacitor-system-colors
npx cap sync
```

## API

* [`get(...)`](#get)

### get(...)

```typescript
get(options: { id: string; }) => Promise<{ color: string; }>
```

| Param | Type |
| ------------- | ---------------------------- |
| **`options`** | { id: string; } |

**Returns:** Promise<{ color: string; }>

--------------------