Skip to content

Commit f541147

Browse files
Use colours by name
1 parent 97c321a commit f541147

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/RegionView.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ import RegionInfoView from './RegionInfoView';
1919

2020
const regionColorByName: Record<RegionName | 'background', string> = {
2121
[RegionName.MBR_PARAMS]: '#333F48',
22-
[RegionName.MBR]: '#FF9800',
23-
[RegionName.MBR_OR_APP]: '#FF9800',
24-
[RegionName.BOOTLOADER]: '#E91E63',
25-
[RegionName.SOFTDEVICE]: '#3F51B5',
26-
[RegionName.APPLICATION]: '#4CAF50',
22+
[RegionName.MBR]: colors.orange,
23+
[RegionName.MBR_OR_APP]: colors.orange,
24+
[RegionName.BOOTLOADER]: colors.pink,
25+
[RegionName.SOFTDEVICE]: colors.indigo,
26+
[RegionName.APPLICATION]: colors.green,
2727
[RegionName.FICR]: '#333F48',
2828
[RegionName.UICR]: '#333F48',
2929
[RegionName.NONE]: '#333F48',

0 commit comments

Comments
 (0)