Skip to content

Commit d691282

Browse files
committed
Initial commit
0 parents  commit d691282

File tree

8 files changed

+3703
-0
lines changed

8 files changed

+3703
-0
lines changed

.eslintrc.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"env": {
3+
"es2021": true,
4+
"node": true
5+
},
6+
"extends": "eslint:recommended",
7+
"overrides": [
8+
],
9+
"parserOptions": {
10+
"ecmaVersion": "latest",
11+
"sourceType": "module"
12+
},
13+
"rules": {
14+
"indent": [
15+
"error",
16+
4
17+
],
18+
"linebreak-style": [
19+
"error",
20+
"unix"
21+
],
22+
"quotes": [
23+
"error",
24+
"double"
25+
],
26+
"semi": [
27+
"error",
28+
"always"
29+
],
30+
"no-unused-vars": [
31+
"error",
32+
{
33+
"argsIgnorePattern": "^_",
34+
"varsIgnorePattern": "^_",
35+
"caughtErrorsIgnorePattern": "^_"
36+
}
37+
]
38+
}
39+
}

.gitignore

Lines changed: 318 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,318 @@
1+
### VisualStudioCode template
2+
.vscode/*
3+
!.vscode/settings.json
4+
!.vscode/tasks.json
5+
!.vscode/launch.json
6+
!.vscode/extensions.json
7+
!.vscode/*.code-snippets
8+
9+
# Local History for Visual Studio Code
10+
.history/
11+
12+
# Built Visual Studio Code Extensions
13+
*.vsix
14+
15+
### JetBrains template
16+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
17+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
18+
19+
# User-specific stuff
20+
.idea/**/workspace.xml
21+
.idea/**/tasks.xml
22+
.idea/**/usage.statistics.xml
23+
.idea/**/dictionaries
24+
.idea/**/shelf
25+
26+
# AWS User-specific
27+
.idea/**/aws.xml
28+
29+
# Generated files
30+
.idea/**/contentModel.xml
31+
32+
# Sensitive or high-churn files
33+
.idea/**/dataSources/
34+
.idea/**/dataSources.ids
35+
.idea/**/dataSources.local.xml
36+
.idea/**/sqlDataSources.xml
37+
.idea/**/dynamic.xml
38+
.idea/**/uiDesigner.xml
39+
.idea/**/dbnavigator.xml
40+
41+
# Gradle
42+
.idea/**/gradle.xml
43+
.idea/**/libraries
44+
45+
# Gradle and Maven with auto-import
46+
# When using Gradle or Maven with auto-import, you should exclude module files,
47+
# since they will be recreated, and may cause churn. Uncomment if using
48+
# auto-import.
49+
# .idea/artifacts
50+
# .idea/compiler.xml
51+
# .idea/jarRepositories.xml
52+
# .idea/modules.xml
53+
# .idea/*.iml
54+
# .idea/modules
55+
# *.iml
56+
# *.ipr
57+
58+
# CMake
59+
cmake-build-*/
60+
61+
# Mongo Explorer plugin
62+
.idea/**/mongoSettings.xml
63+
64+
# File-based project format
65+
*.iws
66+
67+
# IntelliJ
68+
out/
69+
70+
# mpeltonen/sbt-idea plugin
71+
.idea_modules/
72+
73+
# JIRA plugin
74+
atlassian-ide-plugin.xml
75+
76+
# Cursive Clojure plugin
77+
.idea/replstate.xml
78+
79+
# SonarLint plugin
80+
.idea/sonarlint/
81+
82+
# Crashlytics plugin (for Android Studio and IntelliJ)
83+
com_crashlytics_export_strings.xml
84+
crashlytics.properties
85+
crashlytics-build.properties
86+
fabric.properties
87+
88+
# Editor-based Rest Client
89+
.idea/httpRequests
90+
91+
# Android studio 3.1+ serialized cache file
92+
.idea/caches/build_file_checksums.ser
93+
94+
### Node template
95+
# Logs
96+
logs
97+
*.log
98+
npm-debug.log*
99+
yarn-debug.log*
100+
yarn-error.log*
101+
lerna-debug.log*
102+
.pnpm-debug.log*
103+
104+
# Diagnostic reports (https://nodejs.org/api/report.html)
105+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
106+
107+
# Runtime data
108+
pids
109+
*.pid
110+
*.seed
111+
*.pid.lock
112+
113+
# Directory for instrumented libs generated by jscoverage/JSCover
114+
lib-cov
115+
116+
# Coverage directory used by tools like istanbul
117+
coverage
118+
*.lcov
119+
120+
# nyc test coverage
121+
.nyc_output
122+
123+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
124+
.grunt
125+
126+
# Bower dependency directory (https://bower.io/)
127+
bower_components
128+
129+
# node-waf configuration
130+
.lock-wscript
131+
132+
# Compiled binary addons (https://nodejs.org/api/addons.html)
133+
build/Release
134+
135+
# Dependency directories
136+
node_modules/
137+
jspm_packages/
138+
139+
# Snowpack dependency directory (https://snowpack.dev/)
140+
web_modules/
141+
142+
# TypeScript cache
143+
*.tsbuildinfo
144+
145+
# Optional npm cache directory
146+
.npm
147+
148+
# Optional eslint cache
149+
.eslintcache
150+
151+
# Optional stylelint cache
152+
.stylelintcache
153+
154+
# Microbundle cache
155+
.rpt2_cache/
156+
.rts2_cache_cjs/
157+
.rts2_cache_es/
158+
.rts2_cache_umd/
159+
160+
# Optional REPL history
161+
.node_repl_history
162+
163+
# Output of 'npm pack'
164+
*.tgz
165+
166+
# Yarn Integrity file
167+
.yarn-integrity
168+
169+
# dotenv environment variable files
170+
.env
171+
.env.development.local
172+
.env.test.local
173+
.env.production.local
174+
.env.local
175+
176+
# parcel-bundler cache (https://parceljs.org/)
177+
.cache
178+
.parcel-cache
179+
180+
# Next.js build output
181+
.next
182+
out
183+
184+
# Nuxt.js build / generate output
185+
.nuxt
186+
dist
187+
188+
# Gatsby files
189+
.cache/
190+
# Comment in the public line in if your project uses Gatsby and not Next.js
191+
# https://nextjs.org/blog/next-9-1#public-directory-support
192+
# public
193+
194+
# vuepress build output
195+
.vuepress/dist
196+
197+
# vuepress v2.x temp and cache directory
198+
.temp
199+
.cache
200+
201+
# Docusaurus cache and generated files
202+
.docusaurus
203+
204+
# Serverless directories
205+
.serverless/
206+
207+
# FuseBox cache
208+
.fusebox/
209+
210+
# DynamoDB Local files
211+
.dynamodb/
212+
213+
# TernJS port file
214+
.tern-port
215+
216+
# Stores VSCode versions used for testing VSCode extensions
217+
.vscode-test
218+
219+
# yarn v2
220+
.yarn/cache
221+
.yarn/unplugged
222+
.yarn/build-state.yml
223+
.yarn/install-state.gz
224+
.pnp.*
225+
226+
### macOS template
227+
# General
228+
.DS_Store
229+
.AppleDouble
230+
.LSOverride
231+
232+
# Icon must end with two \r
233+
Icon
234+
235+
# Thumbnails
236+
._*
237+
238+
# Files that might appear in the root of a volume
239+
.DocumentRevisions-V100
240+
.fseventsd
241+
.Spotlight-V100
242+
.TemporaryItems
243+
.Trashes
244+
.VolumeIcon.icns
245+
.com.apple.timemachine.donotpresent
246+
247+
# Directories potentially created on remote AFP share
248+
.AppleDB
249+
.AppleDesktop
250+
Network Trash Folder
251+
Temporary Items
252+
.apdisk
253+
254+
### Images template
255+
# JPEG
256+
*.jpg
257+
*.jpeg
258+
*.jpe
259+
*.jif
260+
*.jfif
261+
*.jfi
262+
263+
# JPEG 2000
264+
*.jp2
265+
*.j2k
266+
*.jpf
267+
*.jpx
268+
*.jpm
269+
*.mj2
270+
271+
# JPEG XR
272+
*.jxr
273+
*.hdp
274+
*.wdp
275+
276+
# Graphics Interchange Format
277+
*.gif
278+
279+
# RAW
280+
*.raw
281+
282+
# Web P
283+
*.webp
284+
285+
# Portable Network Graphics
286+
*.png
287+
288+
# Animated Portable Network Graphics
289+
*.apng
290+
291+
# Multiple-image Network Graphics
292+
*.mng
293+
294+
# Tagged Image File Format
295+
*.tiff
296+
*.tif
297+
298+
# Scalable Vector Graphics
299+
*.svg
300+
*.svgz
301+
302+
# Portable Document Format
303+
*.pdf
304+
305+
# X BitMap
306+
*.xbm
307+
308+
# BMP
309+
*.bmp
310+
*.dib
311+
312+
# ICO
313+
*.ico
314+
315+
# 3D Images
316+
*.3dm
317+
*.max
318+

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Ozren Dabić
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Octicons CSS
2+
3+
I don't like that Primer dropped their CSS distribution of [octicons](https://github.com/primer/octicons).
4+
For this reason I constructed my own pipeline for converting the SVGs they distribute into stylesheets.
5+
6+
Including the icons in your own website is easy, just add either one (or all) of the following to your website header:
7+
8+
```html
9+
<!-- 12px icon set -->
10+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/octicons-css/dist/octicons-12/octicons.css">
11+
<!-- 16px icon set -->
12+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/octicons-css/dist/octicons-16/octicons.css">
13+
<!-- 24px icon set -->
14+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/octicons-css/dist/octicons-24/octicons.css">
15+
```

0 commit comments

Comments
 (0)