Skip to content

Commit 9648368

Browse files
committed
cleanup
1 parent 0ae217b commit 9648368

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

app/src/organisms/DeviceDetailsDeckConfiguration/AddFixtureModal.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,6 @@ export function AddFixtureModal({
305305
</Flex>
306306
</OddModal>
307307
) : (
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?
311308
<Modal {...modalProps}>
312309
<Flex flexDirection={DIRECTION_COLUMN} gridGap={SPACING.spacing16}>
313310
<StyledText desktopStyle="bodyDefaultRegular">

components/src/organisms/FixtureOption/index.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { TertiaryButton } from '../../atoms/buttons'
22
import { ListItem } from '../../atoms/ListItem/index'
33
import { StyledText } from '../../atoms/StyledText'
4+
import { COLORS } from '../../helix-design-system'
45
import { Flex } from '../../primitives'
56
import {
67
ALIGN_CENTER,
@@ -34,8 +35,14 @@ export function FixtureOption(props: FixtureOptionProps): JSX.Element {
3435
padding={SPACING.spacing16 + ' ' + SPACING.spacing24}
3536
alignItems={ALIGN_CENTER}
3637
justifyContent={JUSTIFY_SPACE_BETWEEN}
38+
backgroundColor={props.isOnDevice ? COLORS.grey35 : undefined}
3739
>
38-
<StyledText desktopStyle="bodyDefaultSemiBold">{optionName}</StyledText>
40+
<StyledText
41+
desktopStyle="bodyDefaultSemiBold"
42+
oddStyle="bodyTextSemiBold"
43+
>
44+
{optionName}
45+
</StyledText>
3946
<Flex
4047
gridGap={SPACING.spacing4}
4148
width={'10rem'}
@@ -65,8 +72,14 @@ export function FixtureOption(props: FixtureOptionProps): JSX.Element {
6572
padding={SPACING.spacing16 + ' ' + SPACING.spacing24}
6673
alignItems={ALIGN_CENTER}
6774
justifyContent={JUSTIFY_SPACE_BETWEEN}
75+
backgroundColor={props.isOnDevice ? COLORS.grey35 : undefined}
6876
>
69-
<StyledText desktopStyle="bodyDefaultSemiBold">{optionName}</StyledText>
77+
<StyledText
78+
desktopStyle="bodyDefaultSemiBold"
79+
oddStyle="bodyTextSemiBold"
80+
>
81+
{optionName}
82+
</StyledText>
7083
<TertiaryButton
7184
buttonType="primary"
7285
onClick={onClickHandler}

0 commit comments

Comments
 (0)