mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-13 11:13:50 +01:00
a26b9c8dcf
Removed the themes buttons that were in the ThemeEditorModal and only left a "Revert to Default" button along with a link to the ThemeBrowser page. Split off the buttons into reusable components since they are now used in two pages. Display the themes in big cards with a zoomable screenshot. Applying the theme now shows a toast with an option to undo the action. The snackbar now allows ReactNode instead of only strings. - Add link with details on how to create a new theme in the game. - Add link to the theme-sharing discord channel. - Add icons to the theme & style buttons in GameOptions - Add "Theme Editor" button to ThemeBrowser - Add "Style Editor" button to ThemeBrowser - Move Styles related files into Themes folder - Includes a modal that shows a bigger version of the screenshot. - Change Snackbar to allow for ReactNode as the message
25 lines
805 B
TypeScript
25 lines
805 B
TypeScript
import React from "react";
|
|
import Typography from "@mui/material/Typography";
|
|
import { Link } from "@mui/material";
|
|
|
|
export function ThemeCollaborate(): React.ReactElement {
|
|
return (
|
|
<>
|
|
<Typography sx={{ my: 1 }}>
|
|
If you've created a theme that you believe should be added in game's theme browser, feel free to{" "}
|
|
<Link href="https://github.com/danielyxie/bitburner/tree/dev/src/Themes/README.md" target="_blank">
|
|
create a pull request
|
|
</Link>
|
|
.
|
|
</Typography>
|
|
<Typography sx={{ my: 1 }}>
|
|
Head over to the{" "}
|
|
<Link href="https://discord.com/channels/415207508303544321/921991895230611466" target="_blank">
|
|
theme-sharing
|
|
</Link>{" "}
|
|
discord channel for more.
|
|
</Typography>
|
|
</>
|
|
);
|
|
}
|