feat: category icon badges on projects — CLI, App, Web, Plugin, SDK
Each project now shows a colored icon badge indicating its type: - CLI (purple terminal), App (blue apple), Web (cyan globe) - WebApp (teal app), Plugin (amber puzzle), SDK (violet package) - Contrib (gray pull request)
This commit is contained in:
@@ -194,6 +194,27 @@
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
/* Category icon badges */
|
||||
.category-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.4em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.category-cli { background: #5b21b6; } /* Purple — terminal */
|
||||
.category-app { background: #1d4ed8; } /* Blue — native app */
|
||||
.category-web { background: #0891b2; } /* Cyan — website */
|
||||
.category-webapp { background: #059669; } /* Teal — web app */
|
||||
.category-plugin { background: #d97706; } /* Amber — plugin */
|
||||
.category-sdk { background: #7c3aed; } /* Violet — SDK */
|
||||
.category-contrib { background: #6b7280; } /* Gray — contributions */
|
||||
|
||||
.stars-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user