-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac90c37
commit c065025
Showing
29 changed files
with
320 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
function App() { | ||
return ( | ||
<div> | ||
<p>Bem vindo ao meu Template</p> | ||
</div> | ||
) | ||
} | ||
|
||
export default App |
Empty file.
Empty file.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Crie seus componentes nesta pasta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Crie suas constantes nesta pasta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Coloque seus dados persistidos aqui! (arquivos.json, .txt e afins) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Crie suas páginas nesta pasta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Configure seu redux aqui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Crie suas rotas de navegação entre páginas nesta pasta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Crie seus serviços nesta pasta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
const COLORS = { | ||
inputBackgroundColor: "#caa165", | ||
inputBorderColor: "#977a50", | ||
logoColor: "#582000", | ||
logoColorStrong: "#370e03", | ||
black:"#000000", | ||
} | ||
|
||
/** | ||
Ajusta o brilho de uma cor hexadecimal. | ||
* Args: | ||
- hex: Cor hexadecimal a ser ajustada. | ||
- percent: Porcentagem de ajuste. Valores positivos aumentam o brilho e valores negativos diminuem. | ||
* Returns: | ||
- Cor hexadecimal ajustada com o brilho. | ||
**/ | ||
export function adjustBrightness(hex: string, percent: number): string { | ||
// Remove o símbolo # se estiver presente | ||
hex = hex.replace(/^#/, ''); | ||
|
||
// Converte a cor hexadecimal para RGB | ||
let r = parseInt(hex.substring(0, 2), 16); | ||
let g = parseInt(hex.substring(2, 4), 16); | ||
let b = parseInt(hex.substring(4, 6), 16); | ||
|
||
// Ajusta o brilho | ||
r = Math.min(255, Math.max(0, r + (r * percent) / 100)); | ||
g = Math.min(255, Math.max(0, g + (g * percent) / 100)); | ||
b = Math.min(255, Math.max(0, b + (b * percent) / 100)); | ||
|
||
// Converte de volta para hexadecimal | ||
const newHex = ( | ||
(1 << 24) + | ||
(r << 16) + | ||
(g << 8) + | ||
b | ||
) | ||
.toString(16) | ||
.slice(1) | ||
.toUpperCase(); | ||
|
||
return `#${newHex}`; | ||
} | ||
|
||
export default COLORS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export const SIZES = { // 1 rem -> 16px | ||
label: "1.4rem", | ||
title: "1.8rem", | ||
section: "3.0rem" | ||
} | ||
|
||
export const WEIGHTS = { | ||
bold: "800", | ||
regular: "400", | ||
light: "300" | ||
} | ||
|
||
export const FONTS = { | ||
primary: "Roboto, sans-serif", | ||
secondary: "Montserrat, sans-serif" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Playwrite+AU+SA:[email protected]&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); | ||
|
||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
p { | ||
font-family: "Roboto", serif; | ||
font-optical-sizing: auto; | ||
font-weight: 400; | ||
font-style: normal; | ||
font-variation-settings: | ||
"wdth" 100; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Coloque seus testes aqui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Coloque seus dados de mocks aqui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Coloque seus tipos de dados aqui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Adicione suas funções úties (Conversões de tipos, formatos, etc) aqui |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Coloque a documentação de sua aplicação aqui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.