-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
* deps(web): install @phosphor-icons/react * feat(web): replace HamburgerMenu with List icon * feat(web): replace MetaKey SVG with icon * feat(web): replace sidebar toggle SVGs with icons * style(web): use brightness transition filter * feat(web): replace trash SVG with icon * chore(web): delete MonthCalendarIcon * chore(web): delete unused ToggleArrow * chore(web): replace check SVG with icon * chore(web): delete strawberry menu and trash SVGs * chore: delete custom SVG component * feat(web): replace repeat emoji with icon
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import styled from "styled-components"; | ||
import { ArrowLineLeft } from "@phosphor-icons/react"; | ||
import { ColorNames } from "@core/types/color.types"; | ||
import { getColor } from "@core/util/color.utils"; | ||
import { ZIndex } from "@web/common/constants/web.constants"; | ||
|
||
export const ArrowLineLeftIcon = styled(ArrowLineLeft)` | ||
cursor: pointer; | ||
color: ${getColor(ColorNames.GREY_6)}; | ||
position: absolute; | ||
right: 7px; | ||
bottom: 8px; | ||
transition: filter 0.2s ease; | ||
z-index: ${ZIndex.LAYER_1}; | ||
&:hover { | ||
filter: brightness(130%); | ||
} | ||
`; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import styled from "styled-components"; | ||
import { ArrowLineRight } from "@phosphor-icons/react"; | ||
import { ColorNames } from "@core/types/color.types"; | ||
import { getColor } from "@core/util/color.utils"; | ||
import { ZIndex } from "@web/common/constants/web.constants"; | ||
|
||
export const ArrowLineRightIcon = styled(ArrowLineRight)` | ||
cursor: pointer; | ||
color: ${getColor(ColorNames.GREY_6)}; | ||
position: absolute; | ||
right: 7px; | ||
bottom: 8px; | ||
transition: filter 0.2s ease; | ||
z-index: ${ZIndex.LAYER_1}; | ||
&:hover { | ||
filter: brightness(130%); | ||
} | ||
`; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import styled from "styled-components"; | ||
import { Command } from "@phosphor-icons/react"; | ||
import { ColorNames } from "@core/types/color.types"; | ||
import { getColor } from "@core/util/color.utils"; | ||
|
||
export const StyledCommandIcon = styled(Command)` | ||
color: ${getColor(ColorNames.GREY_5)}; | ||
transition: filter 0.2s ease; | ||
&:hover { | ||
filter: brightness(130%); | ||
} | ||
`; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from "react"; | ||
|
||
import { TrashIcon } from "./Trash"; | ||
|
||
interface Props { | ||
onDelete: () => void; | ||
title: string; | ||
} | ||
|
||
export const DeleteIcon: React.FC<Props> = ({ onDelete, title }) => { | ||
return <TrashIcon onClick={onDelete} role="button" name={title} size={27} />; | ||
}; |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import styled from "styled-components"; | ||
import { List } from "@phosphor-icons/react"; | ||
import { ColorNames } from "@core/types/color.types"; | ||
import { getColor } from "@core/util/color.utils"; | ||
|
||
export const StyledListIcon = styled(List)` | ||
color: ${getColor(ColorNames.GREY_5)}; | ||
transition: filter 0.2s ease; | ||
&:hover { | ||
cursor: pointer; | ||
filter: brightness(130%); | ||
} | ||
`; |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import styled from "styled-components"; | ||
import { Repeat } from "@phosphor-icons/react"; | ||
|
||
export const RepeatIcon = styled(Repeat)` | ||
transition: filter 0.2s ease; | ||
&:hover { | ||
filter: brightness(130%); | ||
} | ||
`; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import styled from "styled-components"; | ||
import { Trash } from "@phosphor-icons/react"; | ||
|
||
export const TrashIcon = styled(Trash)` | ||
transition: filter 0.2s ease; | ||
&:hover { | ||
cursor: pointer; | ||
filter: brightness(50%); | ||
} | ||
`; |
This file was deleted.
This file was deleted.
This file was deleted.