anishshobithps / anishshobithps/snipshot

Backgrounds: solid, gradient, image, presets, auto

未關閉
#7 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area: aesthetics effort: medium enhancement priority: medium
主要語言
TypeScript
星號
1
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

Add `--background ` for the area behind the card (today it's transparent + padding):
- `transparent` (current)
- `#hex` solid
- `gradient:colorA,colorB[,angle]`
- `preset:` (curated, ray.so-style)
- `image:`
- `auto` — subtle gradient derived from the theme background

Refines #2 (custom style).

- [ ] `--background` parser + interactive prompt
- [ ] Gradient + preset rendering
- [ ] Image background (cover/contain)
- [ ] `auto` derivation from `ResolvedTheme.bg`

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start at the CLI handling for the `--background` parser and interactive prompt, then trace the rendering path and the `ResolvedTheme.bg` value. Implement the listed transparent, solid, gradient, preset, image, and auto cases, including cover/contain behavior for images. Done means each checklist item works through the CLI.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
cli, computer-graphics
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。