mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
feat(website): add Nerd Fonts for programming language icons
- Add Monaspace Argon NF font for dev icons - Update cookbook.yml with unicode codepoints for language icons: - TypeScript: \uE628 - Python: \uE73C - C#/.NET: \uF81A - Go: \uE626 - Style .lang-tab and .lang-indicator with Nerd Font family
This commit is contained in:
@@ -11,19 +11,19 @@ cookbooks:
|
||||
languages:
|
||||
- id: nodejs
|
||||
name: Node.js / TypeScript
|
||||
icon: 🟢
|
||||
icon: "\uE628"
|
||||
extension: .ts
|
||||
- id: python
|
||||
name: Python
|
||||
icon: 🐍
|
||||
icon: "\uE73C"
|
||||
extension: .py
|
||||
- id: dotnet
|
||||
name: .NET (C#)
|
||||
icon: 🟣
|
||||
icon: "\uF81A"
|
||||
extension: .cs
|
||||
- id: go
|
||||
name: Go
|
||||
icon: 🔵
|
||||
icon: "\uE626"
|
||||
extension: .go
|
||||
recipes:
|
||||
- id: error-handling
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"generated": "2026-02-02T04:12:40.822Z",
|
||||
"generated": "2026-02-02T04:25:59.396Z",
|
||||
"counts": {
|
||||
"agents": 145,
|
||||
"prompts": 138,
|
||||
|
||||
@@ -10,25 +10,25 @@
|
||||
{
|
||||
"id": "nodejs",
|
||||
"name": "Node.js / TypeScript",
|
||||
"icon": "🟢",
|
||||
"icon": "",
|
||||
"extension": ".ts"
|
||||
},
|
||||
{
|
||||
"id": "python",
|
||||
"name": "Python",
|
||||
"icon": "🐍",
|
||||
"icon": "",
|
||||
"extension": ".py"
|
||||
},
|
||||
{
|
||||
"id": "dotnet",
|
||||
"name": ".NET (C#)",
|
||||
"icon": "🟣",
|
||||
"icon": "",
|
||||
"extension": ".cs"
|
||||
},
|
||||
{
|
||||
"id": "go",
|
||||
"name": "Go",
|
||||
"icon": "🔵",
|
||||
"icon": "",
|
||||
"extension": ".go"
|
||||
}
|
||||
],
|
||||
|
||||
BIN
website/public/fonts/MonaspaceArgonNF-Regular.woff2
Executable file
BIN
website/public/fonts/MonaspaceArgonNF-Regular.woff2
Executable file
Binary file not shown.
@@ -5,6 +5,16 @@
|
||||
Orange 1: #F4A876 Orange 2: #F08A3A Orange 3: #FE4C25
|
||||
Orange 4: #C53211 Orange 5: #801E0F Orange 6: #500A00
|
||||
*/
|
||||
|
||||
/* Nerd Fonts for programming language icons */
|
||||
@font-face {
|
||||
font-family: 'Monaspace Argon NF';
|
||||
src: url('/fonts/MonaspaceArgonNF-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
/* Dark theme (default) */
|
||||
--color-bg: #0d0d12;
|
||||
|
||||
@@ -86,7 +86,8 @@ const base = import.meta.env.BASE_URL;
|
||||
background: var(--color-bg-secondary);
|
||||
color: var(--color-text);
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
font-family: 'Monaspace Argon NF', monospace;
|
||||
font-size: 18px;
|
||||
transition: all var(--transition);
|
||||
}
|
||||
|
||||
@@ -143,7 +144,8 @@ const base = import.meta.env.BASE_URL;
|
||||
}
|
||||
|
||||
.lang-indicator {
|
||||
font-size: 14px;
|
||||
font-family: 'Monaspace Argon NF', monospace;
|
||||
font-size: 16px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user