Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tanishqmanuja/capacitor-system-colors
- Owner: tanishqmanuja
- Created: 2024-02-17T16:02:06.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T13:38:41.000Z (4 months ago)
- Last Synced: 2024-11-30T09:15:18.104Z (about 1 month ago)
- Topics: android, angular, capacitor, ionic
- Language: Java
- Homepage:
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
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; }>
--------------------