Skip to content

angeldollface/termstyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Term Style 💃

GitHub CI

Making your Dart command-line apps funky! 💃

About 📚

I always thought that the output of command-line apps was just a slew of text and a little bit boring. So I decided to spice things up a little! TermStyle gives you the ability to use emojis and colors in your terminal!

What's available?

Colors

In terms of colors, these colors are currently provided by Term Style:

  • Red
  • Green
  • Blue
  • Cyan
  • Magenta
  • Yellow

Emojis

These emojis are currently provided by TermStyle in six different categories:

Faces

  • grinningFace: 😀
  • laughCry: 😂
  • upsideDownFace: 🙃
  • heartsInFace: 🥰
  • smilingFace: 😊
  • haloFace: 😇
  • winkingFace: 😉
  • kissingFace: 😚
  • angryFace: 😠
  • crazyFace: 🤪
  • thinkingFace: 🤔
  • naughtyface: 😈

Animals

  • seeNoEvil: 🙈
  • animalGorilla: 🦍
  • windCloud: 💨
  • sweatDroplets: 💦
  • dogFace: 🐶
  • unicornHead: 🦄
  • catFace: 🐱
  • horseHead: 🐴
  • pandaFace: 🐼
  • bearFace: 🐻
  • tigerFace: 🐯

Symbols

  • readHeart: ❤️
  • blackHeart: 🖤
  • backArrow: 🔙
  • soonArrow: 🔜
  • topArrow: 🔝
  • infinitySign: ♾️
  • multiplySign: ✖️
  • plusSign: ➕
  • divideSign: ➗
  • minusSign: ➖
  • tickSign: ✔️

Tools

  • kitchenKnife: 🔪
  • scissors: ✂️
  • bomb: 💣
  • gun: 🔫
  • hammer: 🔨
  • wrench: 🔧
  • hammerAndWrench: 🛠️
  • hammerAndPick: ⚒️
  • pick: ⛏️
  • woodSaw: not supported by GitHub markdown
  • axe: 🪓

Pride

  • prideFlag: 🏳️‍🌈
  • transFlag: not supported by GitHub markdown
  • rainbow: 🌈
  • peopleKissing: not supported by GitHub markdown
  • party: 🎉
  • coupleHeart: not supported by GitHub markdown
  • sparkles: ✨
  • confetti: 🎊
  • maleBunnies: 👯‍♂️
  • kiss: 💋

Art

  • yarn: 🧶
  • headPhones: 🎧
  • piano: 🎹
  • bowAndArrow: 🏹
  • paintBrush: 🖌️
  • paintPalette: 🎨
  • sewingNeedle: not supported by GitHub markdown
  • threadRoll: 🧵
  • syringe: 💉
  • pill: 💊

Installation 📥

Adding to your project

To add TermStyle to your project's dependencies, add this to your project's pubspec.yaml:

dependencies:
  ...
  termstyle:
    git: git://github.com/angeldollface/termstyle.git

The three dots represent anything else that you might have in the dependencies section. Having done that, re-fetch your project's dependencies by running this in the project's root directory:

$ dart pub get

Usage 🔨

Importing

To import all methods, add this to the top of your .dart file:

import 'package:termstyle/termstyle.dart';

APIs

To inspect the available APIs, read the source code, please. I've split everything by subject so it should be easy to understand.

Note 📜

  • Term Style 💃 by Alexander Abraham 🖤 a.k.a. "Angel Dollface" 🎎 🎀
  • Licensed under the MIT license.