Changeset 3773702
- Timestamp:
- 10/29/2026 06:00:54 PM (39 hours ago)
- File:
-
- 1 edited
-
tokenforge/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tokenforge/trunk/readme.txt
r3773698 r3773702 96 96 This is code, not a setting. Put it in a child theme's functions.php or in a mu-plugin, never in TokenForge's own files, so an update does not remove it. 97 97 98 ` 99 add_filter( 'tokenforge_global_scss', function ( $scss ) { 100 $scss .= '.pricing { padding: var(--space-m); }'; 101 $scss .= '.pricing a { @include btn(primary); }'; 102 return $scss; 103 } ); 104 ` 98 Example: add `add_filter( 'tokenforge_global_scss', 'my_pricing_scss' );` to your functions.php, then define `my_pricing_scss( $scss )` so it appends `.pricing { padding: var(--space-m); }` to `$scss` and returns it. 105 99 106 100 == Installation ==
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)