Changeset 357108
- Timestamp:
- 11/04/2026 06:40:31 AM (71 minutes ago)
- Location:
- novaho/1.0.1
- Files:
-
- 3 added
- 2 deleted
- 11 edited
- 1 copied
-
. (copied) (copied from novaho/1.0.0 )
-
assets/dist/assets/main-8Rn8Tty0.js (deleted)
-
assets/dist/assets/main-BpRG3yDH.js (added)
-
assets/dist/assets/main-D3MsTyhd.css (added)
-
assets/dist/assets/main-DQUDnNPD.css (deleted)
-
assets/dist/manifest.json (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
header.php (modified) (1 diff)
-
inc/enqueue.php (modified) (1 diff)
-
inc/setup.php (modified) (1 diff)
-
package-lock.json (modified) (2 diffs)
-
package.json (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/scss/components/_wp-core.scss (added)
-
src/scss/layout/_grid.scss (modified) (1 diff)
-
src/scss/style.scss (modified) (1 diff)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
novaho/1.0.1/assets/dist/manifest.json
r354838 r357108 1 1 { 2 2 "src/js/main.js": { 3 "file": "assets/main- 8Rn8Tty0.js",3 "file": "assets/main-BpRG3yDH.js", 4 4 "name": "main", 5 5 "src": "src/js/main.js", 6 6 "isEntry": true, 7 7 "css": [ 8 "assets/main-D QUDnNPD.css"8 "assets/main-D3MsTyhd.css" 9 9 ] 10 10 }, -
novaho/1.0.1/functions.php
r354838 r357108 10 10 } 11 11 12 define( 'NOVAHO_VERSION', '1.0. 0' );12 define( 'NOVAHO_VERSION', '1.0.1' ); 13 13 define( 'NOVAHO_DIR', get_template_directory() ); 14 14 define( 'NOVAHO_URI', get_template_directory_uri() ); -
novaho/1.0.1/header.php
r354838 r357108 15 15 <meta charset="<?php bloginfo( 'charset' ); ?>"> 16 16 <meta name="viewport" content="width=device-width, initial-scale=1"> 17 <script>18 // Applies a stored dark/light choice before first paint, so the page19 // never flashes the "wrong" theme. No stored choice = the CSS in20 // _theme-mode.scss falls back to the OS preference on its own.21 ( function () {22 try {23 var theme = localStorage.getItem( 'novaho-theme' );24 if ( theme === 'dark' || theme === 'light' ) {25 document.documentElement.setAttribute( 'data-theme', theme );26 }27 } catch ( error ) {}28 } )();29 </script>30 17 <?php wp_head(); ?> 31 18 </head> -
novaho/1.0.1/inc/enqueue.php
r354838 r357108 24 24 25 25 /** 26 * Apply a stored dark/light choice before first paint, so the page never 27 * flashes the "wrong" theme. No stored choice = the CSS in _theme-mode.scss 28 * falls back to the OS preference on its own. 29 * 30 * Printed through wp_head (priority 1, ahead of the stylesheets at 8) rather 31 * than hardcoded in header.php, so child themes and plugins can unhook it. 32 */ 33 function novaho_theme_mode_script() { 34 wp_print_inline_script_tag( 35 "( function () { 36 try { 37 var theme = localStorage.getItem( 'novaho-theme' ); 38 if ( theme === 'dark' || theme === 'light' ) { 39 document.documentElement.setAttribute( 'data-theme', theme ); 40 } 41 } catch ( error ) {} 42 } )();" 43 ); 44 } 45 add_action( 'wp_head', 'novaho_theme_mode_script', 1 ); 46 47 /** 26 48 * Block editor styles (matching the frontend look). 27 49 */ -
novaho/1.0.1/inc/setup.php
r354838 r357108 61 61 add_theme_support( 'editor-styles' ); 62 62 add_theme_support( 'wp-block-styles' ); 63 64 // Wide / full-width alignment for blocks (styled in components/_wp-core.scss). 65 add_theme_support( 'align-wide' ); 66 67 // Background color/image under Customize > Background Image. The default 68 // matches $color-bg, so core prints no override until the user changes it. 69 add_theme_support( 70 'custom-background', 71 array( 72 'default-color' => 'ffffff', 73 ) 74 ); 63 75 64 76 // Menu locations. -
novaho/1.0.1/package-lock.json
r354838 r357108 1 1 { 2 2 "name": "novaho", 3 "version": "1.0. 0",3 "version": "1.0.1", 4 4 "lockfileVersion": 3, 5 5 "requires": true, … … 7 7 "": { 8 8 "name": "novaho", 9 "version": "1.0. 0",9 "version": "1.0.1", 10 10 "devDependencies": { 11 11 "archiver": "^7.0.1", -
novaho/1.0.1/package.json
r354838 r357108 1 1 { 2 2 "name": "novaho", 3 "version": "1.0. 0",3 "version": "1.0.1", 4 4 "private": true, 5 5 "description": "Standard WordPress base theme - assets built with Vite + SCSS", -
novaho/1.0.1/readme.txt
r354838 r357108 4 4 Tested up to: 7.0 5 5 Requires PHP: 8.0 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 54 54 == Changelog == 55 55 56 = 1.0.1 = 57 * The dark/light mode bootstrap script is now printed through the wp_head hook instead of being hardcoded in header.php. 58 * Added support for wide and full block alignments (align-wide). 59 * Added Customizer background support (custom-background). 60 * Added styles for WordPress core classes: sticky posts, post author comments, alignleft/alignright/aligncenter, captions and gallery captions. 61 56 62 = 1.0.0 = 57 63 * Initial release. -
novaho/1.0.1/src/scss/layout/_grid.scss
r354838 r357108 48 48 } 49 49 50 // Reading width is capped per child (components/_wp-core.scss), not on 51 // .entry-content itself, so .alignwide / .alignfull blocks can extend past it. 50 52 .entry-content { 51 max-width: $content-width;52 53 53 > * + * { 54 54 margin-top: map.get($spacers, 3); -
novaho/1.0.1/src/scss/style.scss
r354838 r357108 24 24 @use 'components/theme-toggle'; 25 25 @use 'components/back-to-top'; 26 @use 'components/wp-core'; -
novaho/1.0.1/style.css
r354838 r357108 5 5 Author URI: https://wporion.com 6 6 Description: A lightweight, general-purpose base theme built on classic PHP architecture. Every visual and structural option — header layout, top bar, breadcrumb, single post and page layout, post list card style, and footer — is configurable from Appearance > Customize > Theme Settings, backed by CSS custom properties so changes apply instantly. Includes a built-in dark/light mode toggle, an accessible off-canvas mobile menu, four independent footer widget columns, a custom Recent Posts widget, and related-posts support. 7 Version: 1.0. 07 Version: 1.0.1 8 8 Requires at least: 6.5 9 9 Requires PHP: 8.0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)