Skip to content

Commit

Permalink
feat: Overviewを作成
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidetaro7 committed Sep 9, 2021
1 parent 75dfea8 commit 930fbd8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/tailwindcss/overview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const plugin = require("tailwindcss/plugin");
const theme = require("./theme");

module.exports = plugin.withOptions(
() => {
return ({ addComponents, theme }) => {
addComponents([
{
".overview": {},
},
]);
};
},
() => ({ theme })
);
16 changes: 16 additions & 0 deletions packages/tailwindcss/stories/Overview.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default {
title: "Overview/Introduction",
};

const Template = () => {
return `
<div class="introduction prose">
<h1>Overview</h1>
<h2>Repo</h2>
<p>
<a href="https://github.com/tuqulore/tuqulore-ui/">https://github.com/tuqulore/tuqulore-ui/</a>
</p>
</div>
`;
};
export const Default = Template.bind({});

0 comments on commit 930fbd8

Please sign in to comment.