Skip to content

Commit fd86128

Browse files
committed
update block-design-system files
1 parent e264b24 commit fd86128

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ gulp.task( 'generate-block-design-system-php', function( cb ) {
260260
// Generate PHP variable string
261261
const script = `<?php
262262
// This is a generated file by gulp generate-block-design-system-php
263+
// Use block-design-system.json if you want to edit this file.
263264
264265
// Exit if accessed directly.
265266
if ( ! defined( 'ABSPATH' ) ) {
@@ -284,7 +285,7 @@ if ( ! class_exists( 'Stackable_Block_Design_System') ) {
284285
?>
285286
`
286287
// Write PHP variable to file
287-
fs.writeFileSync( path.resolve( __dirname, 'src/styles/index.php' ), script )
288+
fs.writeFileSync( path.resolve( __dirname, 'src/styles/block-design-system.php' ), script )
288289

289290
cb()
290291
} )
@@ -396,6 +397,7 @@ gulp.task( 'generate-block-design-system-scss', function( cb ) {
396397
// Generate PHP variable string
397398
const script = `@import "cssvars";
398399
// This is a generated file by gulp generate-block-design-system-scss
400+
// Use block-design-system.json if you want to edit this file.
399401
400402
/**
401403
* Default Stackable UI Kit design.

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function is_frontend() {
229229
require_once( plugin_dir_path( __FILE__ ) . 'src/kses.php' );
230230
require_once( plugin_dir_path( __FILE__ ) . 'src/dynamic-breakpoints.php' );
231231
require_once( plugin_dir_path( __FILE__ ) . 'src/design-library/init.php' );
232-
require_once( plugin_dir_path( __FILE__ ) . 'src/styles/index.php' );
232+
require_once( plugin_dir_path( __FILE__ ) . 'src/styles/block-design-system.php' );
233233
require_once( plugin_dir_path( __FILE__ ) . 'src/global-settings.php' );
234234
require_once( plugin_dir_path( __FILE__ ) . 'src/plugins/global-settings/spacing-and-borders/index.php' );
235235
require_once( plugin_dir_path( __FILE__ ) . 'src/plugins/global-settings/buttons-and-icons/index.php' );
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
22
// This is a generated file by gulp generate-block-design-system-php
3+
// Use block-design-system.json if you want to edit this file.
34

45
// Exit if accessed directly.
56
if ( ! defined( 'ABSPATH' ) ) {

src/styles/block-design-system.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "cssvars";
22
// This is a generated file by gulp generate-block-design-system-scss
3+
// Use block-design-system.json if you want to edit this file.
34

45
/**
56
* Default Stackable UI Kit design.

0 commit comments

Comments
 (0)