feat: feature/mvp-sprint-1 Added seedling select state styling

This commit is contained in:
Nikolaj Frey 2023-08-14 20:32:14 +10:00
parent a15434052f
commit 7c7a4f8677
2 changed files with 15 additions and 9 deletions

View File

@ -185,6 +185,7 @@ export const Icon = (props) => {
return (
<Center
transition="all 0.2s ease-out"
{...props}
{...props?.chakras}
fontSize={props?.size}
>

View File

@ -690,20 +690,25 @@ export const Thingtime = (props) => {
width="100%"
paddingLeft={multiplyPl(2)}
opacity={props?.edit ? 1 : 0}
border="none !important"
cursor="pointer"
transition="all 0.2s ease-out"
outline="none !important"
onClick={addNewChild}
onKeyDown={(e) => {
if (e?.key === "Enter") {
addNewChild()
}
}}
paddingY={2}
tabIndex={0}
>
<Icon size={10} name="seedling"></Icon>
<Icon
_focus={{
outline: "none !important",
textShadow: "0px 0px 10px green",
}}
onKeyDown={(e) => {
if (e?.key === "Enter") {
addNewChild()
}
}}
tabIndex={0}
size={10}
name="seedling"
></Icon>
{/* <Icon size={7} name="plus"></Icon>
<Icon size={7} name="plus"></Icon> */}
</Flex>