Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "manthemes", | ||
"version": "1.0.0", | ||
"description": "List of my made themes!", | ||
"version": "1.0.1", | ||
"description": "Mantine made themes.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [ | ||
@@ -14,4 +11,15 @@ "mantine", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Johnsiras/manthemes.git" | ||
}, | ||
"homepage": "https://github.com/Johnsiras/manthemes#readme", | ||
"bugs": { | ||
"url": "https://github.com/Johnsiras/manthemes/issues" | ||
}, | ||
"author": "johnsiras", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"devDependencies": { | ||
"typescript": "^4.7.2" | ||
} | ||
} |
@@ -5,2 +5,27 @@ # ManThemes | ||
## Usage | ||
To get started import the `getTheme` from the package and put the function to the themeProvider | ||
and specify a type and a theme. | ||
```tsx | ||
import { getTheme } from "manthemes"; | ||
<MantineProvider theme={getTheme("daisyui", "dark")} withNormalizeCSS> | ||
{/* The children here */} | ||
</MantineProvider>; | ||
``` | ||
or | ||
```jsx | ||
const getTheme = require("manthemes"); | ||
<MantineProvider theme={getTheme("daisyui", "dark")} withNormalizeCSS> | ||
{/* The children here */} | ||
</MantineProvider>; | ||
``` | ||
and you're done! | ||
**Note:** This is still in progress. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
13038
15
534
0
0
31
0
1
1