docs: update design-system font to Geist + fix create-app.sh Gitea auth

- design-system.md: Inter → Geist
- create-app.sh: GITEA_TOKEN fallback → git credential store

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
posimai 2026-04-10 08:13:04 +09:00
parent 7cf305fdc0
commit e3e6ebca7d
2 changed files with 16 additions and 14 deletions

View File

@ -60,20 +60,22 @@ echo " Git 初期化完了"
echo "" echo ""
echo "Step 3: Gitea にリポジトリを作成..." echo "Step 3: Gitea にリポジトリを作成..."
# Gitea の認証情報(~/.netrc または環境変数から取得) # git credential store から認証情報を取得
GITEA_TOKEN="${GITEA_TOKEN:-}" GITEA_PASS=$(git credential fill <<< $'protocol=http\nhost=100.76.7.3:3000' | grep password | cut -d= -f2)
if [ -n "$GITEA_TOKEN" ]; then if [ -z "$GITEA_PASS" ]; then
GITEA_AUTH="-H \"Authorization: token $GITEA_TOKEN\"" echo "[ERROR] Gitea credential が取得できませんでした。git credential store を確認してください。"
curl -s -X POST "http://100.76.7.3:3000/api/v1/user/repos" \ exit 1
-H "Content-Type: application/json" \ fi
-H "Authorization: token $GITEA_TOKEN" \ GITEA_RESP=$(curl -s -X POST "http://100.76.7.3:3000/api/v1/user/repos" \
-d "{\"name\":\"$APP_ID\",\"private\":false,\"auto_init\":false}" \ -H "Content-Type: application/json" \
> /dev/null -u "mai:$GITEA_PASS" \
echo " Gitea リポジトリ作成完了API" -d "{\"name\":\"$APP_ID\",\"private\":false,\"auto_init\":false}")
if echo "$GITEA_RESP" | grep -q '"full_name"'; then
echo " Gitea リポジトリ作成完了"
elif echo "$GITEA_RESP" | grep -q 'same name already exists'; then
echo " Gitea リポジトリは既存。push のみ実行します。"
else else
echo " [WARN] GITEA_TOKEN 未設定。Gitea リポジトリは手動で作成してください:" echo " [WARN] Gitea 応答: $GITEA_RESP"
echo " → http://100.76.7.3:3000 で $APP_ID リポジトリを作成後、Enter を押してください"
read -r
fi fi
# --- Step 4: GitHub にリポジトリ作成 --- # --- Step 4: GitHub にリポジトリ作成 ---

View File

@ -35,7 +35,7 @@
``` ```
## デザイン・実装ルール ## デザイン・実装ルール
- **フォント**: Inter300/400/500/600 - **フォント**: Geist300/400/500/600— Google Fonts CDN から配信
- **アイコン**: Lucidestroke 1.5〜2.0、`@0.344.0` 固定) - **アイコン**: Lucidestroke 1.5〜2.0、`@0.344.0` 固定)
- **トランジション**: `0.12s〜0.3s` の範囲、標準イージング `cubic-bezier(0.2, 0.9, 0.2, 1)` - **トランジション**: `0.12s〜0.3s` の範囲、標準イージング `cubic-bezier(0.2, 0.9, 0.2, 1)`
- **空状態 (Empty State)**: 必ずアイコン + 説明テキストを実装する(空コンテナ禁止) - **空状態 (Empty State)**: 必ずアイコン + 説明テキストを実装する(空コンテナ禁止)