Skip to content

Commit

Permalink
Merge pull request #521 from natura-cosmeticos/DSY-5412
Browse files Browse the repository at this point in the history
Dsy 5412 added theme Forca de vendas V2
  • Loading branch information
vagnerbarbosant authored Dec 20, 2024
2 parents 77df992 + c42e935 commit fca45d8
Show file tree
Hide file tree
Showing 21 changed files with 1,157 additions and 7 deletions.
6 changes: 6 additions & 0 deletions packages/natds-themes/config/react-native/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import casaEestiloV2DarkTheme from './casaEestilo_v2/dark.json'
import casaEestiloV2LightTheme from './casaEestilo_v2/light.json'
import forcaDeVendasDarkTheme from './forcaDeVendas/dark.json'
import forcaDeVendasLightTheme from './forcaDeVendas/light.json'
import forcaDeVendasV2DarkTheme from './forcaDeVendas_v2/dark.json'
import forcaDeVendasV2LightTheme from './forcaDeVendas_v2/light.json'

const themes = {
aesop: {
Expand Down Expand Up @@ -78,6 +80,10 @@ const themes = {
forcaDeVendas: {
dark: forcaDeVendasDarkTheme,
light: forcaDeVendasLightTheme
},
forcaDeVendas_v2: {
dark: forcaDeVendasV2DarkTheme,
light: forcaDeVendasV2LightTheme
}
}

Expand Down
3 changes: 2 additions & 1 deletion packages/natds-themes/config/shared/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export const brands = [
'natura_v3',
'casaEestilo',
'casaEestilo_v2',
'forcaDeVendas'
'forcaDeVendas',
'forcaDeVendas_v2'
]

export const modes = [
Expand Down
6 changes: 6 additions & 0 deletions packages/natds-themes/config/web/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import casaEestiloV2DarkTheme from './casaEestilo_v2/dark.json'
import casaEestiloV2LightTheme from './casaEestilo_v2/light.json'
import forcaDeVendasDarkTheme from './forcaDeVendas/dark.json'
import forcaDeVendasLightTheme from './forcaDeVendas/light.json'
import forcaDeVendasV2DarkTheme from './forcaDeVendas_v2/dark.json'
import forcaDeVendasV2LightTheme from './forcaDeVendas_v2/light.json'

const themes = {
aesop: {
Expand Down Expand Up @@ -78,6 +80,10 @@ const themes = {
forcaDeVendas: {
dark: forcaDeVendasDarkTheme,
light: forcaDeVendasLightTheme
},
forcaDeVendas_v2: {
dark: forcaDeVendasV2DarkTheme,
light: forcaDeVendasV2LightTheme
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": {
"counter": {
"borderRadius": {
"value": "{borderRadius.medium.value}"
"value": "{borderRadius.circle.value}"
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": {
"select": {
"borderRadius": {
"value": "{borderRadius.medium.value}"
"value": "{borderRadius.circle.value}"
}

}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"asset": {
"brand": {
"neutral":{
"a": {
"file": {
"value": "forcadevendas-a-official-dark"
},
"es": {
"value": "fuerzadeventas-b-official-dark"
},
"pt": {
"value": "forcadevendas-a-official-dark"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
},
"b": {
"file": {
"value": "fuerzadeventas-b-official-dark"
},
"es": {
"value": "fuerzadeventas-b-official-dark"
},
"pt": {
"value": "forcadevendas-a-official-dark"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
}
},
"custom":{
"a": {
"file": {
"value": "forcadevendas-a-custom"
},
"es": {
"value": "fuerzadeventas-b-custom"
},
"pt": {
"value": "forcadevendas-a-custom"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
},
"b": {
"file": {
"value": "fuerzadeventas-b-custom"
},
"es": {
"value": "fuerzadeventas-b-custom"
},
"pt": {
"value": "forcadevendas-a-custom"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"asset": {
"brand": {
"neutral":{
"a": {
"file": {
"value": "forcadevendas-a-official"
},
"es": {
"value": "fuerzadeventas-b-official"
},
"pt": {
"value": "forcadevendas-a-official"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
},
"b": {
"file": {
"value": "fuerzadeventas-b-official"
},
"es": {
"value": "fuerzadeventas-b-official"
},
"pt": {
"value": "forcadevendas-a-official"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
}
},
"custom":{
"a": {
"file": {
"value": "forcadevendas-a-custom"
},
"es": {
"value": "fuerzadeventas-b-custom"
},
"pt": {
"value": "forcadevendas-a-custom"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
},
"b": {
"file": {
"value": "fuerzadeventas-b-custom"
},
"es": {
"value": "fuerzadeventas-b-custom"
},
"pt": {
"value": "forcadevendas-a-custom"
},
"width": {
"value": 256
},
"height": {
"value": 55
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"private": {
"button": {
"borderRadius": {
"value": "{borderRadius.circle.value}"
},
"elevation": {
"value": "none"
},
"paddingX":{
"value": "{spacing.standard}"
},
"textTransform":{
"value": "uppercase"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"private": {
"counter": {
"borderRadius": {
"value": "{borderRadius.huge.value}"
}

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"private": {
"select": {
"borderRadius": {
"value": "{borderRadius.huge.value}"
}

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"private": {
"shortcut": {
"borderRadius": {
"value": "{private.borderRadius.circle.mediumX.value}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"private": {
"textfield": {
"borderRadius": {
"value": "{borderRadius.huge.value}"
}

}
}
}
Loading

0 comments on commit fca45d8

Please sign in to comment.