Backstage
Docs
Github
Preparing search index...
@backstage/theme
shapes
Variable shapes
Const
shapes
:
Record
<
string
,
string
>
= ...
The default predefined burst shapes.
Remarks
How to add a shape:
Get the SVG shape from figma, should be ~1400 wide, ~400 high and only the white-to-transparent mask, no colors.
Run it through
https://jakearchibald.github.io/svgomg/
Run that through
https://github.com/tigt/mini-svg-data-uri
with something like
https://npm.runkit.com/mini-svg-data-uri
Wrap the output in
url("")
Give it a name and paste it into the
shapes
object below.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
The default predefined burst shapes.