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 11export default defineNuxtConfig ( {
22 modules : [ '@nuxtjs/ionic' ] ,
3+ css : [ '~/assets/css/ionic.css' ] ,
34 ionic : {
45 // integrations: {
56 // icons: true,
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ export const useCSSSetup = () => {
55
66 const setupCore = ( ) => {
77 // 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' )
99 }
1010
1111 const setupBasic = ( ) => {
1212 // Basic CSS for apps built with Ionic
13- nuxt . options . css . push (
13+ nuxt . options . css . unshift (
1414 '@ionic/vue/css/normalize.css' ,
1515 '@ionic/vue/css/structure.css' ,
1616 '@ionic/vue/css/typography.css' ,
@@ -19,7 +19,7 @@ export const useCSSSetup = () => {
1919
2020 const setupUtilities = ( ) => {
2121 // Optional CSS utils that can be commented out
22- nuxt . options . css . push (
22+ nuxt . options . css . unshift (
2323 '@ionic/vue/css/padding.css' ,
2424 '@ionic/vue/css/float-elements.css' ,
2525 '@ionic/vue/css/text-alignment.css' ,
You can’t perform that action at this time.
0 commit comments