Skip to content

Commit

Permalink
chore: disable bold font
Browse files Browse the repository at this point in the history
  • Loading branch information
Simirall committed Aug 19, 2024
1 parent 6e92729 commit 4be7371
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
25 changes: 24 additions & 1 deletion src/client.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
import { createRoot } from "react-dom/client";

import "@mantine/core/styles.css";
import { createTheme, MantineProvider } from "@mantine/core";
import {
Badge,
Button,
createTheme,
MantineProvider,
Title,
} from "@mantine/core";
import { App } from "./pages/App";

const theme = createTheme({
components: {
Button: Button.extend({
defaultProps: {
fw: "normal",
},
}),
Badge: Badge.extend({
defaultProps: {
fw: "normal",
},
}),
Title: Title.extend({
defaultProps: {
fw: "normal",
},
}),
},
fontFamily: `"Yusei Magic", sans-serif`,
headings: { fontFamily: `"Yusei Magic", sans-serif` },
primaryColor: "lime",
Expand Down
4 changes: 1 addition & 3 deletions src/pages/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { MoonStars, Sun } from "@phosphor-icons/react";
export const Header = () => {
return (
<Group bg="green" justify="space-between" p="md">
<Title fw="normal" c="white">
J∞マダミス部
</Title>
<Title c="white">J∞マダミス部</Title>
<ColorModeToggle />
</Group>
);
Expand Down
8 changes: 2 additions & 6 deletions src/pages/components/MadamisList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,10 @@ export const MadamisList = () => {
/>
</Group>
<Group>
<Badge
size="xl"
color={d.gmRequired ? "orange" : "cyan"}
fw="normal"
>
<Badge size="xl" color={d.gmRequired ? "orange" : "cyan"}>
GM: {d.gmRequired ? "要" : "レス可"}
</Badge>
<Badge size="xl" color="violet" fw="normal">
<Badge size="xl" color="violet">
PL: {d.player}
</Badge>
<ActionIcon size="lg" radius="xl" variant="light">
Expand Down

0 comments on commit 4be7371

Please sign in to comment.