@bildvitta/quasar-app-extension-asteroid 3.0.0-beta.2 → 3.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-app-extension-asteroid",
3
3
  "description": "Asteroid",
4
- "version": "3.0.0-beta.2",
4
+ "version": "3.0.0-beta.5",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
@@ -29,7 +29,7 @@
29
29
  "yarn": ">= 1.6.0"
30
30
  },
31
31
  "dependencies": {
32
- "@bildvitta/quasar-ui-asteroid": "3.0.0-beta.2",
32
+ "@bildvitta/quasar-ui-asteroid": "3.0.0-beta.5",
33
33
  "humps": "^2.0.1"
34
34
  }
35
35
  }
@@ -1,5 +1,6 @@
1
1
  import ForbiddenPage from '@bildvitta/quasar-ui-asteroid/src/pages/Forbidden.vue'
2
2
  import NotFoundPage from '@bildvitta/quasar-ui-asteroid/src/pages/NotFound.vue'
3
+ import ServerError from '@bildvitta/quasar-ui-asteroid/src/pages/ServerError.vue'
3
4
 
4
5
  export default function ({ router }) {
5
6
  const routes = [
@@ -7,6 +8,11 @@ export default function ({ router }) {
7
8
  name: 'Forbidden',
8
9
  path: '/',
9
10
  component: ForbiddenPage
11
+ },
12
+ {
13
+ name: 'ServerError',
14
+ path: '/',
15
+ component: ServerError
10
16
  }
11
17
  ]
12
18
 
@@ -1,4 +1,4 @@
1
- import useHistory from '@bildvitta/quasar-ui-asteroid/src/composables/useHistory'
1
+ import useHistory from '@bildvitta/quasar-ui-asteroid/src/composables/use-history'
2
2
 
3
3
  export default ({ router }) => {
4
4
  router.beforeEach((to, from, next) => {
package/src/install.js CHANGED
@@ -6,4 +6,12 @@ module.exports = function (api) {
6
6
  \\__,_/__/\\__\\___|_| \\___/_\\__,_|
7
7
  ~+ INSTALAÇÃO CONCLUÍDA +~
8
8
  `)
9
+
10
+ // adicionar arquivo de configuração de variareis sass ao projeto.
11
+ api.renderFile(
12
+ // caminho do arquivo importado
13
+ './templates/css/quasar.variables.scss',
14
+ // caminho do arquivo que será criado no projeto
15
+ 'src/css/quasar.variables.scss'
16
+ )
9
17
  }
@@ -0,0 +1,23 @@
1
+ // Quasar SCSS (& Sass) Variables - Asteroid
2
+ // --------------------------------------------------
3
+ // NÃO MODIFIQUE ESTE ARQUIVO COM AS CONFIGURAÇÕES DO ASTEROID PRÉ DEFINIDAS!
4
+ @import '~@bildvitta/quasar-ui-asteroid/src/index';
5
+
6
+ $primary : #00527A;
7
+ // TODO: No futuro a ideia é não ter uma cor secundária.
8
+ // TODO: Por hora vamos usar a mesma de $primary-contrast.
9
+ $secondary : #B8D3E0A3;
10
+ $tertiary : #c7ceff;
11
+ $accent : rgba($primary, 0.1);
12
+ $dark : #1d1d1d;
13
+ $positive : #21ba45;
14
+ $negative : #c10015;
15
+ $info : #31ccec;
16
+ $warning : #f2c037;
17
+
18
+ // Asteroid
19
+ $primary-contrast: $secondary;
20
+ $secondary-contrast: #3691BF80;
21
+
22
+ @include set-brand(primary-contrast, $primary-contrast);
23
+ @include set-brand(secondary-contrast, $secondary-contrast);