Skip to content

Feature/add styles #866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
May 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
new styles added
  • Loading branch information
MenamAfzal committed May 8, 2024
commit 68ea6967d7cc9201a9f825661349b0a2a697d8aa
Original file line number Diff line number Diff line change
Expand Up @@ -838,14 +838,21 @@ export const avatarGroupStyle = [
getBackground("primary"),
] as const;

export const FloatButtonStyle = [
export const BadgeStyle = [
{
name: "badgeColor",
label: trans("floatButton.badgeColor"),
color: "#ff4d4f",
},
] as const;

export const FloatButtonStyle = [
getStaticBackground(SURFACE_COLOR),
BORDER,
BORDER_STYLE,
BORDER_WIDTH,
] as const;

export const TransferStyle = [
MARGIN,
] as const;
Expand Down Expand Up @@ -1586,6 +1593,7 @@ export type AvatarLabelStyleType = StyleConfigType<typeof avatarLabelStyle>;
export type AvatarContainerStyleType = StyleConfigType<typeof avatarContainerStyle>;
export type AvatarGroupStyleType = StyleConfigType<typeof avatarGroupStyle>;
export type FloatButtonStyleType = StyleConfigType<typeof FloatButtonStyle>;
export type BadgeStyleType = StyleConfigType<typeof BadgeStyle>;
export type TransferStyleType = StyleConfigType<typeof TransferStyle>;
export type CardStyleType = StyleConfigType<typeof CardStyle>;
export type CardHeaderStyleType = StyleConfigType<typeof CardHeaderStyle>;
Expand Down