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

Function ghostTextLight

packages/shared/tailwind/buttons-v2.ts:126–141  ·  view source on GitHub ↗
(color: ColorName | undefined)

Source from the content-addressed store, hash-verified

124 * deliberately does *not* reuse this ladder.
125 */
126const ghostTextLight = (color: ColorName | undefined): GhostLadder => {
127 if (!color) {
128 return NEUTRAL_GHOST;
129 }
130 switch (color) {
131 case 'blueCheese':
132 case 'avocado':
133 case 'lettuce':
134 case 'cheese':
135 case 'bun':
136 case 'bacon':
137 return { hover: palette[color]['80'], active: palette[color]['90'] };
138 default:
139 return { hover: palette[color]['60'], active: palette[color]['70'] };
140 }
141};
142
143/**
144 * Dark-theme ghost text on hover / active.

Callers 1

buttons-v2.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected