Skip to content

Commit

Permalink
Update storybook config + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JonahPlusPlus committed Nov 13, 2024
1 parent 5d7d7e6 commit 65e69f3
Show file tree
Hide file tree
Showing 9 changed files with 1,951 additions and 3,699 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function getAbsolutePath(value: string): any {
return dirname(require.resolve(join(value, "package.json")));
}
const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: ["../src/index.mdx", "../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
getAbsolutePath("@storybook/addon-essentials"),
getAbsolutePath("@chromatic-com/storybook"),
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
![Solid Effect Logo](./assets/logov2.svg)
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./assets/logo-dark.svg">
<img alt="solid-effect logo" width="200" src="./assets/logo-light.svg">
</picture>
</p>

# Solid Effect

Expand Down
25 changes: 25 additions & 0 deletions assets/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 0 additions & 30 deletions assets/logov2.svg → assets/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions assets/logov1.svg

This file was deleted.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@
"fix:format": "prettier . --write",
"fix:lint": "eslint . --fix",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"chromatic": "npx chromatic"
},
"sideEffects": false,
"keywords": [
"solid",
"solidjs",
"effect"
],
"author": "JonahPlusPlus",
"author": {
"name": "JonahPlusPlus"
},
"license": "(MIT OR Apache-2.0)",
"engines": {
"pnpm": ">=9"
Expand All @@ -36,6 +39,7 @@
"@storybook/test": "8.5.0-alpha.2",
"@testing-library/jest-dom": "^6.6.2",
"@types/node": "^22.8.6",
"chromatic": "^11.18.1",
"eslint": "^9.14.0",
"globals": "^15.12.0",
"prettier": "^3.3.3",
Expand Down
Loading

0 comments on commit 65e69f3

Please sign in to comment.