Styling items
The style toolbar under the header styles the selected items, or, with nothing selected, the items you add next. Each change is one undo step.
The toolbar#
It has three sections, each dimmed when it doesn't apply to the selection: Text for every label, Arrows for lines and arrowheads, and Shapes for the borders and fills of shapes and groups.
Text#
| Control | What it does |
|---|---|
| Font | Sans or Mono. |
| Font size | 4 to 200, or one of 10, 12, 14, 16, 20, 24, 32 from its menu. Auto refits a sticky note. |
| Bold, Italic, Underline | Toggles. |
| Align left, Align center, Align right | Aligns the text. Group labels are always left-aligned. |
| Bulleted list, Numbered list | Turns the labels into lists, or back. |
| Text color | Opens the color picker. |
Text is Sans, size 12 and centered by default. A sticky note sizes its text to fit, from 6 to 32, until you pick a size.
Arrows#
| Control | What it does |
|---|---|
| Line color | Opens the color picker. |
| Line width | 0.5 to 24 px, or one of 1, 2, 3, 4 px from its menu. |
| Line style | Solid, Dashed or Dotted. |
| Arrowheads | No heads, End, Start or Both ends. |
| Arrowhead style | Filled, Open, Hollow or Cross, for every head of the arrow. |
Arrows are 1 px wide with a filled head at the end by default. Heads grow with the line's width. UML relationships each use their own combination.
Shapes#
Icons and text boxes have no border or fill, so only Text applies to them.
| Control | What it does |
|---|---|
| Border color | Default (icon color) gives a group its icon's color and a shape a gray border. Transparent hides it. |
| Fill color | Fills the shape or group. No fill removes it. |
| Border width | 0.5 to 24 px, or one of 1, 2, 3, 4 px from its menu. |
| Border style | Solid, Dashed or Dotted. |
Borders are 2 px wide by default. Text on a filled shape or group is dark unless you give it a color.
In the number fields, ↑ and ↓ change the value by 1, or by 10 with Shift. Enter applies a typed value and Esc reverts it.
When the selected items differ in a setting, its control reads Mixed, or shows a rainbow swatch for colors. Picking a value applies it to all of them.
Colors#
The color picker offers:
- The default, which follows the light or dark theme for text and lines.
- Transparent, for borders only.
- Eight palette colors: Gray, Red, Orange, Yellow, Green, Blue, Purple and Pink. Each has a strong shade for text, lines and borders and a light shade for fills, the same in both themes.
- Your custom colors. Add color (+) takes a swatch or a hex value such as
#2563eb. This browser keeps your 8 most recent ones, and a custom fill is used exactly as picked.
Style for new items#
With nothing selected, the toolbar shows and changes the style of new items instead:
- New arrows get the text, line and arrowhead settings.
- New icons, groups, shapes and text boxes get the text settings, and groups and shapes also the border and fill.
- Sticky notes still start yellow, without a border, with their text sized to fit.
Each diagram keeps its own, stored in this browser, so a new diagram starts with the default style. They don't change items already on the canvas, and pasted items keep their own style. In JSON, styles are each item's style. See Styles.