CSS Skinning Reference

CSS Skinning Reference

ProGUI utilizes a powerful, CSS-inspired skinning engine to decouple application logic from visual design. Using familiar CSS syntax, you can style backgrounds, borders, typography, shadows, and animated transitions.

While largely adhering to standard CSS3 syntax, ProGUI introduces several powerful extensions optimized for desktop GUI development (such as DPI-snapping images, custom text rendering modes, and granular z-depth shadows).

Selectors, States, and Themes

Styles are applied using class names, IDs, states (pseudo-classes), and themes. You construct the target path when using SkinSetValue(Path$, State$, Component$, Property$, Value$).


Variables & Colors

ProGUI supports CSS variables and standard color formats.


Background Properties

Backgrounds support solid colors, images, and gradients. Multiple backgrounds can be layered using comma separation.


Border Properties

Borders can be solid lines or complex DPI-scaled image borders.


Box Shadow Properties

ProGUI provides a highly advanced shadow rendering engine with standard CSS syntax plus extended Z-depth controls.


Text & Typography Properties

Text properties define how labels and font content render within the widget.


Transitions & Animations

ProGUI features an extremely robust animation engine capable of automatically interpolating between skin states (e.g., fading colors or animating border radii when a user hovers over a button).

Supported Easing Functions:

ProGUI supports standard CSS easing, cubic-bezier, and a massive library of extended game-engine-style easing functions:

See Also

Skinning Overview, SkinSetValue, WidgetSetSkinState

Supported OS

Windows, Linux