mirror of https://github.com/nocodb/nocodb
68 lines
2.2 KiB
68 lines
2.2 KiB
/* eslint-disable */ |
|
|
|
import Vue from 'vue'; |
|
import Vuetify from 'vuetify/lib'; |
|
import colors from 'vuetify/es5/util/colors'; |
|
|
|
Vue.use(Vuetify); |
|
|
|
export default ctx => { |
|
const vuetify = new Vuetify({ |
|
theme: { |
|
primary: colors.blue.lighten1, |
|
accent: colors.green.darken2, |
|
secondary: colors.amber.lighten1, |
|
info: colors.teal.lighten1, |
|
warning: colors.amber, |
|
error: colors.deepOrange.lighten1, |
|
success: colors.green.lighten1 |
|
} |
|
}) |
|
|
|
ctx.app.vuetify = vuetify |
|
ctx.$vuetify = vuetify.framework |
|
} |
|
/** |
|
* @copyright Copyright (c) 2021, Xgene Cloud Ltd |
|
* |
|
* @author Naveen MR <oof1lab@gmail.com> |
|
* @author Pranav C Balan <pranavxc@gmail.com> |
|
* |
|
* @license GNU AGPL version 3 or any later version |
|
* |
|
* This program is free software: you can redistribute it and/or modify |
|
* it under the terms of the GNU Affero General Public License as |
|
* published by the Free Software Foundation, either version 3 of the |
|
* License, or (at your option) any later version. |
|
* |
|
* This program is distributed in the hope that it will be useful, |
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
* GNU Affero General Public License for more details. |
|
* |
|
* You should have received a copy of the GNU Affero General Public License |
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
* |
|
*/ |
|
/** |
|
* @copyright Copyright (c) 2021, Xgene Cloud Ltd |
|
* |
|
* @author Naveen MR <oof1lab@gmail.com> |
|
* @author Pranav C Balan <pranavxc@gmail.com> |
|
* |
|
* @license GNU AGPL version 3 or any later version |
|
* |
|
* This program is free software: you can redistribute it and/or modify |
|
* it under the terms of the GNU Affero General Public License as |
|
* published by the Free Software Foundation, either version 3 of the |
|
* License, or (at your option) any later version. |
|
* |
|
* This program is distributed in the hope that it will be useful, |
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
* GNU Affero General Public License for more details. |
|
* |
|
* You should have received a copy of the GNU Affero General Public License |
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
* |
|
*/
|
|
|