Layer styles (.fstyle)
Editable layer effects and advanced blending presets.
Reviewed against the application source on 7 November 2026. Focale is in active development; available commands and published packages may differ by build.
Use in the application
The Styles panel captures or applies a layer style and imports or exports libraries. Applying a style is undoable; editing the catalogue does not modify open documents. Built-in styles are not exported.
File structure
UTF-8 JSON with an explicit format tag and version. The current reader and writer use version 1. The example shows the library envelope; the full reference describes the complete value schemas.
presets holds named style objects, optional groups, fillOpacity, effects and Blend If ranges. Enabled and disabled effects remain editable: this is not a library of rendered thumbnails.
Each entry in the optional patterns array contains id, width, height, Base64 straight-alpha rgba pixels and an optional display name. This patterns[].name is separate from the required presets[].name of each style. When a pattern name is absent or blank, import uses the library filename followed by a number. Names are trimmed on import, and patterns are grouped under the library name. Existing version-1 files without pattern names remain supported.
| Field | Value |
|---|---|
| Extension | .fstyle |
| format | focale-style-presets |
| version | 1 |
| Encoding | JSON UTF-8 |
{
"format": "focale-style-presets",
"version": 1,
"presets": [
{
"id": "style.user.example",
"name": "Editorial shadow",
"groupPath": [
"Editorial"
],
"style": {
"fillOpacity": 0.8,
"effects": [
{
"kind": "dropShadow",
"enabled": true,
"color": 4279383126,
"opacity": 0.65,
"angle": 120,
"distance": 12,
"spread": 0,
"size": 9
},
{
"kind": "patternOverlay",
"enabled": true,
"opacity": 0.25,
"pattern": "pattern.2.1.9e2b63675440c0d9",
"scale": 1
}
]
}
}
],
"patterns": [
{
"id": "pattern.2.1.9e2b63675440c0d9",
"name": "Blue fabric",
"width": 2,
"height": 1,
"rgba": "ChTI/8zq/4A="
}
]
}Validation and limits
Limits: 256 MiB encoded, 256 MiB of decoded pattern pixels and 4096 presets; names and IDs: 4096 UTF-16 units; groups: 32 levels. Invalid entries or duplicates reject the library.
Photoshop interchange
ASL import and export carry supported effects and their embedded patterns. Native .fstyle also embeds the patterns referenced by overlays, strokes and bevel textures. Adobe noise gradients and some effect rendering remain approximate.
Complete format references
Download the full Markdown specifications in English, including schemas, validation rules and compatibility details.