Context Panels

Quick-access panels for OxyMade variables via right-click in the builder.

OxyMade adds right-click context panels throughout the builder, giving you quick access to design system variables without leaving your current workflow.

Overview

When editing elements in Oxygen Builder, you can right-click on various input fields to open OxyMade’s context panels. These panels provide quick selection of pre-defined variables for:

  • Spacing (padding, margin, gap)
  • Colors (all semantic color variants)
  • Border Radius values
  • Typography sizes
  • Sizing (width, height)

How It Works

  1. Select an element in the builder
  2. Find the property you want to edit (e.g., padding, background color)
  3. Right-click on the input field
  4. A popup panel appears with OxyMade variable options
  5. Click a value to apply it instantly

The panel automatically detects the input type and shows relevant options.

Spacing Panel

Right-click on padding, margin, or gap inputs to access spacing variables.

Available Values

VariableValueUse Case
s1 - s104px - 40pxSmall spacing increments
s12 - s2048px - 80pxMedium spacing
s24 - s7296px - 288pxLarge spacing

Section Spacing

For larger vertical sections:

VariableValueUse Case
ss-none0pxNo spacing
ss-xs32pxExtra small sections
ss-sm48pxSmall sections
ss-md64pxMedium sections
ss-lg96pxLarge sections
ss-xl128pxExtra large sections
ss-xxl256pxMaximum section spacing

Color Panel

Right-click on color inputs to access the full OxyMade color palette.

Color Categories

  • Primary - Main brand color (11 shades)
  • Secondary - Complementary color (11 shades)
  • Tertiary - Supporting color (11 shades)
  • Accent - Highlight color (11 shades)
  • Neutral - UI/text colors (11 shades)
  • Base White - Pure white
  • Base Black - Near black

Shade Options

Each color includes these shade variants:

ShadePurpose
bgLight backgrounds
surfaceCard/container backgrounds
subtleSubtle backgrounds
borderBorder colors
mutedMuted/secondary text
basePrimary use of color
hoverHover states
textBody text color
activeActive/pressed states
headingHeading text
darkDarkest variant

Transparency Options

The color panel also offers transparency variants:

  • 10%, 20%, 30%… up to 90% opacity
  • Useful for overlays and subtle backgrounds

Border Radius Panel

Right-click on border radius inputs to access radius presets.

VariableValueResult
radius-none0pxSquare corners
radius-sm4pxSubtle rounding
radius-md8pxMedium rounding
radius-lg12pxLarge rounding
radius-xl16pxExtra large
radius-2xl24pxVery rounded
radius-full9999pxFully rounded (pills/circles)

Typography Panel

Right-click on font-size inputs to access typography scale values.

Text Sizes

VariableSizeUse Case
text-xs12pxFine print, captions
text-sm14pxSmall text, labels
text-base16pxBody text
text-lg18pxLarge body text
text-xl20pxSubheadings
text-2xl24pxSmall headings
text-3xl30pxMedium headings
text-4xl36pxLarge headings
text-5xl48pxDisplay text
text-6xl60pxLarge display
text-7xl72pxHero text
text-8xl96pxExtra large display
text-9xl128pxMaximum size

Heading Sizes

VariableSizeUse Case
h13remPage titles
h22.25remSection headings
h31.875remSubsection headings
h41.5remCard titles
h51.25remSmall headings
h61remSmallest headings

Sizing Panel

Right-click on width or height inputs to access sizing presets.

Width Options

VariableValueUse Case
autoautoContent-based width
full100%Full container width
1/250%Half width
1/333.33%One third
2/366.67%Two thirds
1/425%One quarter
3/475%Three quarters
1/520%One fifth
2/540%Two fifths
3/560%Three fifths
4/580%Four fifths

Height Options

VariableValueUse Case
autoautoContent-based height
full100%Full container height
screen100vhFull viewport height
svh100svhSmall viewport height
dvh100dvhDynamic viewport height

Panel Behavior

Opening Panels

  • Right-click triggers the context menu
  • Panel appears near the input field
  • Position adjusts to stay within viewport

Closing Panels

Panels close when you:

  • Click a value (applies and closes)
  • Press Escape key
  • Click outside the panel
  • Click the close button

Smart Detection

The panel automatically detects what type of input you’re clicking:

  • Padding/margin/gap → Spacing panel
  • Background/text color → Color panel
  • Border radius → Radius panel
  • Font size → Typography panel
  • Width/height → Sizing panel

Tips & Best Practices

Use Consistent Values

Always use OxyMade variables instead of arbitrary values:

  • Maintains design consistency
  • Easy to update globally
  • Better responsive behavior

Quick Workflow

  1. Build your layout structure first
  2. Use context panels to apply spacing
  3. Apply colors from the palette
  4. Fine-tune with typography sizes

Keyboard Shortcuts

  • Right-click - Open context panel
  • Escape - Close panel
  • Click value - Apply and close