Skip to content

Commit d9cd33d

Browse files
SteveHeddenclaude
andcommitted
Add blue color scheme, auto-classify new ontologies, fix deploy trigger
- Update site palette to steel blue (#6A89A7) with gold accent - Add top padding to category filter label - Enable ANTHROPIC_API_KEY in update-data workflow for auto-classification - Stage categories.json in data refresh commit - Trigger deploy workflow after data push (bot commits don't trigger workflows) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 803a95c commit d9cd33d

2 files changed

Lines changed: 33 additions & 19 deletions

File tree

.github/workflows/update-data.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ jobs:
3030
run: python -m pip install --upgrade pip && pip install -r requirements.txt
3131

3232
- name: Refresh catalog data from Wikidata
33+
env:
34+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
3335
run: python scripts/fetch_data.py
3436

3537
- name: Detect data changes
3638
id: changes
3739
run: |
38-
git add data/ontologies.ttl data/software.ttl data/ontologies.json data/software.json
40+
git add data/ontologies.ttl data/software.ttl data/ontologies.json data/software.json data/categories.json
3941
if git diff --cached --quiet; then
4042
echo "changed=false" >> "$GITHUB_OUTPUT"
4143
else
@@ -53,6 +55,18 @@ jobs:
5355
if: steps.changes.outputs.changed == 'true'
5456
run: git push origin "HEAD:${GITHUB_REF_NAME}"
5557

58+
- name: Trigger deploy
59+
if: steps.changes.outputs.changed == 'true'
60+
uses: actions/github-script@v7
61+
with:
62+
script: |
63+
await github.rest.actions.createWorkflowDispatch({
64+
owner: context.repo.owner,
65+
repo: context.repo.repo,
66+
workflow_id: 'deploy.yml',
67+
ref: 'main',
68+
});
69+
5670
- name: No changes detected
5771
if: steps.changes.outputs.changed != 'true'
5872
run: echo "No data changes to commit."

site/style.css

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
:root {
44
--bg-base: #f6f7f4;
5-
--bg-accent: #d8ebe5;
5+
--bg-accent: #dbe4ed;
66
--surface: rgba(255, 255, 255, 0.88);
77
--surface-strong: #ffffff;
88
--text-main: #1f2b2d;
99
--text-muted: #51656a;
10-
--line-soft: #d6e2de;
11-
--brand: #136f63;
12-
--brand-strong: #0b5148;
10+
--line-soft: #d2dce6;
11+
--brand: #6A89A7;
12+
--brand-strong: #4a6e8a;
1313
--highlight: #f6ca67;
1414
--radius: 14px;
15-
--shadow-soft: 0 10px 28px rgba(14, 58, 52, 0.09);
15+
--shadow-soft: 0 10px 28px rgba(40, 60, 80, 0.09);
1616
--max-width: 1120px;
1717
}
1818

@@ -33,8 +33,8 @@ body {
3333
font-family: "Work Sans", "Avenir Next", "Segoe UI", sans-serif;
3434
color: var(--text-main);
3535
background:
36-
radial-gradient(1200px 600px at 92% -8%, rgba(19, 111, 99, 0.17), transparent 65%),
37-
radial-gradient(850px 500px at 8% 0%, rgba(246, 202, 103, 0.2), transparent 60%),
36+
radial-gradient(1200px 600px at 92% -8%, rgba(106, 137, 167, 0.18), transparent 65%),
37+
radial-gradient(850px 500px at 8% 0%, rgba(246, 202, 103, 0.18), transparent 60%),
3838
linear-gradient(180deg, var(--bg-base), #eef1ee);
3939
line-height: 1.45;
4040
}
@@ -126,7 +126,7 @@ h1 {
126126
align-items: center;
127127
gap: 0.65rem;
128128
flex-wrap: wrap;
129-
padding: 0 1rem 0.95rem;
129+
padding: 0.75rem 1rem 0.95rem;
130130
border-top: 1px solid var(--line-soft);
131131
}
132132

@@ -145,8 +145,8 @@ h1 {
145145
}
146146

147147
.category-pill {
148-
border: 1px solid #c4d2cd;
149-
background: #f3f7f5;
148+
border: 1px solid #c4ced8;
149+
background: #f3f6f9;
150150
color: var(--text-muted);
151151
border-radius: 999px;
152152
padding: 0.34rem 0.68rem;
@@ -160,7 +160,7 @@ h1 {
160160

161161
.category-pill:hover {
162162
color: var(--text-main);
163-
border-color: #9ab2ab;
163+
border-color: #9aabb8;
164164
}
165165

166166
.category-pill.is-active {
@@ -174,7 +174,7 @@ h1 {
174174
grid-template-columns: repeat(2, minmax(0, 1fr));
175175
border: 1px solid var(--line-soft);
176176
border-radius: 999px;
177-
background: #eff4f1;
177+
background: #eff2f6;
178178
overflow: hidden;
179179
}
180180

@@ -252,12 +252,12 @@ h1 {
252252
.resource-table td {
253253
text-align: left;
254254
padding: 0.72rem 0.95rem;
255-
border-bottom: 1px solid #e6edeb;
255+
border-bottom: 1px solid #e4eaef;
256256
vertical-align: top;
257257
}
258258

259259
.resource-table th {
260-
background: #f2f6f4;
260+
background: #f2f5f8;
261261
color: var(--text-muted);
262262
font-size: 0.84rem;
263263
font-weight: 600;
@@ -286,7 +286,7 @@ h1 {
286286
.sort-button::after {
287287
content: "↕";
288288
font-size: 0.82rem;
289-
color: #7b8f8a;
289+
color: #7b8b98;
290290
}
291291

292292
.sort-button:hover {
@@ -318,11 +318,11 @@ h1 {
318318
}
319319

320320
.card {
321-
border: 1px solid #dde8e4;
321+
border: 1px solid #dde4ea;
322322
border-radius: 11px;
323323
background: #fff;
324324
padding: 0.9rem;
325-
box-shadow: 0 5px 18px rgba(12, 56, 50, 0.06);
325+
box-shadow: 0 5px 18px rgba(40, 60, 80, 0.06);
326326
}
327327

328328
.card h3 {
@@ -356,7 +356,7 @@ h1 {
356356

357357
.site-footer {
358358
margin: 1.5rem auto 2rem;
359-
border-top: 1px solid #d5e1dd;
359+
border-top: 1px solid #d2dce6;
360360
padding-top: 1rem;
361361
display: flex;
362362
flex-wrap: wrap;

0 commit comments

Comments
 (0)