From 986b0a10e2ade8acf364dad30ee6a5253fc50626 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Sun, 21 Mar 2021 13:55:31 +0100 Subject: [PATCH] Add figures for triangles and lozenges --- index.d.ts | 12 ++++++++++++ index.js | 17 +++++++++++++++++ readme.md | 12 ++++++++++++ 3 files changed, 41 insertions(+) diff --git a/index.d.ts b/index.d.ts index 7e16e46..61b2fcf 100644 --- a/index.d.ts +++ b/index.d.ts @@ -20,6 +20,18 @@ declare const figureSet: { readonly ellipsis: string; readonly pointer: string; readonly pointerSmall: string; + readonly triangleUp: string; + readonly triangleUpSmall: string; + readonly triangleUpOutline: string; + readonly triangleDown: string; + readonly triangleDownSmall: string; + readonly triangleLeft: string; + readonly triangleLeftSmall: string; + readonly triangleRight: string; + readonly triangleRightSmall: string; + readonly lozenge: string; + readonly lozengeOutline: string; + readonly home: string; readonly info: string; readonly warning: string; readonly hamburger: string; diff --git a/index.js b/index.js index e5db1be..999dbad 100644 --- a/index.js +++ b/index.js @@ -9,6 +9,13 @@ const common = { line: '─', ellipsis: '…', pointerSmall: '›', + triangleUp: '▲', + triangleUpSmall: '▴', + triangleDown: '▼', + triangleDownSmall: '▾', + triangleLeftSmall: '◂', + triangleRightSmall: '▸', + home: '⌂', heart: '♥', arrowUp: '↑', arrowDown: '↓', @@ -51,6 +58,11 @@ const main = { circlePipe: 'Ⓘ', circleQuestionMark: '?⃝', pointer: '❯', + triangleUpOutline: '△', + triangleLeft: '▶', + triangleRight: '◀', + lozenge: '◆', + lozengeOutline: '◇', info: 'ℹ', warning: '⚠', hamburger: '☰', @@ -87,6 +99,11 @@ const fallback = { circlePipe: '(│)', circleQuestionMark: '(?)', pointer: '>', + triangleUpOutline: '∆', + triangleLeft: '◄', + triangleRight: '►', + lozenge: '♦', + lozengeOutline: '◊', info: 'i', warning: '‼', hamburger: '≡', diff --git a/readme.md b/readme.md index ae1bdbe..7543e97 100644 --- a/readme.md +++ b/readme.md @@ -84,6 +84,18 @@ Symbols to use when running on Windows. | ellipsis | … | … | | pointer | ❯ | > | | pointerSmall | › | › | +| triangleUp | ▲ | ▲ | +| triangleUpSmall | ▴ | ▴ | +| triangleUpOutline | △ | ∆ | +| triangleDown | ▼ | ▼ | +| triangleDownSmall | ▾ | ▾ | +| triangleLeft | ◀ | ◄ | +| triangleLeftSmall | ◂ | ◂ | +| triangleRight | ▶ | ► | +| triangleRightSmall | ▸ | ▸ | +| lozenge | ◆ | ♦ | +| lozengeOutline | ◇ | ◊ | +| home | ⌂ | ⌂ | | info | ℹ | i | | warning | ⚠ | ‼ | | hamburger | ☰ | ≡ |