Sistema de design oficial do EVERRISE.
| Nome | Hex | RGB | Uso | Exemplo |
|---|---|---|---|---|
| Primary | #93E9BE |
147, 233, 190 | Botões, highlights, logo | ✅ CTA buttons, badges |
| Secondary | #185FA5 |
24, 95, 165 | Headers, nav, links | Headers, section titles |
| Dark | #2C2C2A |
44, 44, 42 | Texto de corpo | Body text, dark surfaces |
| Background | #F5F5DC |
245, 245, 220 | Main background | App background |
| Neutral | #DBDBDB |
219, 219, 219 | Cards, divisores | Card backgrounds, dividers |
| Nome | Hex | Significado | Uso |
|---|---|---|---|
| Success | #4CAF50 |
Sucesso, completo | Badges positivas |
| Warning | #FFC107 |
Aviso, atenção | Alertas moderados |
| Error | #F44336 |
Erro, bloqueado | Erros, validações |
| Info | #2196F3 |
Informação | Dicas, notificações |
| Nome | Hex | Significado | Uso |
|---|---|---|---|
| Emergency | #FF8200 |
PARADA DE EMERGÊNCIA |
#FF8200) está RESERVADO EXCLUSIVAMENTE para o botão de parada de emergência. Use nunca para outros fins.
white: #FFFFFF
gray50: #F9FAFB
gray100: #F3F4F6
gray200: #E5E7EB
gray300: #D1D5DB
gray400: #9CA3AF
gray500: #6B7280
gray600: #4B5563
gray700: #374151
gray800: #1F2937
gray900: #111827
black: #000000
- Heading:
Raleway(Display, titles, nav, buttons) - Body:
Lato(Corpo de texto, descrições, labels)
// Nível 1 — Display Hero (h1)
fontSize: 32px
fontWeight: 700
lineHeight: 40px
// Nível 2 — Main Title (h2)
fontSize: 28px
fontWeight: 700
lineHeight: 36px
// Nível 3 — Subtitle (h3)
fontSize: 24px
fontWeight: 600
lineHeight: 32px
// Nível 4 — Section (h4)
fontSize: 20px
fontWeight: 600
lineHeight: 28px
// Nível 5 — Label Important (h5)
fontSize: 18px
fontWeight: 600
lineHeight: 26px
// Body Large
fontSize: 16px
fontWeight: 400
lineHeight: 24px
// Body Regular (padrão)
fontSize: 14px
fontWeight: 400
lineHeight: 22px
// Body Small
fontSize: 12px
fontWeight: 400
lineHeight: 18px
// Caption
fontSize: 12px
fontWeight: 400
lineHeight: 16px
// Button Text
fontSize: 14px
fontWeight: 600
lineHeight: 20px<Button
label="Entrar"
onPress={() => handleLogin()}
variant="primary" // primary | secondary | tertiary | danger
size="md" // sm | md | lg
isLoading={false}
disabled={false}
/>Variantes:
| Variante | BG Color | Text Color | Use Case |
|---|---|---|---|
| primary | #93E9BE |
#F5F5DC |
CTA principal, positiva |
| secondary | #185FA5 |
#FFFFFF |
CTA secundária |
| tertiary | #DBDBDB |
#2C2C2A |
CTA terciária, menos importante |
| danger | #FF8200 |
#FFFFFF |
Tamanhos:
| Tamanho | Padding | Font Size |
|---|---|---|
| sm | 8px vertical, 12px horizontal | 12px |
| md | 12px vertical, 16px horizontal | 14px |
| lg | 16px vertical, 24px horizontal | 16px |
Contêiner com estilos consistentes.
<Card variant="elevated">
<Text>Conteúdo</Text>
</Card>Variantes:
| Variante | Estilo | Uso |
|---|---|---|
| elevated | Sombra MD | Conteúdo importante |
| flat | Borda 1px | Divisores, containers |
Indicador compacto.
<Badge label="✅ Conectado" variant="success" />Variantes:
| Variante | BG Color | Text Color |
|---|---|---|
| success | #4CAF50 |
#FFFFFF |
| warning | #FFC107 |
#2C2C2A |
| error | #F44336 |
#FFFFFF |
| info | #2196F3 |
#FFFFFF |
| default | #D1D5DB |
#2C2C2A |
Campo de texto com validação.
<Input
label="Email"
placeholder="seu@email.com"
value={email}
onChangeText={setEmail}
type="email" // text | email | password
error={emailError}
disabled={false}
/>Diálogo reutilizável.
<Modal
isVisible={true}
onClose={() => setVisible(false)}
title="Confirmar"
>
<Text>Tem certeza?</Text>
<View style={styles.footer}>
<Button label="Cancelar" onPress={() => {}} />
<Button label="Confirmar" onPress={() => {}} variant="primary" />
</View>
</Modal>Escala de espaçamento padronizada:
xs: 4px
sm: 8px
md: 12px
lg: 16px
xl: 24px
xxl: 32pxxs: 4px
sm: 8px
md: 12px
lg: 16px
xl: 24px
round: 999px (completamente redondo)// Shadow Small (elevation: 2)
{
shadowColor: '#000',
shadowOffset: { width: 0, height: 1 },
shadowOpacity: 0.18,
shadowRadius: 1.0
}
// Shadow Medium (elevation: 4)
{
shadowColor: '#000',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.25,
shadowRadius: 3.84
}
// Shadow Large (elevation: 8)
{
shadowColor: '#000',
shadowOffset: { width: 0, height: 4 },
shadowOpacity: 0.30,
shadowRadius: 4.65
}-
Componentes: PascalCase +
.jsx
Ex:Button.jsx,Card.jsx -
Hooks: camelCase +
useprefix +.js
Ex:useAuth.js,useWebSocket.js -
Serviços: camelCase +
.js
Ex:authService.js,hoistService.js -
Stores: camelCase +
.js
Ex:authStore.js,hoistStore.js -
Screens: PascalCase +
.jsx
Ex:Login.jsx,Dashboard.jsx
-
Componentes React: PascalCase
Ex:MyButton,UserCard -
Funções: camelCase
Ex:handleLogin,formatDate -
Constantes: UPPER_SNAKE_CASE
Ex:MAX_RETRIES,DEFAULT_TIMEOUT -
Booleans: prefix
is,has,can
Ex:isLoading,hasError,canMove
Sempre use label prop em inputs:
<Input
label="Email" // ✅ Bom
placeholder="seu@email.com"
/>- Texto em background claro: Use cores escuras (
dark,gray700) - Texto em background escuro: Use cores claras (
white,gray100)
- Touch targets: Mínimo 44x44 pt (recomendado 48x48 pt)
Preferir:
fade: Para transições entre screens- Sem animação: Para tab switches (performance)
- Duration: 200-300ms (rápido, não lento)
Placeholder para suporte a dark mode futuro.