MCPcopy Create free account
hub / github.com/dailydotdev/apps / ghostTextLight

Function ghostTextLight

packages/shared/tailwind/buttons.ts:67–82  ·  view source on GitHub ↗
(color: ColorName | undefined)

Source from the content-addressed store, hash-verified

65};
66
67const ghostTextLight = (color: ColorName | undefined): GhostLadder => {
68 if (!color) {
69 return NEUTRAL_GHOST;
70 }
71 switch (color) {
72 case 'blueCheese':
73 case 'avocado':
74 case 'lettuce':
75 case 'cheese':
76 case 'bun':
77 case 'bacon':
78 return { hover: palette[color]['80'], active: palette[color]['90'] };
79 default:
80 return { hover: palette[color]['60'], active: palette[color]['70'] };
81 }
82};
83
84const ghostTextDark = (color: ColorName | undefined): GhostLadder => {
85 if (!color) {

Callers 1

buttons.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected