@equal-experts/kuat-react 0.3.0 → 0.3.2

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.
@@ -1,456 +0,0 @@
1
- # Kuat Design System Logo Usage
2
-
3
- A guide to using the Equal Experts logo in the Kuat Design System. This document helps ensure proper logo usage, brand consistency, and accessibility across all digital products built with shadcn/ui and shadcn-vue.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- The Equal Experts logo is a core brand asset that must be used consistently and correctly. This guide provides specifications for logo usage in digital interfaces, ensuring brand recognition and maintaining visual integrity.
10
-
11
- **Key Principle:** Always use official logo assets. Never recreate, modify, or distort the logo. When in doubt, use the full-color version with adequate clear space.
12
-
13
- ---
14
-
15
- ## Logo Composition
16
-
17
- The Equal Experts logo consists of two elements that work together:
18
-
19
- - **Brand mark**: Square brackets containing an equals sign `[=]` in blue
20
- - **Wordmark**: "EQUAL EXPERTS" text in dark gray/charcoal
21
-
22
- These elements should **always** be used together unless space constraints require the brand mark only.
23
-
24
- ---
25
-
26
- ## Logo Specifications
27
-
28
- ### Minimum Size Requirements
29
-
30
- The logo must maintain readability and visual impact:
31
-
32
- - **Digital**: 100px wide minimum
33
- - **Print**: 26.5mm wide minimum
34
-
35
- **Never scale the logo below these minimums.** If space is constrained, use the brand mark only rather than shrinking the full logo.
36
-
37
- ### Clear Space
38
-
39
- The logo requires adequate breathing room to maintain visual prominence and brand recognition.
40
-
41
- **Clear space requirement:** Equal to the width of one bracket and the equals sign from the brand mark on all sides.
42
-
43
- ```tsx
44
- // React - Logo with adequate clear space
45
- <div className="p-[clear-space-width]">
46
- <img src="/logo.svg" alt="Equal Experts" className="w-[100px] min-w-[100px]" />
47
- </div>
48
- ```
49
-
50
- ```vue
51
- <!-- Vue - Logo with adequate clear space -->
52
- <div class="p-[clear-space-width]">
53
- <img src="/logo.svg" alt="Equal Experts" class="w-[100px] min-w-[100px]" />
54
- </div>
55
- ```
56
-
57
- ### Aspect Ratio
58
-
59
- The logo maintains a specific aspect ratio. **Never distort or stretch** the logo to fit different dimensions.
60
-
61
- ---
62
-
63
- ## Color Variants
64
-
65
- ### Primary (Default) Logos
66
-
67
- The primary logos are the **preferred and default** versions for all digital applications. Choose the correct logo based on background color to ensure contrast ratio compliance.
68
-
69
- **Primary Logo Files:**
70
- - **[logo-colour.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-colour.svg)** - Full color logo with blue brand mark and dark wordmark
71
- - **Use on**: Light backgrounds (white, light gray, light-colored backgrounds)
72
- - **Brand mark**: Blue (#1A9FD9 or similar)
73
- - **Wordmark**: Dark gray/charcoal
74
- - **Usage**: Default choice for most digital interfaces
75
-
76
- - **[logo-white-text.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-white-text.svg)** - Full color logo with blue brand mark and white wordmark
77
- - **Use on**: Dark backgrounds that have enough contrast with the blue brand mark
78
- - **Brand mark**: Blue (#1A9FD9 or similar)
79
- - **Wordmark**: White
80
- - **Usage**: Preferred option for dark backgrounds when the blue brand mark maintains sufficient contrast. If there is not enough copntrast, use a monchrome version.
81
-
82
- **Key Principle:** Always prefer primary logos over monochrome versions. Primary logos provide maximum brand recognition and should be used whenever possible.
83
-
84
- ### Monochrome Versions (Secondary)
85
-
86
- Monochrome versions are **secondary** and should only be used when necessary. These are available for specific use cases where primary logos cannot be used.
87
-
88
- **Use monochrome versions only when:**
89
- 1. **Contrast requirements**: Background colors would compromise legibility of the primary logo versions
90
- 2. **Partner requests**: Partner organizations specifically request monochrome usage
91
- 3. **Technical limitations**: Platform or technical constraints prevent full-color usage
92
-
93
- **Monochrome Logo Files:**
94
- - **[logo-monochrome-white.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-monochrome-white.svg)** - White monochrome logo
95
- - **Use on**: Dark backgrounds (dark blue, black, dark gray) when primary logo contrast is insufficient
96
- - **Usage**: Secondary option for dark backgrounds
97
-
98
- - **[logo-monochrome-black.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-monochrome-black.svg)** - Black monochrome logo
99
- - **Use on**: Very light backgrounds when primary logo isn't available and monochrome is required
100
- - **Usage**: Secondary option for light backgrounds when monochrome is specifically needed
101
-
102
- ---
103
-
104
- ## Logo Variations
105
-
106
- ### Full Logo (Preferred)
107
-
108
- The complete logo with both brand mark and wordmark is the **standard and preferred** version.
109
-
110
- **Use the full logo:**
111
- - In headers and navigation
112
- - On landing pages and marketing materials
113
- - In documentation and presentations
114
- - Anywhere brand recognition is important
115
-
116
- ### Brand Mark Only
117
-
118
- The brand mark is the Equal Experts logo without the company name (bracket-equals symbol only, without text). Brand mark variants should **only** be used when:
119
-
120
- 1. **Space constraints**: Space is severely limited (e.g., favicons, small icons)
121
- 2. **Shape requirements**: The logo must fit within a square or circular shape
122
- 3. **Decorative use**: Used as a decorative design element in presentations
123
- 4. **Context clarity**: The context makes it clear this represents Equal Experts
124
-
125
- **Brand Mark Files:**
126
- All brand mark variants are available in the [GitHub brand-assets repository](https://github.com/EqualExperts/brand-assets/tree/master/logo) with filenames starting with `brand-mark-...`.
127
- These include:
128
- - [White in a blue circle](https://github.com/EqualExperts/brand-assets/blob/master/logo/brand-mark-blue-circle.svg)
129
- - [Blue in a white circle](https://github.com/EqualExperts/brand-assets/blob/master/logo/brand-mark-blue-over-white-circle.svg)
130
- - [Blue without circle](https://github.com/EqualExperts/brand-assets/blob/master/logo/brand-mark-blue.svg)
131
- - [White without circle](https://github.com/EqualExperts/brand-assets/blob/master/logo/brand-mark-monochrome-white.svg)
132
-
133
- ---
134
-
135
- ## Usage Guidelines
136
-
137
- ### ✅ Do's
138
-
139
- 1. **Use official assets**
140
- - ✅ Always use official logo files from brand resources
141
- - ✅ Reference proper logo files rather than recreating
142
- - ✅ Download SVG format for digital use when available
143
-
144
- 2. **Maintain size requirements**
145
- - ✅ Ensure minimum size requirements are met (100px/26.5mm)
146
- - ✅ Scale proportionally when resizing
147
- - ✅ Use brand mark only if space is constrained below minimum
148
-
149
- 3. **Provide adequate spacing**
150
- - ✅ Include clear space equal to bracket+equals width on all sides
151
- - ✅ Place logo prominently where it can be easily recognized
152
- - ✅ Avoid placing in corners or edges without adequate padding
153
-
154
- 4. **Choose appropriate variants**
155
- - ✅ Use primary logos (`logo-colour.svg` or `logo-white-text.svg`) by default
156
- - ✅ Choose logo based on background color to ensure contrast compliance
157
- - ✅ Use monochrome versions only when necessary for contrast or when specifically requested
158
- - ✅ Assess background contrast before choosing variant
159
-
160
- 5. **Ensure accessibility**
161
- - ✅ Maintain sufficient contrast between logo and background
162
- - ✅ Never place on busy backgrounds where legibility is compromised
163
- - ✅ Test logo visibility in both light and dark modes
164
-
165
- ### ❌ Don'ts
166
-
167
- 1. **Don't transform the logo**
168
- - ❌ Never rotate any part of the logo
169
- - ❌ Never distort or skew the logo
170
- - ❌ Never change the layout or spatial relationship between mark and wordmark
171
- - ❌ Never change transparency or opacity
172
-
173
- 2. **Don't modify colors**
174
- - ❌ Never use different colors than specified (except approved monochrome)
175
- - ❌ Never recreate the logo with different fonts
176
- - ❌ Never add shadows, gradients, or other effects
177
-
178
- 3. **Don't alter composition**
179
- - ❌ Never add extra words or taglines to the logo
180
- - ❌ Never use the wordmark alone (text without the brand mark)
181
- - ❌ Never separate elements unnecessarily
182
-
183
- 4. **Don't compromise visibility**
184
- - ❌ Never place on busy backgrounds where legibility is compromised
185
- - ❌ Never scale below minimum size requirements
186
- - ❌ Never overlay on complex imagery or patterns without proper contrast
187
-
188
- 5. **Don't create variations**
189
- - ❌ Never create custom color variations
190
- - ❌ Never add decorative elements or modifications
191
- - ❌ Never recreate the logo programmatically
192
-
193
- ---
194
-
195
- ## Implementation Examples
196
-
197
- ### React Components
198
-
199
- ```tsx
200
- // Header with primary logo on light background
201
- <header className="bg-white p-6">
202
- <img
203
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-colour.svg"
204
- alt="Equal Experts"
205
- className="w-[120px] min-w-[100px] h-auto"
206
- />
207
- </header>
208
-
209
- // Footer with primary logo on dark background (white text version)
210
- <footer className="bg-slate-900 p-8">
211
- <div className="p-4"> {/* Clear space */}
212
- <img
213
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-white-text.svg"
214
- alt="Equal Experts"
215
- className="w-[100px] min-w-[100px] h-auto"
216
- />
217
- </div>
218
- </footer>
219
-
220
- // Monochrome logo on dark background (when primary logo contrast is insufficient)
221
- <footer className="bg-black p-8">
222
- <div className="p-4">
223
- <img
224
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-monochrome-white.svg"
225
- alt="Equal Experts"
226
- className="w-[100px] min-w-[100px] h-auto"
227
- />
228
- </div>
229
- </footer>
230
-
231
- // Brand mark only (when space is limited)
232
- <div className="w-8 h-8">
233
- <img
234
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/brand-mark-colour.svg"
235
- alt="Equal Experts"
236
- className="w-full h-full"
237
- />
238
- </div>
239
- ```
240
-
241
- ### Vue Components
242
-
243
- ```vue
244
- <!-- Header with primary logo on light background -->
245
- <header class="bg-white p-6">
246
- <img
247
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-colour.svg"
248
- alt="Equal Experts"
249
- class="w-[120px] min-w-[100px] h-auto"
250
- />
251
- </header>
252
-
253
- <!-- Footer with primary logo on dark background (white text version) -->
254
- <footer class="bg-slate-900 p-8">
255
- <div class="p-4"> <!-- Clear space -->
256
- <img
257
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-white-text.svg"
258
- alt="Equal Experts"
259
- class="w-[100px] min-w-[100px] h-auto"
260
- />
261
- </div>
262
- </footer>
263
-
264
- <!-- Monochrome logo on dark background (when primary logo contrast is insufficient) -->
265
- <footer class="bg-black p-8">
266
- <div class="p-4">
267
- <img
268
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-monochrome-white.svg"
269
- alt="Equal Experts"
270
- class="w-[100px] min-w-[100px] h-auto"
271
- />
272
- </div>
273
- </footer>
274
-
275
- <!-- Brand mark only (when space is limited) -->
276
- <div class="w-8 h-8">
277
- <img
278
- src="https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/brand-mark-colour.svg"
279
- alt="Equal Experts"
280
- class="w-full h-full"
281
- />
282
- </div>
283
- ```
284
-
285
- ---
286
-
287
- ## Best Practices
288
-
289
- ### Layout Placement
290
-
291
- 1. **Headers and Navigation**
292
- - Place logo prominently in the top-left or top-center
293
- - Ensure adequate padding from edges
294
- - Maintain consistent placement across pages
295
-
296
- 2. **Footers**
297
- - Use appropriate variant based on background color
298
- - Maintain clear space requirements
299
- - Consider smaller size if space is limited
300
-
301
- 3. **Marketing Materials**
302
- - Use full-color logo by default
303
- - Ensure prominent placement
304
- - Maintain brand recognition
305
-
306
- ### Background Considerations
307
-
308
- 1. **Light Backgrounds**
309
- - Use **[logo-colour.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-colour.svg)** (primary logo with dark text)
310
- - Ensure adequate contrast
311
- - Test readability
312
- - Only use monochrome black if specifically required
313
-
314
- 2. **Dark Backgrounds**
315
- - **First choice**: Use **[logo-white-text.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-white-text.svg)** (primary logo with white text) when the blue brand mark maintains sufficient contrast
316
- - **Secondary choice**: Use **[logo-monochrome-white.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-monochrome-white.svg)** (monochrome white) when primary logo contrast is insufficient
317
- - Verify contrast meets accessibility standards (WCAG AA)
318
- - Test in both light and dark modes
319
-
320
- 3. **Colored Backgrounds**
321
- - Assess contrast before choosing variant
322
- - Prefer primary logos (`logo-colour.svg` or `logo-white-text.svg`) when possible
323
- - Use monochrome versions only when primary logos lack sufficient contrast
324
- - Never compromise legibility
325
- - Always ensure contrast ratio compliance
326
-
327
- ### Size Considerations
328
-
329
- 1. **Desktop Interfaces**
330
- - Use 120px-150px width for headers
331
- - Maintain minimum 100px width
332
- - Provide adequate clear space
333
-
334
- 2. **Mobile Interfaces**
335
- - May use brand mark only if space is constrained
336
- - Never go below 100px for full logo
337
- - Ensure touch target sizes are maintained
338
-
339
- 3. **Icons and Favicons**
340
- - Use brand mark only
341
- - Maintain recognizable shape
342
- - Test at various sizes
343
-
344
- ---
345
-
346
- ## Accessibility
347
-
348
- ### Contrast Requirements
349
-
350
- The logo must maintain sufficient contrast against its background. Choose the correct logo variant to ensure WCAG AA contrast compliance:
351
-
352
- - **Primary logos**:
353
- - `logo-colour.svg` - Works on white and light backgrounds
354
- - `logo-white-text.svg` - Works on dark backgrounds when blue brand mark maintains sufficient contrast
355
- - **Monochrome logos** (secondary, use only when necessary):
356
- - `logo-monochrome-white.svg` - Use on dark backgrounds when primary logo contrast is insufficient (WCAG AA contrast)
357
- - `logo-monochrome-black.svg` - Use on very light backgrounds when monochrome is specifically required
358
-
359
- ### Alt Text
360
-
361
- Always provide descriptive alt text for logo images:
362
-
363
- ```tsx
364
- // React
365
- <img src="/logo.svg" alt="Equal Experts" />
366
-
367
- // Vue
368
- <img src="/logo.svg" alt="Equal Experts" />
369
- ```
370
-
371
- ### Responsive Considerations
372
-
373
- - Ensure logo remains readable at all screen sizes
374
- - Consider using brand mark only on very small screens if necessary
375
- - Never sacrifice minimum size requirements for responsive design
376
-
377
- ---
378
-
379
- ## Resources
380
-
381
- ### Official Logo Assets
382
-
383
- All logo files are publicly available in the [Equal Experts brand-assets GitHub repository](https://github.com/EqualExperts/brand-assets/tree/master/logo).
384
-
385
- #### Primary Logos (Default)
386
-
387
- - **[logo-colour.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-colour.svg)** - Full color logo with blue brand mark and dark wordmark (for light backgrounds)
388
- - **[logo-white-text.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-white-text.svg)** - Full color logo with blue brand mark and white wordmark (for dark backgrounds)
389
-
390
- #### Monochrome Logos (Secondary)
391
-
392
- - **[logo-monochrome-white.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-monochrome-white.svg)** - White monochrome logo (for dark backgrounds when primary logo contrast is insufficient)
393
- - **[logo-monochrome-black.svg](https://raw.githubusercontent.com/EqualExperts/brand-assets/master/logo/logo-monochrome-black.svg)** - Black monochrome logo (for light backgrounds when monochrome is specifically required)
394
-
395
- #### Brand Marks
396
-
397
- All brand mark variants are available in the [logo directory](https://github.com/EqualExperts/brand-assets/tree/master/logo) with filenames starting with `brand-mark-...`. These include:
398
- - `brand-mark-colour.svg` - Color brand mark
399
- - `brand-mark-white-text.svg` - Brand mark with white text
400
- - `brand-mark-monochrome-white.svg` - White monochrome brand mark
401
- - `brand-mark-monochrome-black.svg` - Black monochrome brand mark
402
-
403
- ### GitHub Repository
404
-
405
- - **Repository**: [EqualExperts/brand-assets](https://github.com/EqualExperts/brand-assets)
406
- - **Logo Directory**: [logo/](https://github.com/EqualExperts/brand-assets/tree/master/logo)
407
- - **Direct File Access**: Use `raw.githubusercontent.com` URLs for direct file access in code
408
-
409
- ### Implementation Notes
410
-
411
- 1. **Asset Format**: Prefer SVG for digital use (scalable, crisp at all sizes)
412
- 2. **File Naming**: Use official file names from the brand-assets repository
413
- 3. **Storage**: Store logo assets in project `public/` or `assets/` directory, or reference directly from GitHub
414
- 4. **Version Control**: Include logo assets in version control or reference from GitHub raw URLs
415
- 5. **CDN Usage**: GitHub raw URLs can be used directly as CDN links in production applications
416
-
417
- ---
418
-
419
- ## Integration with Design System
420
-
421
- ### Spacing
422
-
423
- Logo clear space should align with the design system's 8-point grid:
424
-
425
- - Calculate clear space based on bracket+equals width
426
- - Round to nearest 8px increment for consistency
427
- - Use design system spacing utilities when possible
428
-
429
- ### Color Tokens
430
-
431
- When placing logos on design system backgrounds:
432
-
433
- - **Light backgrounds**: Use `bg-background` or `bg-card` with `logo-colour.svg` (primary logo)
434
- - **Dark backgrounds**: Use `bg-slate-900` or `bg-slate-950` with `logo-white-text.svg` (primary logo) or `logo-monochrome-white.svg` (if contrast requires)
435
- - **Brand backgrounds**: Use EE Blue (`bg-primary`) with `logo-white-text.svg` (primary logo) or `logo-monochrome-white.svg` (if contrast requires)
436
-
437
- ---
438
-
439
- ## Additional Resources
440
-
441
- - **Design System Overview:** See [design-system.md](./design-system.md) for complete design system documentation
442
- - **Color Guide:** See [colours.md](./colours.md) for brand color specifications
443
- - **Component Guidelines:** See [../technical/component-guidelines.md](../technical/component-guidelines.md) for component patterns
444
- - **Equal Experts Brand Guidelines:** Refer to official brand documentation for complete logo specifications
445
-
446
- ---
447
-
448
- ## Notes
449
-
450
- - **Brand Asset Protection:** The Equal Experts logo is a valuable brand asset—always use official files from the [brand-assets repository](https://github.com/EqualExperts/brand-assets)
451
- - **Consistency First:** When in doubt, use the primary logo (`logo-colour.svg` or `logo-white-text.svg`) with adequate clear space
452
- - **Primary Over Monochrome:** Always prefer primary logos over monochrome versions for maximum brand recognition
453
- - **Background-Based Selection:** Choose the correct logo variant based on background color to ensure contrast compliance
454
- - **Size Priority:** Never compromise minimum size requirements—use brand mark only if space is constrained
455
- - **Accessibility Always:** Ensure logo contrast meets WCAG AA standards in all contexts
456
- - **Official Assets Only:** Never recreate or modify the logo—always use official brand resources from the GitHub repository