aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Button/index.styled.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-02 17:18:08 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-02 17:18:08 -0700
commita4e823682c16efc0fcdf8fb07ce32bfbb045cd84 (patch)
tree943c001e951be8c727ce4ea75e4e08a97d668974 /src/components/Button/index.styled.ts
parentafbe1434a478cc00f4f84c03f0886edd7806d4e3 (diff)
fork and restyle, init scaffold for changes
Diffstat (limited to 'src/components/Button/index.styled.ts')
-rw-r--r--src/components/Button/index.styled.ts28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/components/Button/index.styled.ts b/src/components/Button/index.styled.ts
index 1bb964f..728bf00 100644
--- a/src/components/Button/index.styled.ts
+++ b/src/components/Button/index.styled.ts
@@ -2,22 +2,26 @@ import styled from "styled-components";
import { theme } from "../../constants";
export const Button = styled.button<{ variant?: keyof typeof theme }>`
- background-color: ${({ theme, variant }) =>
- variant ? theme[variant] : theme.background100};
+ background-color: transparent;
+ border: 1px solid ${({ theme, variant }) =>
+ variant ? theme[variant] : theme.border};
+ color: ${({ theme, variant }) =>
+ variant ? theme[variant] : theme.text};
- border-radius: 5px;
- border: none;
-
- color: ${({ theme }) => theme.text};
- font-size: 1rem;
- font-weight: 800;
+ font-family: "Roboto Mono", monospace;
+ font-size: 0.8rem;
+ font-weight: 600;
+ letter-spacing: 0.1em;
+ text-transform: uppercase;
+ padding: 10px 20px;
width: max-content;
- padding: 12.5px 20px;
+ cursor: pointer;
+ transition: background-color 0.1s, color 0.1s;
&:hover {
- opacity: 0.8;
+ background-color: ${({ theme, variant }) =>
+ variant ? theme[variant] : theme.border};
+ color: var(--cl-gray-0);
}
-
- cursor: pointer;
`;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage