@equal-experts/kuat-react 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent-docs/AGENTS.md +10 -0
- package/agent-docs/README.md +17 -0
- package/agent-docs/bundle-manifest.json +63 -0
- package/agent-docs/components/_template.md +21 -0
- package/agent-docs/components/button-group.md +27 -0
- package/agent-docs/components/button.md +50 -0
- package/agent-docs/components/components.manifest.json +20 -0
- package/agent-docs/components/kuat-header.md +27 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/LOADING.md +166 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/accessibility.md +444 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/brand.md +99 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/formatting.md +93 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/numbers.md +69 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/punctuation.md +75 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/writing-style.md +91 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/borders.md +159 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/colours.md +173 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/design-language.md +116 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/spacing.md +130 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/typography.md +155 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/logo.md +151 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/README.md +26 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/blog-posts.md +33 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/marketing-content.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/seo.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/emails.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/README.md +18 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/marketing-pages.md +368 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/website.md +169 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/DEPRECATIONS.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/README.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/accessibility.md +402 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-decision-tree.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-registry.md +68 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/README.md +29 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/actions.md +51 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/confirmations.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/empty-states.md +43 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/errors.md +54 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/forms.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/product-content.md +138 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/design.md +207 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/emails.md +71 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md +82 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/authentication.md +303 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/dashboards.md +313 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/documentation.md +333 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/forms.md +361 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/technical.md +488 -0
- package/agent-docs/kuat-docs/rules/README.md +148 -0
- package/agent-docs/kuat-docs/rules/design/layouts.md +394 -0
- package/agent-docs/kuat-docs/rules/scenarios/README.md +83 -0
- package/agent-docs/kuat-docs/rules/scenarios/authentication.md +301 -0
- package/agent-docs/kuat-docs/rules/scenarios/dashboards.md +314 -0
- package/agent-docs/kuat-docs/rules/scenarios/documentation.md +333 -0
- package/agent-docs/kuat-docs/rules/scenarios/forms.md +359 -0
- package/agent-docs/kuat-docs/rules/scenarios/marketing-pages.md +367 -0
- package/agent-docs/manifest.json +9 -0
- package/agent-docs/rules/LOADING-consumer.md +27 -0
- package/dist/accordion.d.ts +2 -0
- package/dist/alert-dialog.d.ts +2 -0
- package/dist/badge.d.ts +3 -0
- package/dist/button-group.d.ts +2 -0
- package/dist/button.d.ts +3 -0
- package/dist/carousel.d.ts +2 -0
- package/dist/checkbox.d.ts +3 -0
- package/dist/components/ui/accordion/accordion.d.ts +7 -0
- package/dist/components/ui/accordion/index.d.ts +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert-dialog/index.d.ts +1 -0
- package/dist/components/ui/badge/badge.d.ts +16 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/breadcrumb/Breadcrumb.d.ts +29 -0
- package/dist/components/ui/breadcrumb/breadcrumb-primitives.d.ts +19 -0
- package/dist/components/ui/breadcrumb/index.d.ts +4 -0
- package/dist/components/ui/button/button.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button-group/button-group.d.ts +23 -0
- package/dist/components/ui/button-group/index.d.ts +2 -0
- package/dist/components/ui/carousel/carousel.d.ts +50 -0
- package/dist/components/ui/carousel/index.d.ts +2 -0
- package/dist/components/ui/checkbox/checkbox-field.d.ts +23 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox/index.d.ts +4 -0
- package/dist/components/ui/content-card/content-card.d.ts +29 -0
- package/dist/components/ui/content-card/index.d.ts +2 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -0
- package/dist/components/ui/ee-logo-icon/ee-logo-icon.d.ts +11 -0
- package/dist/components/ui/ee-logo-icon/index.d.ts +2 -0
- package/dist/components/ui/field/field.d.ts +28 -0
- package/dist/components/ui/field/index.d.ts +2 -0
- package/dist/components/ui/icon-button/icon-button.d.ts +27 -0
- package/dist/components/ui/icon-button/index.d.ts +2 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/input.d.ts +20 -0
- package/dist/components/ui/kuat-carousel/index.d.ts +2 -0
- package/dist/components/ui/kuat-carousel/kuat-carousel.d.ts +16 -0
- package/dist/components/ui/kuat-header/index.d.ts +4 -0
- package/dist/components/ui/kuat-header/kuat-header.d.ts +16 -0
- package/dist/components/ui/kuat-header/kuat-header.logic.d.ts +32 -0
- package/dist/components/ui/kuat-header/kuat-header.types.d.ts +91 -0
- package/dist/components/ui/kuat-logo-lockup/index.d.ts +2 -0
- package/dist/components/ui/kuat-logo-lockup/kuat-logo-lockup.d.ts +17 -0
- package/dist/components/ui/kuat-radial-progress/index.d.ts +2 -0
- package/dist/components/ui/kuat-radial-progress/kuat-radial-progress.d.ts +16 -0
- package/dist/components/ui/radio/index.d.ts +4 -0
- package/dist/components/ui/radio/radio-field.d.ts +25 -0
- package/dist/components/ui/radio/radio.d.ts +7 -0
- package/dist/components/ui/select/constants.d.ts +19 -0
- package/dist/components/ui/select/index.d.ts +3 -0
- package/dist/components/ui/select/select.d.ts +53 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/separator.d.ts +9 -0
- package/dist/components/ui/sonner/index.d.ts +4 -0
- package/dist/components/ui/sonner/sonner-content.d.ts +15 -0
- package/dist/components/ui/sonner/sonner.d.ts +21 -0
- package/dist/components/ui/switch/index.d.ts +4 -0
- package/dist/components/ui/switch/switch-field.d.ts +23 -0
- package/dist/components/ui/switch/switch.d.ts +5 -0
- package/dist/components/ui/textarea/index.d.ts +2 -0
- package/dist/components/ui/textarea/textarea.d.ts +9 -0
- package/dist/components/ui/toggle/constants.d.ts +4 -0
- package/dist/components/ui/toggle/index.d.ts +6 -0
- package/dist/components/ui/toggle/toggle-group.d.ts +11 -0
- package/dist/components/ui/toggle/toggle.d.ts +9 -0
- package/dist/field.d.ts +3 -0
- package/dist/icon-button.d.ts +3 -0
- package/dist/index.d.ts +47 -0
- package/dist/input.d.ts +3 -0
- package/dist/kuat-carousel.d.ts +2 -0
- package/dist/kuat-radial-progress.d.ts +7 -0
- package/dist/lib/react-node-compat.d.ts +7 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/radio.d.ts +3 -0
- package/dist/select.d.ts +3 -0
- package/dist/sonner.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/style.css.d.ts +2 -0
- package/dist/switch.d.ts +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/textarea.d.ts +3 -0
- package/dist/toggle-group.d.ts +3 -0
- package/dist/toggle.d.ts +3 -0
- package/package.json +4 -2
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Numbers
|
|
2
|
+
|
|
3
|
+
Guidance for dates, times, currency, and other numbers in Equal Experts content.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Quick Reference
|
|
8
|
+
|
|
9
|
+
- **Dates:** Use a clear, unambiguous format; prefer written or ISO (YYYY-MM-DD) depending on context
|
|
10
|
+
- **Times:** Use 24-hour or am/pm consistently; specify time zone when relevant
|
|
11
|
+
- **Currency:** Use symbol or code (e.g. £, GBP) as appropriate; be consistent within a document
|
|
12
|
+
- **Percentages:** Use the % symbol with the number (e.g. 45%)
|
|
13
|
+
- **Large numbers:** Use commas (or spaces in some locales) for thousands
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Dates
|
|
18
|
+
|
|
19
|
+
- Prefer a format that avoids ambiguity (e.g. 24 March 2025 or 2025-03-24)
|
|
20
|
+
- In UK-facing content, day–month–year is standard (24 March 2025)
|
|
21
|
+
- In technical or international contexts, ISO 8601 (YYYY-MM-DD) is often clearer
|
|
22
|
+
- Spell out month names in body copy when space allows; abbreviate only in tables or tight UI (e.g. Mar 2025)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Time
|
|
27
|
+
|
|
28
|
+
- Be consistent within a document: either 24-hour (14:30) or 12-hour with am/pm (2:30 pm)
|
|
29
|
+
- Specify time zone when the reader needs to act or compare across regions (e.g. "2:30 pm GMT")
|
|
30
|
+
- Use "midday" and "midnight" where they're clearer than 12:00
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Currency
|
|
35
|
+
|
|
36
|
+
- Use the appropriate symbol (£, $, €) or ISO code (GBP, USD, EUR) as fits the context
|
|
37
|
+
- Be consistent: don't mix "£10" and "10 GBP" in the same piece unless one is clearly a label
|
|
38
|
+
- For whole amounts, no decimal places unless it's pence/cents (e.g. £10 not £10.00 for ten pounds)
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Percentages
|
|
43
|
+
|
|
44
|
+
- Use the % symbol with the number: 45%, 12.5%
|
|
45
|
+
- In body copy, "45%" is usually preferable to "45 percent" unless you're writing for voice or very formal copy
|
|
46
|
+
- For a range, "40–60%" (en dash, no space)
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Units of Measure
|
|
51
|
+
|
|
52
|
+
- Use metric by default in UK/international content unless the audience or product uses imperial
|
|
53
|
+
- Abbreviate when standard: kg, m, km, cm. Spell out in prose when it reads more naturally
|
|
54
|
+
- Leave a space between number and unit: "5 kg", "12 cm"
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Large Numbers
|
|
59
|
+
|
|
60
|
+
- Use commas as thousand separators in English (1,000,000) or a thin space where that's the convention
|
|
61
|
+
- Keep formatting consistent in tables and lists
|
|
62
|
+
- For very large numbers, consider "1.5 million" or "2.3 billion" in body copy
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Related Documentation
|
|
67
|
+
|
|
68
|
+
- [Formatting](./formatting.md) - Capitalisation, lists
|
|
69
|
+
- [Punctuation](./punctuation.md) - Dashes, spaces
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/punctuation.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Punctuation
|
|
2
|
+
|
|
3
|
+
Guidance for commas, dashes, apostrophes, and other punctuation in Equal Experts content.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Quick Reference
|
|
8
|
+
|
|
9
|
+
- **Commas:** Use to separate clauses and items in a list; avoid comma splices
|
|
10
|
+
- **Apostrophes:** Use for possessives and contractions; don't use for plurals
|
|
11
|
+
- **Dashes:** Use en dash for ranges (40–60); use em dash sparingly for a break in a sentence
|
|
12
|
+
- **Hyphens:** Use in compound modifiers before a noun (e.g. well-known); follow standard compound rules
|
|
13
|
+
- **Exclamation points:** Use rarely; one is enough
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Commas
|
|
18
|
+
|
|
19
|
+
- Use a comma before "and" or "or" in a list of three or more items (Oxford comma) for clarity when it avoids ambiguity
|
|
20
|
+
- Use commas to set off non-essential clauses
|
|
21
|
+
- Don't join two independent clauses with only a comma (use a full stop, semicolon, or conjunction)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Apostrophes
|
|
26
|
+
|
|
27
|
+
- **Possessives:** Add 's for singular (team's, user's); add ' for plural already ending in s (users', teams')
|
|
28
|
+
- **Contractions:** Use for standard contractions (don't, it's, we're)
|
|
29
|
+
- **Plurals:** Do not use an apostrophe for plurals: "1990s" not "1990's"; "APIs" not "API's"
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Dashes and Hyphens
|
|
34
|
+
|
|
35
|
+
- **En dash (–):** Use for ranges (40–60%, March–May, 9–5). Use unspaced in British style.
|
|
36
|
+
- **Em dash (—):** Use sparingly for a strong break or aside. Prefer one em dash per sentence.
|
|
37
|
+
- **Hyphen (-):** Use in compound modifiers before a noun: "well-known result", "up-to-date report". Don't hyphenate after the noun when the modifier follows: "the result is well known".
|
|
38
|
+
- **Hyphen in compounds:** Follow standard usage (e.g. "email", "multi-factor", "read-only" as per common style)
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Colons and Semicolons
|
|
43
|
+
|
|
44
|
+
- **Colon:** Use to introduce a list or an explanation that follows from the main clause. One space after a colon.
|
|
45
|
+
- **Semicolon:** Use to link closely related independent clauses, or to separate list items that already contain commas. Use sparingly; often a full stop is clearer.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Ellipses
|
|
50
|
+
|
|
51
|
+
- Use for omitted words in a quote (three dots: …)
|
|
52
|
+
- Avoid in UI or body copy to indicate "more" or trailing thought; rewrite so the sentence is complete
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Exclamation Points
|
|
57
|
+
|
|
58
|
+
- Use rarely; reserve for genuine emphasis or short, positive confirmation
|
|
59
|
+
- One exclamation point is enough; never use multiple (!!)
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Quotation Marks
|
|
64
|
+
|
|
65
|
+
- Use double quotation marks for direct speech and short quoted phrases
|
|
66
|
+
- Put full stops and commas inside the closing quote when they apply to the quoted matter; outside when they apply to the whole sentence (British style)
|
|
67
|
+
- For terms or "scare quotes", use sparingly
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Related Documentation
|
|
72
|
+
|
|
73
|
+
- [Writing style](./writing-style.md)
|
|
74
|
+
- [Formatting](./formatting.md)
|
|
75
|
+
- [Numbers](./numbers.md) - Ranges, decimals
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
# Voice and Tone
|
|
2
|
+
|
|
3
|
+
Universal voice and tone for Equal Experts content. Applies to all platforms and media. Read this before any platform-specific content guide.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
These guidelines ensure consistent voice and tone across all Equal Experts communications, regardless of platform or medium.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Quick Reference
|
|
14
|
+
|
|
15
|
+
**Always:**
|
|
16
|
+
- Be clear and direct
|
|
17
|
+
- Focus on audience needs
|
|
18
|
+
- Use plain language
|
|
19
|
+
- Be specific, not vague
|
|
20
|
+
|
|
21
|
+
**Never:**
|
|
22
|
+
- Use "revolutionize", "transform", "disrupt" without specific evidence
|
|
23
|
+
- Hide behind jargon
|
|
24
|
+
- Speak down to audience
|
|
25
|
+
- Be vague or ambiguous
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Content Voice and Tone
|
|
30
|
+
|
|
31
|
+
### Universal Principles
|
|
32
|
+
|
|
33
|
+
#### Clear and Direct
|
|
34
|
+
- Get to the point quickly
|
|
35
|
+
- Use plain language
|
|
36
|
+
- Avoid unnecessary words
|
|
37
|
+
- Be specific, not vague
|
|
38
|
+
|
|
39
|
+
#### Helpful and Respectful
|
|
40
|
+
- Anticipate audience needs
|
|
41
|
+
- Provide guidance when needed
|
|
42
|
+
- Respect audience's time and intelligence
|
|
43
|
+
- Never talk down to people
|
|
44
|
+
|
|
45
|
+
#### Confident but Humble
|
|
46
|
+
- Show expertise through clarity
|
|
47
|
+
- Admit when something isn't available
|
|
48
|
+
- Provide alternatives when possible
|
|
49
|
+
- Build trust through honesty
|
|
50
|
+
|
|
51
|
+
#### Consistent and Predictable
|
|
52
|
+
- Use the same terms for the same concepts
|
|
53
|
+
- Follow established patterns
|
|
54
|
+
- Maintain consistent tone across touchpoints
|
|
55
|
+
- Set clear expectations
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Content Principles
|
|
60
|
+
|
|
61
|
+
### 1. Audience-First Thinking
|
|
62
|
+
|
|
63
|
+
Before creating content, define:
|
|
64
|
+
- The specific aim
|
|
65
|
+
- The target audience
|
|
66
|
+
- How it helps the audience achieve their goals
|
|
67
|
+
- What question it answers
|
|
68
|
+
|
|
69
|
+
### 2. Clarity Over Cleverness
|
|
70
|
+
|
|
71
|
+
Prioritize:
|
|
72
|
+
- Clear communication
|
|
73
|
+
- Easy comprehension
|
|
74
|
+
- Quick understanding
|
|
75
|
+
|
|
76
|
+
Avoid:
|
|
77
|
+
- Clever wordplay that obscures meaning
|
|
78
|
+
- Jokes that might confuse
|
|
79
|
+
- Metaphors that require explanation
|
|
80
|
+
- Industry jargon without context
|
|
81
|
+
|
|
82
|
+
### 3. Be Clear and Concise
|
|
83
|
+
|
|
84
|
+
- Use plain English where possible
|
|
85
|
+
- Don't use 10 words when 3 will do
|
|
86
|
+
- Avoid jargon-laden complexity
|
|
87
|
+
- Give yourself the best chance of being read and understood
|
|
88
|
+
|
|
89
|
+
### 4. Consistency Matters
|
|
90
|
+
|
|
91
|
+
- Use the same terms for the same concepts
|
|
92
|
+
- Follow established patterns
|
|
93
|
+
- Maintain consistent tone
|
|
94
|
+
- Set clear expectations
|
|
95
|
+
|
|
96
|
+
### 5. Test, Iterate and Learn
|
|
97
|
+
|
|
98
|
+
Test new content, improve based on feedback, share learnings across the team.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Audience Considerations
|
|
103
|
+
|
|
104
|
+
### Technical Audiences (Developers, Engineers)
|
|
105
|
+
|
|
106
|
+
**Tone:** Pragmatic, evidence-based, respectful of expertise
|
|
107
|
+
|
|
108
|
+
**Use:**
|
|
109
|
+
- Specific technical details
|
|
110
|
+
- Code examples and practical patterns
|
|
111
|
+
- Trade-offs and architectural decisions
|
|
112
|
+
|
|
113
|
+
**Avoid:**
|
|
114
|
+
- Over-simplification
|
|
115
|
+
- Buzzwords without substance
|
|
116
|
+
- Marketing language
|
|
117
|
+
|
|
118
|
+
### Business Stakeholders (Product Owners, Leaders)
|
|
119
|
+
|
|
120
|
+
**Tone:** Outcome-focused, clear, strategic
|
|
121
|
+
|
|
122
|
+
**Use:**
|
|
123
|
+
- Business metrics and outcomes
|
|
124
|
+
- Efficiency gains and ROI
|
|
125
|
+
- Impact statements
|
|
126
|
+
|
|
127
|
+
**Avoid:**
|
|
128
|
+
- Deep technical detail without context
|
|
129
|
+
- Acronyms without explanation
|
|
130
|
+
- Technology for technology's sake
|
|
131
|
+
|
|
132
|
+
### General Audiences
|
|
133
|
+
|
|
134
|
+
**Tone:** Helpful, clear, accessible
|
|
135
|
+
|
|
136
|
+
**Use:**
|
|
137
|
+
- Plain language
|
|
138
|
+
- Clear explanations
|
|
139
|
+
- Practical examples
|
|
140
|
+
|
|
141
|
+
**Avoid:**
|
|
142
|
+
- Any unnecessary words
|
|
143
|
+
- Corporate speak
|
|
144
|
+
- Jargon or technical terms
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Common Anti-Patterns
|
|
149
|
+
|
|
150
|
+
### Buzzword Bingo
|
|
151
|
+
Using trendy terminology without substance.
|
|
152
|
+
|
|
153
|
+
❌ "Leveraging synergistic blockchain-enabled AI solutions"
|
|
154
|
+
✅ "We automated invoice processing using existing APIs"
|
|
155
|
+
|
|
156
|
+
### Feature Dump
|
|
157
|
+
Listing features without context or benefit.
|
|
158
|
+
|
|
159
|
+
❌ "Features: Dashboard, Reports, Analytics, Integrations"
|
|
160
|
+
✅ "The dashboard surfaces the three metrics teams check daily"
|
|
161
|
+
|
|
162
|
+
### Vague Promise
|
|
163
|
+
Making claims without evidence or specifics.
|
|
164
|
+
|
|
165
|
+
❌ "We'll dramatically improve your performance"
|
|
166
|
+
✅ "Teams typically see 40-60% reduction in deployment time"
|
|
167
|
+
|
|
168
|
+
### Over-Explanation
|
|
169
|
+
Explaining things that don't need explanation.
|
|
170
|
+
|
|
171
|
+
❌ "Click the button below to continue to the next screen"
|
|
172
|
+
✅ [Continue]
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Content Quality Checklist
|
|
177
|
+
|
|
178
|
+
### The Clarity Test
|
|
179
|
+
Can it be understood in 30 seconds of skimming?
|
|
180
|
+
|
|
181
|
+
### The Purpose Test
|
|
182
|
+
Does this answer a specific question or solve a problem?
|
|
183
|
+
|
|
184
|
+
### The Consistency Test
|
|
185
|
+
Does it use consistent terminology and follow established patterns?
|
|
186
|
+
|
|
187
|
+
### The Audience Test
|
|
188
|
+
Is this appropriate for the intended audience?
|
|
189
|
+
|
|
190
|
+
### The Accessibility Test
|
|
191
|
+
Does it work for all people, including those using assistive technologies?
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## Tone Adaptation Guide
|
|
196
|
+
|
|
197
|
+
### For Seriousness Levels
|
|
198
|
+
|
|
199
|
+
**Standard:** Friendly, approachable, professional
|
|
200
|
+
**High Stakes:** Serious, direct, solution-focused
|
|
201
|
+
**Celebratory:** Warm, enthusiastic, appreciative
|
|
202
|
+
**Difficult News:** Empathetic, honest, supportive
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## For AI Content Generation
|
|
207
|
+
|
|
208
|
+
### Before Generating
|
|
209
|
+
|
|
210
|
+
Confirm:
|
|
211
|
+
1. **Content type** - What format?
|
|
212
|
+
2. **Audience** - Who will read this?
|
|
213
|
+
3. **Purpose** - What outcome does this serve?
|
|
214
|
+
4. **Context** - Do you have enough information?
|
|
215
|
+
|
|
216
|
+
**If unclear, ask clarifying questions.**
|
|
217
|
+
|
|
218
|
+
### While Generating
|
|
219
|
+
|
|
220
|
+
**Do:**
|
|
221
|
+
- Use specific examples
|
|
222
|
+
- Include evidence when claiming results
|
|
223
|
+
- Default to plain English
|
|
224
|
+
- Apply appropriate tone for audience
|
|
225
|
+
|
|
226
|
+
**Don't:**
|
|
227
|
+
- Generate generic content
|
|
228
|
+
- Make claims without evidence
|
|
229
|
+
- Use "revolutionize", "transform", "disrupt" without proof
|
|
230
|
+
- Write like typical AI-generated content
|
|
231
|
+
|
|
232
|
+
### After Generating
|
|
233
|
+
|
|
234
|
+
Apply quality tests:
|
|
235
|
+
1. Clarity Test
|
|
236
|
+
2. Purpose Test
|
|
237
|
+
3. Consistency Test
|
|
238
|
+
4. Audience Test
|
|
239
|
+
5. Accessibility Test
|
|
240
|
+
|
|
241
|
+
**Red flags:**
|
|
242
|
+
- Generic phrases applicable to any context
|
|
243
|
+
- Lack of specific examples
|
|
244
|
+
- Over-use of buzzwords
|
|
245
|
+
- Tone mismatch with audience
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## Platform-Specific Content
|
|
250
|
+
|
|
251
|
+
For platform-specific content guidance:
|
|
252
|
+
|
|
253
|
+
- **Web Marketing** - See [types/web/marketing/](../../types/web/marketing/)
|
|
254
|
+
- **Web Product** - See [types/web/product/](../../types/web/product/)
|
|
255
|
+
- **Slides** - See [types/slides/](../../types/slides/)
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## Related Documentation
|
|
260
|
+
|
|
261
|
+
- [Brand Guidelines](../brand.md) - Brand voice and values
|
|
262
|
+
- [Writing style](./writing-style.md) - Active voice, plain language, conventions
|
|
263
|
+
- [Design](../design/README.md) - Visual design principles
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/writing-style.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Writing Style
|
|
2
|
+
|
|
3
|
+
Style and usage principles for Equal Experts content. Be clear, precise, and conversational.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Quick Reference
|
|
8
|
+
|
|
9
|
+
**Do:**
|
|
10
|
+
- Use active voice
|
|
11
|
+
- Use everyday contractions (we're, it's, don't)
|
|
12
|
+
- Use simple verb tenses (present, past; avoid unnecessary future or perfect)
|
|
13
|
+
- Address the reader as "you"
|
|
14
|
+
- Prefer short sentences
|
|
15
|
+
|
|
16
|
+
**Don't:**
|
|
17
|
+
- Use passive voice when active is clearer
|
|
18
|
+
- Use formal or stiff phrasing
|
|
19
|
+
- Over-qualify with "in order to", "in the event that"
|
|
20
|
+
- Use jargon without explanation
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Active Voice
|
|
25
|
+
|
|
26
|
+
Prefer the subject doing the action. It's clearer and more direct.
|
|
27
|
+
|
|
28
|
+
| Prefer | Avoid |
|
|
29
|
+
|--------|--------|
|
|
30
|
+
| The team delivered the project on time | The project was delivered on time by the team |
|
|
31
|
+
| You can save your work here | Work can be saved here |
|
|
32
|
+
| We recommend testing first | It is recommended that testing be performed first |
|
|
33
|
+
|
|
34
|
+
Use passive only when the actor is unknown or irrelevant, or when you want to emphasise the action.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Plain Language
|
|
39
|
+
|
|
40
|
+
- Use common words instead of formal or obscure ones
|
|
41
|
+
- Prefer short words where they carry the same meaning
|
|
42
|
+
- Explain technical terms on first use
|
|
43
|
+
|
|
44
|
+
| Prefer | Avoid |
|
|
45
|
+
|--------|--------|
|
|
46
|
+
| use | utilise |
|
|
47
|
+
| help | facilitate |
|
|
48
|
+
| about | with regard to |
|
|
49
|
+
| if | in the event that |
|
|
50
|
+
| before | prior to (when "before" works) |
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Contractions
|
|
55
|
+
|
|
56
|
+
Use everyday contractions so content sounds natural and approachable.
|
|
57
|
+
|
|
58
|
+
- we're, it's, don't, can't, you'll, that's
|
|
59
|
+
- Avoid overly formal "we have not", "do not" in body copy unless tone requires it (e.g. legal, formal notices)
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Verb Tenses
|
|
64
|
+
|
|
65
|
+
- Use **present** for general truth and instructions: "The dashboard shows recent activity."
|
|
66
|
+
- Use **past** for what happened: "The deployment completed successfully."
|
|
67
|
+
- Use **future** only when necessary: "You will receive a confirmation email."
|
|
68
|
+
- Avoid unnecessary perfect tenses when simple past or present is clearer.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Conciseness
|
|
73
|
+
|
|
74
|
+
- Cut filler: "Please note that" → often delete; "at this time" → "now" or "currently"
|
|
75
|
+
- One main idea per sentence where possible
|
|
76
|
+
- Start with the most important information
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Addressing the Reader
|
|
81
|
+
|
|
82
|
+
- Speak to the reader as **"you"**
|
|
83
|
+
- Use **"we"** for Equal Experts when it's clear from context
|
|
84
|
+
- Keep "my" vs "your" consistent with the product (e.g. "your account" in product UI)
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Related Documentation
|
|
89
|
+
|
|
90
|
+
- [Voice and tone](./voice-and-tone.md) - Principles and audience
|
|
91
|
+
- [Formatting](./formatting.md) - Capitalisation, headings, lists
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Design Rules
|
|
2
|
+
|
|
3
|
+
Visual design tokens and principles for Equal Experts. Apply across all platforms (web, slides, graphics, photography).
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
These rules define the design language: colours, typography, spacing, borders, and high-level design principles. Load with [foundations brand and logo](../brand.md) and [foundations content](../content/) as needed.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Files
|
|
14
|
+
|
|
15
|
+
| File | Description |
|
|
16
|
+
|------|-------------|
|
|
17
|
+
| [design-language.md](./design-language.md) | Design principles and token overview |
|
|
18
|
+
| [colours.md](./colours.md) | Brand colour palette and usage |
|
|
19
|
+
| [typography.md](./typography.md) | Fonts and type scale |
|
|
20
|
+
| [spacing.md](./spacing.md) | Spacing system |
|
|
21
|
+
| [borders.md](./borders.md) | Border philosophy and specifications |
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Related
|
|
26
|
+
|
|
27
|
+
- [Foundations](../README.md) – Brand, logo, accessibility
|
|
28
|
+
- [Content](../content/README.md) – Writing and style
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# Border Rules
|
|
2
|
+
|
|
3
|
+
Border specifications for Equal Experts. This document defines border philosophy, widths, radius, and usage guidelines.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
The design system follows a **minimal border philosophy** - borders should only be used when necessary. Prefer spacing and visual hierarchy over borders.
|
|
10
|
+
|
|
11
|
+
**Key Principle:** Use borders sparingly and purposefully. Spacing and visual hierarchy should be the primary tools for creating separation.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## When to Use Borders
|
|
16
|
+
|
|
17
|
+
### Use Borders For:
|
|
18
|
+
|
|
19
|
+
1. **Creating separation** between distinct sections needing clear boundaries
|
|
20
|
+
2. **Distinguishing interactive elements** from static content
|
|
21
|
+
3. **Defining component boundaries** where spacing alone is insufficient
|
|
22
|
+
4. **Indicating state changes** (focus states, error states, selection)
|
|
23
|
+
|
|
24
|
+
### Avoid Borders When:
|
|
25
|
+
|
|
26
|
+
- Spacing alone can create sufficient separation
|
|
27
|
+
- Visual hierarchy (size, color, weight) can distinguish elements
|
|
28
|
+
- The border would create visual clutter
|
|
29
|
+
- Separation is already clear through other design elements
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Border Width
|
|
34
|
+
|
|
35
|
+
Borders should be **1-4px** in width:
|
|
36
|
+
|
|
37
|
+
| Width | Usage |
|
|
38
|
+
|-------|-------|
|
|
39
|
+
| 1px | Default for most elements (cards, dividers) |
|
|
40
|
+
| 2px | Emphasized borders, active states |
|
|
41
|
+
| 3-4px | Focus indicators, high-contrast separations |
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Border Style
|
|
46
|
+
|
|
47
|
+
**Always use solid lines.**
|
|
48
|
+
|
|
49
|
+
The design system does not use:
|
|
50
|
+
- Dashed borders
|
|
51
|
+
- Dotted borders
|
|
52
|
+
- Other border styles
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Border Color
|
|
57
|
+
|
|
58
|
+
Use brand-appropriate colors:
|
|
59
|
+
|
|
60
|
+
| Usage | Color |
|
|
61
|
+
|-------|-------|
|
|
62
|
+
| Default borders | Light gray (slate-200 light, slate-700 dark) |
|
|
63
|
+
| Focus indicators | EE Blue or appropriate focus color |
|
|
64
|
+
| Error states | Red/destructive color |
|
|
65
|
+
| Success states | Transform Teal |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Border Radius
|
|
70
|
+
|
|
71
|
+
The design system uses a **minimal radius approach**:
|
|
72
|
+
|
|
73
|
+
### Default: 0px (No Radius)
|
|
74
|
+
|
|
75
|
+
Most elements have **no border radius** by default for a clean, modern, geometric aesthetic.
|
|
76
|
+
|
|
77
|
+
**Elements with no radius:**
|
|
78
|
+
- Static containers
|
|
79
|
+
- Sections
|
|
80
|
+
- Dividers
|
|
81
|
+
- Content blocks
|
|
82
|
+
|
|
83
|
+
### Interactive Elements: 6px
|
|
84
|
+
|
|
85
|
+
**Interactive elements** use **6px border radius**:
|
|
86
|
+
|
|
87
|
+
- Buttons
|
|
88
|
+
- Clickable cards
|
|
89
|
+
- Interactive tiles
|
|
90
|
+
- Tabs
|
|
91
|
+
|
|
92
|
+
### Form Inputs: 4px
|
|
93
|
+
|
|
94
|
+
**Form input elements** use **4px border radius**:
|
|
95
|
+
|
|
96
|
+
- Text inputs
|
|
97
|
+
- Textareas
|
|
98
|
+
- Select dropdowns
|
|
99
|
+
- Search inputs
|
|
100
|
+
|
|
101
|
+
### Summary
|
|
102
|
+
|
|
103
|
+
| Element Type | Border Radius |
|
|
104
|
+
|--------------|---------------|
|
|
105
|
+
| Static content | 0px |
|
|
106
|
+
| Interactive elements | 6px |
|
|
107
|
+
| Form inputs | 4px |
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Accessibility
|
|
112
|
+
|
|
113
|
+
### Contrast Requirements
|
|
114
|
+
|
|
115
|
+
Borders must meet WCAG 2.1 Level AA for graphical objects:
|
|
116
|
+
|
|
117
|
+
- **Minimum contrast ratio:** 3:1 against adjacent colors
|
|
118
|
+
|
|
119
|
+
### Testing
|
|
120
|
+
|
|
121
|
+
- Test borders against background colors
|
|
122
|
+
- Verify visibility in both light and dark contexts
|
|
123
|
+
- Ensure sufficient contrast for all users
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Usage Guidelines
|
|
128
|
+
|
|
129
|
+
### Do's
|
|
130
|
+
|
|
131
|
+
1. **Use borders purposefully** - Only when spacing is insufficient
|
|
132
|
+
2. **Follow width guidelines** - 1px default, 2px emphasized, 3-4px focus
|
|
133
|
+
3. **Apply radius correctly** - 0px static, 6px interactive, 4px inputs
|
|
134
|
+
4. **Ensure accessibility** - 3:1 minimum contrast ratio
|
|
135
|
+
5. **Be consistent** - Same border treatment for same element types
|
|
136
|
+
|
|
137
|
+
### Don'ts
|
|
138
|
+
|
|
139
|
+
1. **Don't overuse borders** - Spacing should be the first option
|
|
140
|
+
2. **Don't use non-solid borders** - No dashed or dotted
|
|
141
|
+
3. **Don't use arbitrary radius** - Only 0px, 4px, or 6px
|
|
142
|
+
4. **Don't break accessibility** - Always verify contrast
|
|
143
|
+
5. **Don't use decorative borders** - Keep them functional
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Platform-Specific Borders
|
|
148
|
+
|
|
149
|
+
For platform-specific border guidance:
|
|
150
|
+
|
|
151
|
+
- **Web** - See [types/web/](../types/web/)
|
|
152
|
+
- **Graphics** - See [types/graphics/](../types/graphics/)
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Related Documentation
|
|
157
|
+
|
|
158
|
+
- [Spacing](./spacing.md) - Spacing as alternative to borders
|
|
159
|
+
- [Colours](./colours.md) - Border colors
|