Skip to content

Commit

Permalink
refa: change all focus colors to orange (#2527)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Sep 26, 2022
1 parent 1741120 commit 93cfb76
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-cherries-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marigold/theme-b2b": patch
---

refa: change all focus colors to orange
2 changes: 1 addition & 1 deletion themes/theme-b2b/src/components/Checkbox.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Checkbox: Theme['components']['Checkbox'] = {

'&:focus': {
outline: '2px solid',
outlineColor: 'blue60',
outlineColor: 'orange60',
outlineOffset: 3,
},

Expand Down
4 changes: 2 additions & 2 deletions themes/theme-b2b/src/components/Input.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const Input: Theme['components']['Input'] = {
},

'&:focus': {
borderColor: 'blue60',
boxShadow: `0 0 0 1px ${colors.blue60}`,
borderColor: 'orange60',
boxShadow: `0 0 0 1px ${colors.orange60}`,
},

'&:disabled': {
Expand Down
6 changes: 3 additions & 3 deletions themes/theme-b2b/src/components/NumberField.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export const NumberField: Theme['components']['NumberField'] = {
},

'&:focus': {
borderColor: 'blue60',
boxShadow: `0 0 0 1px ${colors.blue60}`,
borderColor: 'orange60',
boxShadow: `0 0 0 1px ${colors.orange60}`,
},

'&:disabled': {
Expand Down Expand Up @@ -55,7 +55,7 @@ export const NumberField: Theme['components']['NumberField'] = {
},

'&:focus-group': {
borderColor: 'blue60',
borderColor: 'orange60',
},

'&:error-group': {
Expand Down
2 changes: 1 addition & 1 deletion themes/theme-b2b/src/components/Radio.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Radio: Theme['components']['Radio'] = {

'&:focus': {
outline: '2px solid',
outlineColor: 'blue60',
outlineColor: 'orange60',
outlineOffset: 3,
},

Expand Down
2 changes: 1 addition & 1 deletion themes/theme-b2b/src/components/Slider.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Slider: Theme['components']['Slider'] = {
borderRadius: 'large',
'&:focus': {
border: '4px solid',
borderColor: 'primary',
borderColor: 'orange60',
},
'&:disabled': {
border: '4px solid',
Expand Down
2 changes: 1 addition & 1 deletion themes/theme-b2b/src/components/Switch.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Switch: Theme['components']['Switch'] = {
},
'&:focus': {
outline: '2px solid',
outlineColor: 'blue60',
outlineColor: 'orange60',
outlineOffset: 3,
},
},
Expand Down
4 changes: 2 additions & 2 deletions themes/theme-b2b/src/components/TextArea.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const TextArea: Theme['components']['TextArea'] = {
},

'&:focus': {
borderColor: 'blue60',
boxShadow: `0 0 0 1px ${colors.blue60}`,
borderColor: 'orange60',
boxShadow: `0 0 0 1px ${colors.orange60}`,
},

'&:disabled': {
Expand Down

0 comments on commit 93cfb76

Please sign in to comment.