@oceanum/theme
v9.1.4
Published
Oceanum Mantine theme for Oceanum.io applications
Readme
@oceanum/theme
Mantine theme for Oceanum.io applications.
Installation
npm install @oceanum/themeUsage
import { MantineProvider } from "@mantine/core";
import { theme } from "@oceanum/theme";
function App() {
return (
<MantineProvider theme={theme}>
{/* Your app */}
</MantineProvider>
);
}Colors
The theme includes two custom color palettes:
oceanumPrimary- Primary ocean blue colorsoceanumSecondary- Secondary accent colors
You can also import the color values directly:
import { colors } from "@oceanum/theme";
// Use colors outside Mantine context
const myColor = colors.oceanumPrimary[500]; // "#179ec3"Development
npm install
npm run buildShowcase
Run the showcase app to see all theme components:
cd examples/showcase
npm install
npm run devVersion numbering
The version numbering follows the pattern MAJOR.MINOR.PATCH where:
MAJORis incremented when there are breaking changesMINORis incremented when there are new features or improvementsPATCHis incremented when there are bug fixes
The MAJOR version is tied to the Mantine version, so when Mantine is updated, the MAJOR version is incremented.
