Skip to content

Commit 72dd3e5

Browse files
committed
chore: feb 13 and 14 morning
1 parent c7eb78c commit 72dd3e5

File tree

25 files changed

+71
-32
lines changed

25 files changed

+71
-32
lines changed

packages/paste-core/components/anchor/src/DefaultAnchor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const DefaultAnchor = React.forwardRef<HTMLAnchorElement, AnchorProps>((props, r
1414
outline="none"
1515
ref={ref}
1616
textDecoration="underline"
17+
textUnderlineOffset="4px" // TODO: make work
1718
_active={{
1819
color: "colorTextLinkStrongest",
1920
textDecoration: "none",

packages/paste-core/components/button/src/SecondaryButton.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import type { DirectButtonProps } from "./types";
1212
*/
1313
const defaultStyles: BoxStyleProps = merge(BaseStyles.default, {
1414
color: "colorText",
15-
backgroundColor: "colorBackgroundBody",
15+
backgroundColor: "colorBackgroundWeaker",
1616
boxShadow: "shadowBorderWeak",
1717
_hover: {
1818
color: "colorTextPrimary",
19-
backgroundColor: "colorBackgroundBody",
19+
backgroundColor: "colorBackgroundWeaker",
2020
boxShadow: "shadowBorderPrimary",
2121
},
2222
_focus: {
@@ -31,7 +31,7 @@ const defaultStyles: BoxStyleProps = merge(BaseStyles.default, {
3131

3232
const baseLoadingStyles: BoxStyleProps = {
3333
color: "colorTextPrimary",
34-
backgroundColor: "colorBackgroundBody",
34+
backgroundColor: "colorBackgroundWeaker",
3535
boxShadow: "shadowBorderWeak",
3636
};
3737

@@ -44,7 +44,7 @@ const loadingStyles: BoxStyleProps = merge(BaseStyles.loading, {
4444

4545
const baseDisabledStyles: BoxStyleProps = {
4646
color: "colorTextWeaker",
47-
backgroundColor: "colorBackgroundBody",
47+
backgroundColor: "colorBackgroundWeaker",
4848
boxShadow: "shadowBorderWeaker",
4949
};
5050

packages/paste-core/components/button/src/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export const SizeStyles: { [key in ButtonSizes]: BoxStyleProps } = {
4242
default: {
4343
paddingTop: "space30",
4444
paddingBottom: "space30",
45-
paddingLeft: "space40",
46-
paddingRight: "space40",
45+
paddingLeft: "space70",
46+
paddingRight: "space70",
4747
borderRadius: "borderRadius20",
4848
fontSize: "fontSize30",
4949
lineHeight: "lineHeight20",

packages/paste-core/components/callout/src/Callout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export const Callout = React.forwardRef<HTMLDivElement, CalloutProps>(
131131
display="flex"
132132
marginY={marginY}
133133
padding="space70"
134-
borderLeftStyle="solid"
134+
// borderLeftStyle="solid"
135135
borderLeftWidth="borderWidth20"
136136
variant={variant}
137137
alignItems="start"
@@ -146,7 +146,7 @@ export const Callout = React.forwardRef<HTMLDivElement, CalloutProps>(
146146
{children}
147147
</Box>
148148
{onDismiss && typeof onDismiss === "function" && (
149-
<Button onClick={onDismiss} variant="secondary_icon" size="reset" element={`${element}_DISMISS_BUTTON`}>
149+
<Button onClick={onDismiss} variant="secondary" size="circle_small" element={`${element}_DISMISS_BUTTON`}>
150150
<CloseIcon element={`${element}_DISMISS_ICON`} decorative size="sizeIcon20" />
151151
<ScreenReaderOnly>{i18nDismissLabel}</ScreenReaderOnly>
152152
</Button>

packages/paste-core/components/card/src/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Card = React.forwardRef<HTMLElement, CardProps>(
4545
paddingLeft={paddingLeft}
4646
paddingRight={paddingRight}
4747
paddingTop={paddingTop}
48-
backgroundColor="colorBackgroundBody"
48+
backgroundColor="colorBackground"
4949
>
5050
{children}
5151
</Box>

packages/paste-core/components/heading/src/Heading.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function getHeadingProps(headingVariant?: HeadingVariants, marginBottom?: "space
2121
fontWeight: "fontWeightSemibold",
2222
lineHeight: "lineHeight60",
2323
letterSpacing: "-.02em",
24+
color: "colorTextWeak",
2425
};
2526
case "heading40":
2627
return {
@@ -29,6 +30,7 @@ function getHeadingProps(headingVariant?: HeadingVariants, marginBottom?: "space
2930
fontWeight: "fontWeightSemibold",
3031
lineHeight: "lineHeight40",
3132
letterSpacing: "-.02em",
33+
color: "colorTextWeak",
3234
};
3335
case "heading50":
3436
return {
@@ -37,6 +39,7 @@ function getHeadingProps(headingVariant?: HeadingVariants, marginBottom?: "space
3739
fontWeight: "fontWeightSemibold",
3840
lineHeight: "lineHeight30",
3941
letterSpacing: "-.02em",
42+
color: "colorTextWeak",
4043
};
4144
case "heading60":
4245
return {
@@ -45,6 +48,7 @@ function getHeadingProps(headingVariant?: HeadingVariants, marginBottom?: "space
4548
fontWeight: "fontWeightSemibold",
4649
lineHeight: "lineHeight20",
4750
letterSpacing: "-.02em",
51+
color: "colorTextWeak",
4852
};
4953
/**
5054
* heading20 is out of order because its also default.

packages/paste-core/components/input-box/src/FauxInput/DefaultFauxInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { FauxInputProps } from "../types";
66

77
const DefaultFauxInput = React.forwardRef<HTMLDivElement, React.PropsWithChildren<FauxInputProps>>(
88
({ disabled, element, hasError, readOnly, children, type, variant }, ref) => {
9-
let backgroundColor = "colorBackgroundBody" as BackgroundColor;
9+
let backgroundColor = "colorBackgroundWeaker" as BackgroundColor;
1010
let boxShadow = "shadowBorder" as BoxShadow;
1111
let boxShadowHover = "shadowBorderPrimary" as BoxShadow;
1212
let boxShadowActive = "shadowBorderPrimaryStronger" as BoxShadow;

packages/paste-core/components/table/src/THead.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const THead = React.forwardRef<HTMLTableSectionElement, THeadProps>(
3030
{...safelySpreadBoxProps(props)}
3131
ref={ref}
3232
as={StyledTHead as any}
33+
backgroundColor="colorBackgroundWeakest"
3334
element={element}
3435
top={top}
3536
{...getStickyStyles({ stickyHeader })}

packages/paste-core/components/table/src/Td.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ const Td = React.forwardRef<HTMLTableCellElement, TdProps>(
1717
element={element}
1818
fontSize="fontSize30"
1919
lineHeight="lineHeight30"
20-
padding="space50"
20+
paddingX="space50"
21+
paddingY="space30"
2122
position="relative"
2223
textAlign={textAlign}
2324
whiteSpace={whiteSpace}

packages/paste-core/components/table/src/Th.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ const Th = React.forwardRef<HTMLTableCellElement, ThProps>(
1717
fontSize="fontSize30"
1818
lineHeight="lineHeight30"
1919
fontWeight="fontWeightSemibold"
20-
paddingBottom="space40"
20+
paddingBottom="space30"
2121
paddingLeft="space50"
2222
paddingRight="space50"
23-
paddingTop="space40"
23+
paddingTop="space30"
2424
position="relative"
2525
textAlign={textAlign}
2626
whiteSpace={whiteSpace}

0 commit comments

Comments
 (0)