Skip to content

Commit 18e17f8

Browse files
authored
Merge pull request #3 from python-project-templates/copier-update-2026-09-06T09-24-54Z
Update from Copier (2026-09-06T09-24-54Z)
2 parents 13a997f + 8103b25 commit 18e17f8

8 files changed

Lines changed: 431 additions & 448 deletions

File tree

‎.copier-answers.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: dcfbd4b
2+
_commit: 552b2de
33
_src_path: https://github.com/python-project-templates/base.git
44
add_extension: uitk-webawesome
55
brand_name: Example

‎BRAND.md‎

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,42 @@
11
# Example Brand Guide
22

3-
Canonical source for the Example identity. Replace each placeholder before publishing the first consumer.
3+
Canonical source for the Example identity. Every section below is a
4+
placeholder — fill it in before publishing the first consumer.
45

56
## Identity
67

7-
Describe what Example is, who it serves, and what it must not be confused with.
8+
Describe what Example is, who it serves, and what it must not be
9+
confused with.
810

911
## Mark
1012

11-
Document primary mark, clear space, minimum size, and approved variants.
13+
Document the primary mark, clear space, minimum size, and approved variants.
1214

1315
## Color
1416

15-
| Role | Light | Dark | Usage |
16-
| ------ | --------- | --------- | ------------------ |
17-
| Paper | `#f5f5f0` | `#151515` | Page surfaces |
18-
| Ink | `#151515` | `#f5f5f0` | Primary content |
19-
| Muted | `#666660` | `#aaa9a0` | Supporting content |
20-
| Line | `#d0d0c8` | `#3a3a36` | Borders and rules |
21-
| Accent | `#6cff8f` | `#6cff8f` | Focus and emphasis |
17+
The shipped tokens are neutral greys plus a functional focus color. They exist
18+
so the toolkit renders legibly out of the box, not because they are the brand.
19+
Replace the values in `tokens.css`, then record them here.
20+
21+
| Token | Light | Dark | Usage |
22+
| ----------- | ----- | ---- | ----------------- |
23+
| `bg` | | | Page background |
24+
| `bg-raised` | | | Raised surfaces |
25+
| `fg` | | | Primary text |
26+
| `fg-muted` | | | Supporting text |
27+
| `border` | | | Borders and rules |
28+
| `focus` | | | Focus rings |
29+
30+
Two rules worth keeping whatever the palette becomes:
31+
32+
- Name tokens for the role a color plays, not a material it imitates. Roles
33+
survive a redesign; metaphors have to be renamed or quietly start lying.
34+
- Give every color a job. A single decorative accent applied wherever a page
35+
looks flat is how unrelated products end up looking identical.
36+
37+
Verify each foreground against the surfaces behind it — WCAG AA is 4.5:1 for
38+
normal text, and a focus ring needs 3:1. Assert it in a test so the palette
39+
cannot drift.
2240

2341
## Typography
2442

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
</head>
2020
<body>
2121
<main>
22-
<p class="eyebrow">Brand toolkit</p>
2322
<example-brand-mark></example-brand-mark>
23+
<h1>Example</h1>
2424
<p>Shared brand identity, design tokens, and reusable Lit and Web Awesome components.</p>
2525
<example-theme-toggle data-testid="theme-toggle"></example-theme-toggle>
2626
</main>

‎package.json‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@
4444
"lit": "^3.3.3"
4545
},
4646
"devDependencies": {
47-
"@axe-core/playwright": "^4.12.1",
48-
"@playwright/test": "^1.60.0",
4947
"@awesome.me/webawesome": "^3.12.0",
50-
"lit": "^3.3.3",
51-
"@types/node": "^26.3.0",
48+
"@axe-core/playwright": "^4.13.0",
49+
"@playwright/test": "^1.63.0",
50+
"@types/node": "^26.4.1",
5251
"jsdom": "^30.0.1",
53-
"oxfmt": "^0.65.0",
54-
"oxlint": "^1.80.0",
52+
"lit": "^3.3.3",
53+
"oxfmt": "^0.66.0",
54+
"oxlint": "^1.81.0",
5555
"publint": "^0.3.24",
5656
"typescript": "^7.0.2",
5757
"vite": "^8.2.2",
58-
"vitest": "^4.1.11"
58+
"vitest": "^5.0.0"
5959
}
6060
}

0 commit comments

Comments
 (0)