Skip to content

Commit

Permalink
feat: add bright colors
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jul 10, 2024
1 parent 0dc2508 commit c503b3a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ const colorsMap = {
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],

blackBright: [90, 39],
redBright: [91, 39],
greenBright: [92, 39],
yellowBright: [93, 39],
blueBright: [94, 39],
magentaBright: [95, 39],
cyanBright: [96, 39],
whiteBright: [97, 39],

bgBlackBright: [100, 49],
bgRedBright: [101, 49],
bgGreenBright: [102, 49],
bgYellowBright: [103, 49],
bgBlueBright: [104, 49],
bgMagentaBright: [105, 49],
bgCyanBright: [106, 49],
bgWhiteBright: [107, 49],
} as const

export interface Formatter {
Expand Down

0 comments on commit c503b3a

Please sign in to comment.