Skip to content

Commit

Permalink
chore: delete colors.ts and color.types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-dane committed Nov 6, 2024
1 parent 22cd89b commit e356f20
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 112 deletions.
54 changes: 0 additions & 54 deletions packages/core/src/constants/colors.ts

This file was deleted.

49 changes: 0 additions & 49 deletions packages/core/src/types/color.types.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/web/src/components/Divider/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { ColorNames } from "@core/types/color.types";

export interface Props {
toggled?: boolean;
width?: string;
colorName?: ColorNames;
withAnimation?: boolean;
}
2 changes: 0 additions & 2 deletions packages/web/src/components/Textarea/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { TextareaAutosizeProps } from "react-textarea-autosize";
import { ColorNames } from "@core/types/color.types";
import {
ClassNamedComponent,
UnderlinedInput,
Expand All @@ -9,6 +8,5 @@ export interface TextareaProps
extends UnderlinedInput,
ClassNamedComponent,
TextareaAutosizeProps {
background?: ColorNames;
heightFitsContent?: boolean;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import styled from "styled-components";
import { Colors } from "@core/types/color.types";
import { ZIndex } from "@web/common/constants/web.constants";

interface Props {
color: Colors;
color: string;
}

export const StyledTimesLabel = styled.div<Props>`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { FC } from "react";
import { ColorNames } from "@core/types/color.types";
import { Categories_Event } from "@core/types/event.types";
import { SomedayEventsProps } from "@web/views/Calendar/hooks/draft/sidebar/useSidebar";
import { DateCalcs } from "@web/views/Calendar/hooks/grid/useDateCalcs";
Expand Down Expand Up @@ -34,7 +33,7 @@ export const MonthSection: FC<Props> = ({
alignItems={AlignItems.CENTER}
justifyContent={JustifyContent.SPACE_BETWEEN}
>
<Text colorName={ColorNames.WHITE_1} role="heading" size={22}>
<Text role="heading" size={22}>
{monthLabel}
</Text>
<div onClick={(e) => e.stopPropagation()}>
Expand Down

0 comments on commit e356f20

Please sign in to comment.