You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Temporary components (modals, form elements) - will be replaced when design system adds them
18
+
19
+
### 3. `client/index.html`
15
20
A base HTML template that includes:
16
21
- Navigation header with app name and help button
17
22
- Main layout structure (sidebar + content area)
18
23
- Help modal integration
19
24
- Proper CSS and JavaScript loading
20
25
21
-
### 3. `client/help-modal.js`
26
+
### 4. `client/help-modal.js`
22
27
A dependency-free JavaScript module for the help modal system:
23
28
- Consistent modal behavior across all apps
24
29
- Keyboard navigation (ESC to close)
25
30
- Focus management
26
31
- Custom event system
27
32
28
-
### 4. `client/help-content-template.html`
33
+
### 5. `client/help-content-template.html`
29
34
A template for creating consistent help content:
30
35
- Table of contents navigation
31
36
- Standardized section structure
@@ -45,8 +50,14 @@ A template for creating consistent help content:
45
50
-`<!-- APP_SPECIFIC_CSS -->` - Links to your app-specific CSS files
46
51
-`<!-- APP_SPECIFIC_SCRIPTS -->` - Links to your app-specific JavaScript files
47
52
48
-
3.**Implement your application logic**. You can use Cursor or other agents for it. There is a file called `AGENTS.md` that contains context LLM can use.
49
-
4.**Customise your help content** using the help content template
53
+
3.**Use Design System Components**
54
+
The template uses design system components directly. Use these classes:
- Inputs: Add `input` class to input elements: `<input type="text" class="input" />`
58
+
59
+
4.**Implement your application logic**. You can use Cursor or other agents for it. There is a file called `AGENTS.md` that contains context LLM can use.
60
+
5.**Customise your help content** using the help content template
50
61
51
62
### Customizing Help Content
52
63
@@ -57,27 +68,6 @@ Use the `help-content-template.html` as a starting point:
57
68
3.**Include images** by placing them in a `help/img/` directory
58
69
4.**Use the provided structure** for consistency across applications
59
70
60
-
### CSS Customization
61
-
62
-
The `bespoke.css` file uses CSS custom properties for easy theming:
63
-
64
-
```css
65
-
.bespoke {
66
-
--bespoke-accent: #1062fb; /* Primary accent color */
67
-
--bespoke-bg: #ffffff; /* Background color */
68
-
--bespoke-fg: rgb(24, 33, 57); /* Text color */
69
-
/* ... many more variables */
70
-
}
71
-
```
72
-
73
-
You can override these variables in your app-specific CSS:
74
-
75
-
```css
76
-
.my-app {
77
-
--bespoke-accent: #ff6b6b; /* Custom accent color */
0 commit comments