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

https://github.com/hawkeye64/q-theme-mixin

Provide theme options for your Quasar-based components
https://github.com/hawkeye64/q-theme-mixin

Last synced: 3 months ago
JSON representation

Provide theme options for your Quasar-based components

Awesome Lists containing this project

README

        

QThemeMixin
===

QThemeMixin is a Vue Mix-in library for components created with Quasar Framework. It is only for components that use a `render` function. It does not work with template formats found with SFC (single file components).

# Features

Allows you to define themes to be used (check out [QCalendar](https://github.com/quasarframework/app-extension-qcalendar)) in conjunction with [QColorizeMixin](https://github.com/hawkeye64/q-colorize-mixin).

# Install
To add this mix-in to your Quasar application, run the following (in your Quasar app folder):

```bash
yarn add q-theme-mixin

# or

npm install q-theme-mixin
```

# Uninstall
To remove this mix-in from your Quasar application, run the following (in your Quasar app folder):

```bash
yarn remove q-theme-mixin

# or

npm remove q-theme-mixin
```

# Documentation and Examples
Examples with code can be found [here](https://hawkeye64.github.io/q-theme-mixin/examples).

# Demo Project (source)
Source for the demo application can be found [here](https://github.com/hawkeye64/q-theme-mixin/tree/master/demo).

# Setup
```bash
$ yarn
```

# Developing
```bash
$ cd ui

# start dev in SPA mode
$ yarn dev
```

# Building package
```bash
$ cd ui

$ yarn build
```

# Building Demo
```bash
# first time prep (from root)
$ cd demo
$ yarn

# for interactive - browser opens automatically
$ quasar dev

# for build - goes to docs folder
$ yarn build-demo
```

# Donate
If you appreciate the work that went into this, please consider donating to [Quasar](https://donate.quasar.dev) or [Jeff](https://github.com/sponsors/hawkeye64).

# License
MIT (c) Jeff Galbraith