Current section
Files
Jump to
Current section
Files
src/gtabler@color.erl
-module(gtabler@color).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([red/1, yellow/1, magenta/1, cyan/1, white/1, green/1, blue/1]).
-file("C:\\Users\\erick\\Documents\\projects\\gtabler\\src\\gtabler\\color.gleam", 4).
-spec red(binary()) -> binary().
red(Text) ->
<<<<"\x{001b}[38;5;1m"/utf8, Text/binary>>/binary, "\x{001b}[0m"/utf8>>.
-file("C:\\Users\\erick\\Documents\\projects\\gtabler\\src\\gtabler\\color.gleam", 9).
-spec yellow(binary()) -> binary().
yellow(Text) ->
<<<<"\x{001b}[38;5;3m"/utf8, Text/binary>>/binary, "\x{001b}[0m"/utf8>>.
-file("C:\\Users\\erick\\Documents\\projects\\gtabler\\src\\gtabler\\color.gleam", 14).
-spec magenta(binary()) -> binary().
magenta(Text) ->
<<<<"\x{001b}[38;5;5m"/utf8, Text/binary>>/binary, "\x{001b}[0m"/utf8>>.
-file("C:\\Users\\erick\\Documents\\projects\\gtabler\\src\\gtabler\\color.gleam", 19).
-spec cyan(binary()) -> binary().
cyan(Text) ->
<<<<"\x{001b}[38;5;6m"/utf8, Text/binary>>/binary, "\x{001b}[0m"/utf8>>.
-file("C:\\Users\\erick\\Documents\\projects\\gtabler\\src\\gtabler\\color.gleam", 24).
-spec white(binary()) -> binary().
white(Text) ->
<<<<"\x{001b}[38;5;7m"/utf8, Text/binary>>/binary, "\x{001b}[0m"/utf8>>.
-file("C:\\Users\\erick\\Documents\\projects\\gtabler\\src\\gtabler\\color.gleam", 29).
-spec green(binary()) -> binary().
green(Text) ->
<<<<"\x{001b}[38;5;2m"/utf8, Text/binary>>/binary, "\x{001b}[0m"/utf8>>.
-file("C:\\Users\\erick\\Documents\\projects\\gtabler\\src\\gtabler\\color.gleam", 34).
-spec blue(binary()) -> binary().
blue(Text) ->
<<<<"\x{001b}[38;5;4m"/utf8, Text/binary>>/binary, "\x{001b}[0m"/utf8>>.