Add official programming language icons and YAML support
- Install react-icons library for official technology icons - Create getLanguageIcon function with 25+ language-specific icons - Add official brand colors for each programming language: - JavaScript/JSX (yellow), TypeScript/TSX (blue) - Python (blue), Java (red), Go (cyan), Rust (orange) - HTML5 (orange), CSS3 (blue), SCSS/Sass (pink) - JSON (yellow), YAML (red), SQL (blue), etc. - Add dedicated YAML file type support with official YAML icon - Support special files: Dockerfile, Makefile, Gemfile - Ensure YAML files get CodeMirror syntax highlighting and editing - Update shouldShowAsText logic to include YAML files - Maintain consistent professional appearance across all file types
This commit is contained in:
10
package-lock.json
generated
10
package-lock.json
generated
@@ -68,6 +68,7 @@
|
||||
"react-dom": "^19.1.0",
|
||||
"react-hook-form": "^7.60.0",
|
||||
"react-i18next": "^15.7.3",
|
||||
"react-icons": "^5.5.0",
|
||||
"react-resizable-panels": "^3.0.3",
|
||||
"react-simple-keyboard": "^3.8.120",
|
||||
"react-xtermjs": "^1.0.10",
|
||||
@@ -13663,6 +13664,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/react-icons": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz",
|
||||
"integrity": "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"react": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/react-remove-scroll": {
|
||||
"version": "2.7.1",
|
||||
"resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.1.tgz",
|
||||
|
||||
Reference in New Issue
Block a user