paintbrush
0.1.3
Light Mode
Dark Mode
Introduction
Colors
Examples
Basic Usage
Bright Colors
Nested Colors
RGB Colors
Dynamic Usage
Without Including
Configuration
How It Works
Alternatives
License
Bright Colors
Use the
_b
suffix for a color name to make a
bright
color. See
Colors
for more details.
Side-by-side view
Spec
subject
{
paintbrush
{
blue_b
"bright blue"
}
}
it
{
is_expected
.
to
include
'bright blue'
}
Output
bright blue
Spec
Output
View Side-by-side
subject
{
paintbrush
{
blue_b
"bright blue"
}
}
it
{
is_expected
.
to
include
'bright blue'
}
bright blue
Side-by-side view
Spec
subject
{
paintbrush
{
"
#{
blue
"some blue text"
}
#{
blue_b
"and some bright blue text"
}
"
}
}
it
{
is_expected
.
to
include
'bright blue'
}
Output
some blue text
and some bright blue text
Spec
Output
View Side-by-side
subject
{
paintbrush
{
"
#{
blue
"some blue text"
}
#{
blue_b
"and some bright blue text"
}
"
}
}
it
{
is_expected
.
to
include
'bright blue'
}
some blue text
and some bright blue text
Documentation generated by
rspec-documentation