Skip to content

Commit

Permalink
Merge pull request #476 from HausDAO/fix/field-issues
Browse files Browse the repository at this point in the history
adds theme color to markdown bg
  • Loading branch information
skuhlmann authored Mar 27, 2024
2 parents a075dce + 305182a commit df0ce97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions libs/moloch-v3-fields/src/fields/EpochDatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import { createGlobalStyle } from 'styled-components';
* @example FIELD { EPOCH_DATE_FIELD: {id: "epochDate",type: "epochDateField",label: "Epoch Date Field",}},
*/

// TODO: set the default somehow and enforce required

export const EpochDatePicker = (props: Buildable<Field>) => {
const { setValue } = useFormContext();
const [startDate, setStartDate] = useState(new Date());
Expand Down
4 changes: 2 additions & 2 deletions libs/moloch-v3-fields/src/fields/MarkdownField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const MarkDownContainer = styled.div`
padding: 10px;
margin-bottom: 5rem;
border-radius: 5px;
background-color: hsl(228, 43.3%, 17.5%);
background-color: ${({ theme }) => theme.secondary.step11};
font-size: 1.5rem;
font-family: inherit;
`;
Expand All @@ -44,7 +44,7 @@ const DialogMarkDownContainer = styled.div`
padding: 10px;
margin-bottom: 5rem;
border-radius: 5px;
background-color: hsl(228, 43.3%, 17.5%);
background-color: ${({ theme }) => theme.secondary.step11};
font-size: 1.5rem;
font-family: inherit;
`;
Expand Down

0 comments on commit df0ce97

Please sign in to comment.