Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
52 lines
716 B
SCSS
52 lines
716 B
SCSS
.dashicon-light,
|
|
.components-toolbar__control-light {
|
|
color: $light-primary;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.dashicon-dark,
|
|
.components-toolbar__control-dark {
|
|
color: $dark-primary;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.dashicon-active {
|
|
color: #fff;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.is-pressed--light {
|
|
color: $light-primary;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.is-pressed--dark {
|
|
color: $dark-primary;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.dashicons-insert {
|
|
color: #87a6bc;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.unsupported-icon-light {
|
|
color: $gray-dark;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.unsupported-icon-dark {
|
|
color: $white;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.warning-icon-light {
|
|
color: $gray-dark;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.warning-icon-dark {
|
|
color: $white;
|
|
fill: currentColor;
|
|
}
|