-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14eea76
commit 2dd4d30
Showing
3 changed files
with
202 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import { collect, type Collection } from '@stacksjs/collections' | ||
|
||
export { | ||
align, | ||
box, | ||
centerAlign, | ||
colorize, | ||
colors, | ||
getColor, | ||
leftAlign, | ||
rightAlign, | ||
stripAnsi, | ||
} from 'consola/utils' | ||
|
||
export * as kolorist from 'kolorist' | ||
|
||
export { | ||
ansi256, | ||
ansi256Bg, | ||
bgBlack, | ||
bgBlue, | ||
bgCyan, | ||
bgGray, | ||
bgGreen, | ||
bgLightBlue, | ||
bgLightCyan, | ||
bgLightGray, | ||
bgLightGreen, | ||
bgLightMagenta, | ||
bgLightRed, | ||
bgLightYellow, | ||
bgMagenta, | ||
bgRed, | ||
bgWhite, | ||
bgYellow, | ||
black, | ||
blue, | ||
bold, | ||
cyan, | ||
dim, | ||
gray, | ||
green, | ||
hidden, | ||
inverse, | ||
italic, | ||
lightBlue, | ||
lightCyan, | ||
lightGray, | ||
lightGreen, | ||
lightMagenta, | ||
lightRed, | ||
lightYellow, | ||
link, | ||
magenta, | ||
red, | ||
reset, | ||
strikethrough, | ||
stripColors, | ||
trueColor, | ||
trueColorBg, | ||
underline, | ||
white, | ||
yellow, | ||
} from 'kolorist' | ||
|
||
export const quotes: Collection<string[]> = collect([ | ||
// could be queried from any API or database | ||
'The best way to get started is to quit talking and begin doing.', | ||
'The pessimist sees difficulty in every opportunity. The optimist sees opportunity in every difficulty.', | ||
'Don’t let yesterday take up too much of today.', | ||
'You learn more from failure than from success. Don’t let it stop you. Failure builds character.', | ||
'It’s not whether you get knocked down, it’s whether you get up.', | ||
'If you are working on something that you really care about, you don’t have to be pushed. The vision pulls you.', | ||
'People who are crazy enough to think they can change the world, are the ones who do.', | ||
'Failure will never overtake me if my determination to succeed is strong enough.', | ||
'Entrepreneurs are great at dealing with uncertainty and also very good at minimizing risk. That’s the classic entrepreneur.', | ||
'We may encounter many defeats but we must not be defeated.', | ||
'Knowing is not enough; we must apply. Wishing is not enough; we must do.', | ||
'Imagine your life is perfect in every respect; what would it look like?', | ||
'We generate fears while we sit. We overcome them by action.', | ||
'Whether you think you can or think you can’t, you’re right.', | ||
'Security is mostly a superstition. Life is either a daring adventure or nothing.', | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import type { Collection } from '@stacksjs/collections'; | ||
|
||
export { | ||
align, | ||
box, | ||
centerAlign, | ||
colorize, | ||
colors, | ||
getColor, | ||
leftAlign, | ||
rightAlign, | ||
stripAnsi, | ||
} from 'consola/utils' | ||
export { | ||
ansi256, | ||
ansi256Bg, | ||
bgBlack, | ||
bgBlue, | ||
bgCyan, | ||
bgGray, | ||
bgGreen, | ||
bgLightBlue, | ||
bgLightCyan, | ||
bgLightGray, | ||
bgLightGreen, | ||
bgLightMagenta, | ||
bgLightRed, | ||
bgLightYellow, | ||
bgMagenta, | ||
bgRed, | ||
bgWhite, | ||
bgYellow, | ||
black, | ||
blue, | ||
bold, | ||
cyan, | ||
dim, | ||
gray, | ||
green, | ||
hidden, | ||
inverse, | ||
italic, | ||
lightBlue, | ||
lightCyan, | ||
lightGray, | ||
lightGreen, | ||
lightMagenta, | ||
lightRed, | ||
lightYellow, | ||
link, | ||
magenta, | ||
red, | ||
reset, | ||
strikethrough, | ||
stripColors, | ||
trueColor, | ||
trueColorBg, | ||
underline, | ||
white, | ||
yellow, | ||
} from 'kolorist' | ||
export * as kolorist from 'kolorist' | ||
export declare let quotes: Collection<string[]>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters