Skip to content

Commit

Permalink
Add figures for triangles and lozenges
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 24, 2021
1 parent 6a43c8a commit 986b0a1
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
17 changes: 17 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ const common = {
line: '─',
ellipsis: '…',
pointerSmall: '›',
triangleUp: '▲',
triangleUpSmall: '▴',
triangleDown: '▼',
triangleDownSmall: '▾',
triangleLeftSmall: '◂',
triangleRightSmall: '▸',
home: '⌂',
heart: '♥',
arrowUp: '↑',
arrowDown: '↓',
Expand Down Expand Up @@ -51,6 +58,11 @@ const main = {
circlePipe: 'Ⓘ',
circleQuestionMark: '?⃝',
pointer: '❯',
triangleUpOutline: '△',
triangleLeft: '▶',
triangleRight: '◀',
lozenge: '◆',
lozengeOutline: '◇',
info: 'ℹ',
warning: '⚠',
hamburger: '☰',
Expand Down Expand Up @@ -87,6 +99,11 @@ const fallback = {
circlePipe: '(│)',
circleQuestionMark: '(?)',
pointer: '>',
triangleUpOutline: '∆',
triangleLeft: '◄',
triangleRight: '►',
lozenge: '♦',
lozengeOutline: '◊',
info: 'i',
warning: '‼',
hamburger: '≡',
Expand Down
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |||
Expand Down

0 comments on commit 986b0a1

Please sign in to comment.