File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ : root {
2
+ --ion-color-primary : # 6030ff ;
3
+ --ion-color-primary-rgb : 96 , 48 , 255 ;
4
+ --ion-color-primary-contrast : # ffffff ;
5
+ --ion-color-primary-contrast-rgb : 255 , 255 , 255 ;
6
+ --ion-color-primary-shade : # 542ae0 ;
7
+ --ion-color-primary-tint : # 7045ff ;
8
+ }
Original file line number Diff line number Diff line change 1
1
export default defineNuxtConfig ( {
2
2
modules : [ '@nuxtjs/ionic' ] ,
3
+ css : [ '~/assets/css/ionic.css' ] ,
3
4
ionic : {
4
5
// integrations: {
5
6
// icons: true,
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ export const useCSSSetup = () => {
5
5
6
6
const setupCore = ( ) => {
7
7
// Core CSS required for Ionic components to work properly
8
- nuxt . options . css . push ( '@ionic/vue/css/core.css' )
8
+ nuxt . options . css . unshift ( '@ionic/vue/css/core.css' )
9
9
}
10
10
11
11
const setupBasic = ( ) => {
12
12
// Basic CSS for apps built with Ionic
13
- nuxt . options . css . push (
13
+ nuxt . options . css . unshift (
14
14
'@ionic/vue/css/normalize.css' ,
15
15
'@ionic/vue/css/structure.css' ,
16
16
'@ionic/vue/css/typography.css' ,
@@ -19,7 +19,7 @@ export const useCSSSetup = () => {
19
19
20
20
const setupUtilities = ( ) => {
21
21
// Optional CSS utils that can be commented out
22
- nuxt . options . css . push (
22
+ nuxt . options . css . unshift (
23
23
'@ionic/vue/css/padding.css' ,
24
24
'@ionic/vue/css/float-elements.css' ,
25
25
'@ionic/vue/css/text-alignment.css' ,
You can’t perform that action at this time.
0 commit comments