@riligar/agents-kit 1.5.1 → 1.7.0
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,42 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
* RiLiGar Design System - Mantine 8 Theme
|
|
3
|
-
* Estética minimalista e adaptável (Light/Dark Mode).
|
|
4
|
-
*
|
|
5
|
-
* CENTRALIZAÇÃO TOTAL:
|
|
6
|
-
* Toda a configuração visual (sizes, borders, radius) DEVE estar aqui.
|
|
7
|
-
* O código do componente deve ser limpo.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { createTheme } from '@mantine/core'
|
|
1
|
+
import { createTheme, rem } from '@mantine/core'
|
|
11
2
|
|
|
12
3
|
export const theme = createTheme({
|
|
13
4
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
14
5
|
|
|
15
6
|
colors: {
|
|
16
|
-
// Escala
|
|
17
|
-
// Preto: #34322D
|
|
18
|
-
// Cinza: #F8F8F8
|
|
19
|
-
// Branco: #FFFFFF
|
|
7
|
+
// Escala Neutra Universal (Substitui o gray padrão)
|
|
20
8
|
gray: [
|
|
21
|
-
'#
|
|
22
|
-
'#
|
|
23
|
-
'#
|
|
24
|
-
'#
|
|
25
|
-
'#
|
|
26
|
-
'#
|
|
27
|
-
'#
|
|
28
|
-
'#
|
|
29
|
-
'#
|
|
30
|
-
'#
|
|
9
|
+
'#F9FAFB', // 0: App Background
|
|
10
|
+
'#F3F4F6', // 1: Hover/Subtle
|
|
11
|
+
'#E5E7EB', // 2: Borders
|
|
12
|
+
'#D1D5DB', // 3: Disabled
|
|
13
|
+
'#9CA3AF', // 4: Placeholder
|
|
14
|
+
'#6B7280', // 5: Text Secondary
|
|
15
|
+
'#4B5563', // 6: Text Primary Soft
|
|
16
|
+
'#374151', // 7: Text Primary
|
|
17
|
+
'#1F2937', // 8: Headers
|
|
18
|
+
'#11181C', // 9: Absolute Black
|
|
31
19
|
],
|
|
32
20
|
// Semânticos neutralizados para manter monochromaticidade total
|
|
33
21
|
error: ['#F9FAFB', '#F3F4F6', '#E5E7EB', '#D1D5DB', '#9CA3AF', '#6B7280', '#4B5563', '#374151', '#1F2937', '#11181C'],
|
|
34
22
|
success: ['#F9FAFB', '#F3F4F6', '#E5E7EB', '#D1D5DB', '#9CA3AF', '#6B7280', '#4B5563', '#374151', '#1F2937', '#11181C'],
|
|
35
23
|
},
|
|
36
24
|
|
|
37
|
-
primaryColor: '
|
|
38
|
-
black: '#34322D',
|
|
39
|
-
white: '#FFFFFF',
|
|
25
|
+
primaryColor: 'dark', // Escala dark mapeada para cinzas
|
|
40
26
|
autoContrast: true,
|
|
41
27
|
|
|
42
28
|
defaultRadius: 'md', // 6px
|
|
@@ -84,7 +70,6 @@ export const theme = createTheme({
|
|
|
84
70
|
fw: 500,
|
|
85
71
|
radius: 'md',
|
|
86
72
|
},
|
|
87
|
-
// Variações semânticas via theme vars se necessário
|
|
88
73
|
},
|
|
89
74
|
TextInput: {
|
|
90
75
|
defaultProps: {
|
|
@@ -93,9 +78,9 @@ export const theme = createTheme({
|
|
|
93
78
|
},
|
|
94
79
|
styles: theme => ({
|
|
95
80
|
input: {
|
|
96
|
-
border: `1px solid ${theme.colors.gray[2]}`,
|
|
81
|
+
border: `1px solid ${theme.colors.gray[2]}`,
|
|
97
82
|
'&:focus': {
|
|
98
|
-
borderColor: theme.colors.
|
|
83
|
+
borderColor: theme.colors.dark[8],
|
|
99
84
|
},
|
|
100
85
|
},
|
|
101
86
|
}),
|
|
@@ -114,5 +99,23 @@ export const theme = createTheme({
|
|
|
114
99
|
radius: 'md',
|
|
115
100
|
},
|
|
116
101
|
},
|
|
102
|
+
ThemeIcon: {
|
|
103
|
+
defaultProps: {
|
|
104
|
+
size: 'lg',
|
|
105
|
+
radius: 'md',
|
|
106
|
+
variant: 'light',
|
|
107
|
+
color: 'gray',
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
Title: {
|
|
111
|
+
defaultProps: {
|
|
112
|
+
lh: 1.2,
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
Text: {
|
|
116
|
+
defaultProps: {
|
|
117
|
+
lh: 1.6,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
117
120
|
},
|
|
118
121
|
})
|
|
@@ -9,6 +9,17 @@ allowed-tools: Read, Write, Edit, Glob, Grep
|
|
|
9
9
|
> API design principles and decision-making for 2025.
|
|
10
10
|
> **Learn to THINK, not copy fixed patterns.**
|
|
11
11
|
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Mandatory Guidelines
|
|
15
|
+
|
|
16
|
+
> [!IMPORTANT]
|
|
17
|
+
> All work in this skill MUST adhere to:
|
|
18
|
+
>
|
|
19
|
+
> - @[.agent/skills/riligar-dev-clean-code] (Clean Code Standards)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
12
23
|
## 🎯 Selective Reading Rule
|
|
13
24
|
|
|
14
25
|
**Read ONLY files relevant to the request!** Check the content map, find what you need.
|
|
@@ -34,11 +45,18 @@ allowed-tools: Read, Write, Edit, Glob, Grep
|
|
|
34
45
|
|
|
35
46
|
## 🔗 Related Skills
|
|
36
47
|
|
|
37
|
-
| Need
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
48
|
+
| Need | Skill |
|
|
49
|
+
| ------------------- | ------------------------------------------------- |
|
|
50
|
+
| **Core Standards** | @[.agent/skills/riligar-dev-clean-code] |
|
|
51
|
+
| **Architecture** | @[.agent/skills/riligar-dev-architecture] |
|
|
52
|
+
| **Database** | @[.agent/skills/riligar-dev-database] |
|
|
53
|
+
| **Infrastructure** | @[.agent/skills/riligar-infrastructure] |
|
|
54
|
+
| **Tech Stack** | @[.agent/skills/riligar-tech-stack] |
|
|
55
|
+
| **Business Case** | @[.agent/skills/riligar-business-startup-analyst] |
|
|
56
|
+
| **Market Analysis** | @[.agent/skills/riligar-business-startup-market] |
|
|
57
|
+
| **Code Review** | @[.agent/skills/riligar-dev-code-review] |
|
|
58
|
+
| **Task Planning** | @[.agent/skills/riligar-plan-writing] |
|
|
59
|
+
| **SEO Tech** | @[.agent/skills/riligar-dev-seo] |
|
|
42
60
|
|
|
43
61
|
---
|
|
44
62
|
|
|
@@ -10,6 +10,16 @@ allowed-tools: Read, Write, Edit, Glob, Grep
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## Mandatory Guidelines
|
|
14
|
+
|
|
15
|
+
> [!IMPORTANT]
|
|
16
|
+
> All work in this skill MUST adhere to:
|
|
17
|
+
>
|
|
18
|
+
> - @[.agent/skills/riligar-design-system] (Design and Visual System)
|
|
19
|
+
> - @[.agent/skills/riligar-dev-clean-code] (Clean Code Standards)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
13
23
|
## 1. Component Design Principles
|
|
14
24
|
|
|
15
25
|
### Component Types
|
|
@@ -195,4 +205,12 @@ allowed-tools: Read, Write, Edit, Glob, Grep
|
|
|
195
205
|
|
|
196
206
|
---
|
|
197
207
|
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Related Skills
|
|
211
|
+
|
|
212
|
+
- @[.agent/skills/riligar-design-system]
|
|
213
|
+
- @[.agent/skills/riligar-dev-clean-code]
|
|
214
|
+
- @[.agent/skills/riligar-tech-stack]
|
|
215
|
+
|
|
198
216
|
> **Remember:** React is about composition. Build small, combine thoughtfully.
|