atomicLayer styles

photoshop_apply_layer_style

Apply a layer style (drop shadow, outer glow, stroke, bevel & emboss) to the active layer via Action Manager layer effects. Users often say: add shadow, glow effect, outline this layer, stroke, bevel, 3D button look, katmana gölge ver. Use when: quick presentational effects on the active layer (cards, buttons, mockups, text pop). Do NOT use when: you need full custom layer-effects control — use photoshop_execute_script with a custom layerEffects descriptor. Returns: JSON { ok, summary, details: { style, layer_name } }. Preconditions: active document with an active pixel/text layer. Side effects: sets the chosen effect on the active layer. Drop shadow uses the given `angle` (Use Global Light is off).

Parameters

NameTypeRequiredDescription
stylestringWhich effect to apply
rednumberEffect color red (0-255)
greennumberEffect color green (0-255)
bluenumberEffect color blue (0-255)
opacitynumberEffect opacity (0-100)
sizenumberBlur/size in pixels (stroke width for stroke)
distancenumberOffset distance in pixels (drop shadow only)
anglenumberLight angle in degrees (drop shadow / bevel)

Community recipes

Nothing here yet. Be the first to share one.

Share a recipe