Skip to content

Commit f310b81

Browse files
Joe HawesCopilot
andcommitted
Initial release v0.1.0
- 49 icons migrated from onrte (SVG + PNG sources) - PNG→SVG conversion pipeline (potrace + svgo) - SVG normalisation to 16×16 grid - SVG sprite (ogis-icons.svg) - Icon font (WOFF2 + WOFF) via fantasticon - CSS + SCSS with .oi-* classes - Stable codepoints (src/codepoints.json) seeded from onrte - Searchable icon grid demo (index.html) - GitHub Pages deploy workflow on version bump Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 parents  commit f310b81

69 files changed

Lines changed: 7046 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
permissions:
9+
contents: write
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
check-version:
15+
runs-on: ubuntu-latest
16+
outputs:
17+
is_new: ${{ steps.check.outputs.is_new }}
18+
version: ${{ steps.check.outputs.version }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Check if version is new
25+
id: check
26+
run: |
27+
VERSION=$(node -p "require('./package.json').version")
28+
echo "version=$VERSION" >> $GITHUB_OUTPUT
29+
if git rev-parse "v$VERSION" >/dev/null 2>&1; then
30+
echo "is_new=false" >> $GITHUB_OUTPUT
31+
echo "Version v$VERSION already deployed — skipping."
32+
else
33+
echo "is_new=true" >> $GITHUB_OUTPUT
34+
echo "New version v$VERSION detected."
35+
fi
36+
37+
deploy:
38+
needs: check-version
39+
if: needs.check-version.outputs.is_new == 'true'
40+
runs-on: ubuntu-latest
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
steps:
45+
- uses: actions/checkout@v4
46+
47+
- uses: actions/setup-node@v4
48+
with:
49+
node-version: '20'
50+
51+
- run: npm ci
52+
- run: npm run build
53+
54+
- name: Prepare pages artifact
55+
run: |
56+
mkdir -p _site
57+
cp index.html _site/
58+
cp -r dist _site/
59+
60+
- uses: actions/configure-pages@v4
61+
62+
- uses: actions/upload-pages-artifact@v3
63+
with:
64+
path: _site
65+
66+
- name: Deploy to GitHub Pages
67+
id: deployment
68+
uses: actions/deploy-pages@v4
69+
70+
- name: Tag release
71+
run: |
72+
git config user.name "github-actions[bot]"
73+
git config user.email "github-actions[bot]@users.noreply.github.com"
74+
git tag v${{ needs.check-version.outputs.version }}
75+
git push origin v${{ needs.check-version.outputs.version }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
.DS_Store
3+
*.log

dist/ogis-icons.css

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
@font-face {
2+
font-family: "ogis-icons";
3+
src: url("./ogis-icons.woff2?400796360662c0d533fe3db429d5fb05") format("woff2"),
4+
url("./ogis-icons.woff?400796360662c0d533fe3db429d5fb05") format("woff");
5+
}
6+
7+
i[class^="oi-"]:before, i[class*=" oi-"]:before {
8+
font-family: ogis-icons !important;
9+
font-style: normal;
10+
font-weight: normal !important;
11+
font-variant: normal;
12+
text-transform: none;
13+
line-height: 1;
14+
-webkit-font-smoothing: antialiased;
15+
-moz-osx-font-smoothing: grayscale;
16+
}
17+
18+
.oi-x:before {
19+
content: "\f101";
20+
}
21+
.oi-x-circle:before {
22+
content: "\f102";
23+
}
24+
.oi-trash:before {
25+
content: "\f103";
26+
}
27+
.oi-three-dots:before {
28+
content: "\f104";
29+
}
30+
.oi-sun:before {
31+
content: "\f105";
32+
}
33+
.oi-speedometer2:before {
34+
content: "\f106";
35+
}
36+
.oi-sidebar-info:before {
37+
content: "\f107";
38+
}
39+
.oi-search:before {
40+
content: "\f108";
41+
}
42+
.oi-route:before {
43+
content: "\f109";
44+
}
45+
.oi-record-btn-fill:before {
46+
content: "\f10a";
47+
}
48+
.oi-question-circle:before {
49+
content: "\f10b";
50+
}
51+
.oi-position:before {
52+
content: "\f10c";
53+
}
54+
.oi-position-lock:before {
55+
content: "\f10d";
56+
}
57+
.oi-position-heading:before {
58+
content: "\f10e";
59+
}
60+
.oi-plus-circle:before {
61+
content: "\f10f";
62+
}
63+
.oi-person-circle:before {
64+
content: "\f110";
65+
}
66+
.oi-pencil:before {
67+
content: "\f111";
68+
}
69+
.oi-pause-circle:before {
70+
content: "\f112";
71+
}
72+
.oi-moon:before {
73+
content: "\f113";
74+
}
75+
.oi-logo:before {
76+
content: "\f114";
77+
}
78+
.oi-lock:before {
79+
content: "\f115";
80+
}
81+
.oi-list:before {
82+
content: "\f116";
83+
}
84+
.oi-layout-sidebar-inset:before {
85+
content: "\f117";
86+
}
87+
.oi-info-circle:before {
88+
content: "\f118";
89+
}
90+
.oi-house:before {
91+
content: "\f119";
92+
}
93+
.oi-heart:before {
94+
content: "\f11a";
95+
}
96+
.oi-graph-down:before {
97+
content: "\f11b";
98+
}
99+
.oi-globe:before {
100+
content: "\f11c";
101+
}
102+
.oi-gear:before {
103+
content: "\f11d";
104+
}
105+
.oi-folder2-open:before {
106+
content: "\f11e";
107+
}
108+
.oi-folder:before {
109+
content: "\f11f";
110+
}
111+
.oi-file-text:before {
112+
content: "\f120";
113+
}
114+
.oi-file-earmark:before {
115+
content: "\f121";
116+
}
117+
.oi-exclamation-circle:before {
118+
content: "\f122";
119+
}
120+
.oi-eraser:before {
121+
content: "\f123";
122+
}
123+
.oi-envelope:before {
124+
content: "\f124";
125+
}
126+
.oi-dash-circle:before {
127+
content: "\f125";
128+
}
129+
.oi-cloud-arrow-up:before {
130+
content: "\f126";
131+
}
132+
.oi-circle:before {
133+
content: "\f127";
134+
}
135+
.oi-check:before {
136+
content: "\f128";
137+
}
138+
.oi-check-circle:before {
139+
content: "\f129";
140+
}
141+
.oi-caret-up:before {
142+
content: "\f12a";
143+
}
144+
.oi-caret-right:before {
145+
content: "\f12b";
146+
}
147+
.oi-caret-left:before {
148+
content: "\f12c";
149+
}
150+
.oi-caret-down:before {
151+
content: "\f12d";
152+
}
153+
.oi-bell:before {
154+
content: "\f12e";
155+
}
156+
.oi-arrow-left-right:before {
157+
content: "\f12f";
158+
}
159+
.oi-arrow-down-right:before {
160+
content: "\f130";
161+
}
162+
.oi-arrow-clockwise:before {
163+
content: "\f131";
164+
}

dist/ogis-icons.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"x": 61697,
3+
"x-circle": 61698,
4+
"trash": 61699,
5+
"three-dots": 61700,
6+
"sun": 61701,
7+
"speedometer2": 61702,
8+
"sidebar-info": 61703,
9+
"search": 61704,
10+
"route": 61705,
11+
"record-btn-fill": 61706,
12+
"question-circle": 61707,
13+
"position": 61708,
14+
"position-lock": 61709,
15+
"position-heading": 61710,
16+
"plus-circle": 61711,
17+
"person-circle": 61712,
18+
"pencil": 61713,
19+
"pause-circle": 61714,
20+
"moon": 61715,
21+
"logo": 61716,
22+
"lock": 61717,
23+
"list": 61718,
24+
"layout-sidebar-inset": 61719,
25+
"info-circle": 61720,
26+
"house": 61721,
27+
"heart": 61722,
28+
"graph-down": 61723,
29+
"globe": 61724,
30+
"gear": 61725,
31+
"folder2-open": 61726,
32+
"folder": 61727,
33+
"file-text": 61728,
34+
"file-earmark": 61729,
35+
"exclamation-circle": 61730,
36+
"eraser": 61731,
37+
"envelope": 61732,
38+
"dash-circle": 61733,
39+
"cloud-arrow-up": 61734,
40+
"circle": 61735,
41+
"check": 61736,
42+
"check-circle": 61737,
43+
"caret-up": 61738,
44+
"caret-right": 61739,
45+
"caret-left": 61740,
46+
"caret-down": 61741,
47+
"bell": 61742,
48+
"arrow-left-right": 61743,
49+
"arrow-down-right": 61744,
50+
"arrow-clockwise": 61745
51+
}

0 commit comments

Comments
 (0)