Skip to content

v0.2.1

Choose a tag to compare

@awcodes awcodes released this 30 Sep 17:45
· 13 commits to 1.x since this release

Filament size preset

Size::Filament renders the 2560×1440 thumbnails the Filament plugin directory uses. Like the other presets it is a CSS size rendered at the default scale 2, so it needs no scale() call:

Card::make('filament')
    ->template('two-up')
    ->screenshots(['editor', 'picker'])
    ->sizes([Size::Filament]),

The card is written as art/filament-filament-dark.png at exactly 2560×1440. The cards documentation now lists each preset's image size at the default scale.

Full changelog: v0.2.0...v0.2.1