File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
.github/workflows/actions/build-core-stencil-prerelease Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929 with :
3030 name : ionic-core
3131 output : core/CoreBuild.zip
32- paths : core/dist core/components core/src/foundations core/css core/hydrate core/loader core/src/components.d.ts
32+ paths : core/dist core/components core/src/foundations core/css core/themes core/ hydrate core/loader core/src/components.d.ts
Original file line number Diff line number Diff line change 4949 const paletteQuery = window . location . search . match ( / p a l e t t e = ( [ a - z ] + ) / ) ;
5050 const paletteName = paletteQuery ?. [ 1 ] || 'light' ;
5151
52- // Only attempt theme loading if not using CDN and theme is valid
52+ // Only attempt theme loading if the theme is valid
5353 if ( themeName && [ 'ionic' , 'ios' , 'md' ] . includes ( themeName ) ) {
5454 loadThemeTokens ( themeName , paletteName ) ;
5555 }
5656
5757 async function loadThemeTokens ( themeName , paletteName ) {
5858 try {
59- // Load theme tokens
59+ // Load the default tokens for the theme
6060 const defaultTokens = await import ( `/themes/${ themeName } /default.tokens.js` ) ;
61- let theme = defaultTokens . defaultTheme ;
61+ const theme = defaultTokens . defaultTheme ;
6262
6363 // If a specific palette is requested, modify the palette structure
6464 // to set the enabled property to 'always'
You can’t perform that action at this time.
0 commit comments