This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
plugins: { | |
tailwindcss: {}, | |
autoprefixer: {}, | |
}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], | |
theme: { | |
screens: { | |
xs: "320px", | |
md: "768px", | |
lg: "1024px", | |
xl: "1440px", | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "../src/assets/scss/main.scss"; | |
export const parameters = { | |
actions: { argTypesRegex: "^on[A-Z].*" }, | |
controls: { | |
matchers: { | |
color: /(background|color)$/i, | |
date: /Date$/, | |
}, | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require("path"); | |
module.exports = { | |
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx|mdx)"], | |
/** Expose public folder to storybook as static */ | |
staticDirs: ["../public"], | |
addons: [ | |
"@storybook/addon-links", | |
"@storybook/addon-essentials", | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "storybook-holy-grail", | |
"version": "1.0.0", | |
"main": "index.js", | |
"author": "Muj", | |
"license": "MIT", | |
"devDependencies": { | |
"@babel/core": "^7.20.2", | |
"@storybook/addon-actions": "^6.5.13", | |
"@storybook/addon-essentials": "^6.5.13", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es5", | |
"module": "ES6", | |
"jsx": "react", | |
"outDir": "./dist", | |
"strict": true, | |
"moduleResolution": "node", | |
"esModuleInterop": true, | |
"skipLibCheck": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p { | |
text-align: center; | |
padding: 16px 0; | |
} |
NewerOlder