Skip to content

Commit

Permalink
use text colour
Browse files Browse the repository at this point in the history
  • Loading branch information
benwolfram committed Jun 20, 2024
1 parent fb49141 commit aa42961
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/** @jsx jsx */
import { jsx } from '@emotion/react'
import React from 'react'
import { CheckboxInput } from '../../../uuiui'
import { CheckboxInput, colorTheme } from '../../../uuiui'
import { FlexRow } from 'utopia-api'
import { Substores, useEditorState } from '../../../components/editor/store/store-hook'
import { togglePanel } from '../../../components/editor/actions/action-creators'
Expand Down Expand Up @@ -78,7 +78,9 @@ const CheckboxRow = React.memo((props: CheckboxRowProps) => {
>
<FlexRow css={{ gap: 10, height: 28, alignItems: 'center' }}>
<CheckboxInput id={id} checked={checked} onChange={onChange} />
<label htmlFor={id}>{label}</label>
<label htmlFor={id} style={{ color: colorTheme.textColor.value }}>
{label}
</label>
</FlexRow>
</FlexRow>
)
Expand Down

0 comments on commit aa42961

Please sign in to comment.