Sorry, we don't support your browser.  Install a modern browser

Enhanced GreenShift Integration - Register Core Framework Classes in GreenShift's Class and Variable System#230

Summary:
Integrate Core Framework with GreenShift’s more advanced Class System features to allow users to register and organize their classes created in Core Framework into GreenShift Custom Class Groups or Framework Groups (see https://greenshiftwp.com/documentation/for-developers/how-to-register-own-css-framework-or-enable-core-framework-addon-with-greenshift/).

Problem:
There is no built-in mechanism in Core Framework to register and organize user-defined classes in Core Framework into GreenShift Custom Class Groups or Framework Groups.

This lack of an integration hinders the creation of seamless, non-developer-friendly design systems where users primarily interact with GreenShift’s dropdowns to apply custom styles. Developers have to manually bridge Core Framework classes in GreenShift programmatically to register Core Framework-generated classes into Custom Class Groups in GreenShift. This creates unnecessary overhead for developers and is a serious missed opportunity for Core Framework to serve as a seamless hub for defining and surfacing classes within GreenShift’s Class System interface.

Proposed Solution:
Fully integrate Core Framework throughout GreenShift UI via GreenShift’s advanced Class System features.

  1. Visual Management of GreenShift’s Custom Class Groups within Core Framework:
  2. Introduce a new section within Core Framework’s UI that allows users to create and manage GreenShift Custom Class Groups.
  3. Allow users to visually create classes in Core Framework’s visual class builder that are organized by GreenShift Custom Class Groups.
  1. Visual Management of GreenShift’s Framework Groups within Core Framework (Advanced Option):
  2. Provide an advanced UI section in Core Framework specifically for defining and managing GreenShift’s Framework Groups.
  3. For Framework Groups, the UI should allow users to submit a list of class names. Crucially, Core Framework will only register these class names with GreenShift, with the understanding that the corresponding CSS for these classes is contained within a separate, already enqueued stylesheet (e.g., a child theme’s style.css or a dedicated framework stylesheet).
  4. This feature would enable developers to use Core Framework’s UI to surface an entire custom CSS framework directly within GreenShift, allowing designers and content editors to apply these framework classes through GreenShift’s interface without needing to understand the underlying CSS.
14 hours ago