File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
app/src/organisms/DeviceDetailsDeckConfiguration
components/src/organisms/FixtureOption Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -305,9 +305,6 @@ export function AddFixtureModal({
305
305
</ Flex >
306
306
</ OddModal >
307
307
) : (
308
- // This is the modal with the module fixtures
309
- // Something that checks if this is a stacker module with a TODO to remove/update if other identifiable modules are added
310
- // Call to the use identify thing that transitions back to regular after a second?
311
308
< Modal { ...modalProps } >
312
309
< Flex flexDirection = { DIRECTION_COLUMN } gridGap = { SPACING . spacing16 } >
313
310
< StyledText desktopStyle = "bodyDefaultRegular" >
Original file line number Diff line number Diff line change 1
1
import { TertiaryButton } from '../../atoms/buttons'
2
2
import { ListItem } from '../../atoms/ListItem/index'
3
3
import { StyledText } from '../../atoms/StyledText'
4
+ import { COLORS } from '../../helix-design-system'
4
5
import { Flex } from '../../primitives'
5
6
import {
6
7
ALIGN_CENTER ,
@@ -34,8 +35,14 @@ export function FixtureOption(props: FixtureOptionProps): JSX.Element {
34
35
padding = { SPACING . spacing16 + ' ' + SPACING . spacing24 }
35
36
alignItems = { ALIGN_CENTER }
36
37
justifyContent = { JUSTIFY_SPACE_BETWEEN }
38
+ backgroundColor = { props . isOnDevice ? COLORS . grey35 : undefined }
37
39
>
38
- < StyledText desktopStyle = "bodyDefaultSemiBold" > { optionName } </ StyledText >
40
+ < StyledText
41
+ desktopStyle = "bodyDefaultSemiBold"
42
+ oddStyle = "bodyTextSemiBold"
43
+ >
44
+ { optionName }
45
+ </ StyledText >
39
46
< Flex
40
47
gridGap = { SPACING . spacing4 }
41
48
width = { '10rem' }
@@ -65,8 +72,14 @@ export function FixtureOption(props: FixtureOptionProps): JSX.Element {
65
72
padding = { SPACING . spacing16 + ' ' + SPACING . spacing24 }
66
73
alignItems = { ALIGN_CENTER }
67
74
justifyContent = { JUSTIFY_SPACE_BETWEEN }
75
+ backgroundColor = { props . isOnDevice ? COLORS . grey35 : undefined }
68
76
>
69
- < StyledText desktopStyle = "bodyDefaultSemiBold" > { optionName } </ StyledText >
77
+ < StyledText
78
+ desktopStyle = "bodyDefaultSemiBold"
79
+ oddStyle = "bodyTextSemiBold"
80
+ >
81
+ { optionName }
82
+ </ StyledText >
70
83
< TertiaryButton
71
84
buttonType = "primary"
72
85
onClick = { onClickHandler }
You can’t perform that action at this time.
0 commit comments