Skip to content

Commit

Permalink
docs: minor style refactor (#486)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Documentation**
- Updated the "Getting Started" page layout using new grid components
for better organization.
	- Reorganized content into distinct sections for clarity.
- Enhanced visual presentation with updated styles and layout
adjustments.
	- Changed the background color for improved readability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
aversini authored Apr 13, 2024
1 parent a9c64ea commit 4f4c4e4
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 34 deletions.
2 changes: 1 addition & 1 deletion packages/documentation/.ladle/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
html,
body,
.ladle-background {
background-color: #f9fafb;
background-color: #f0f0f0;
}
}
@media (prefers-color-scheme: dark) {
Expand Down
71 changes: 38 additions & 33 deletions packages/documentation/src/GettingStarted/1-overview.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,40 +42,45 @@ export const Overview: Story<any> = () => (
</div>
</div>

<h2>Features</h2>
<Flexgrid>
<FlexgridItem span={{ fallback: 12, lg: 6 }}>
<h2>Features</h2>

<ul>
<li>
<strong>Strong</strong>: built-in components typing via TypeScript.
</li>
<li>
<strong>Responsive</strong>: built-in responsive components.
</li>
<li>
<strong>Accessible</strong>: built with accessibility in mind from the
start.
</li>
</ul>
<ul>
<li>
<strong>Strong</strong>: built-in components typing via TypeScript.
</li>
<li>
<strong>Responsive</strong>: built-in responsive components.
</li>
<li>
<strong>Accessible</strong>: built with accessibility in mind from
the start.
</li>
</ul>
</FlexgridItem>
<FlexgridItem span={{ fallback: 12, lg: 6 }}>
<h2>Extra</h2>

<h2>Extra</h2>

<ul>
<li>
<strong>TailwindCSS</strong>: built with TailwindCSS, enabling styles
tree-shaking.
</li>
<li>
<strong>Hooks</strong>: provides a set of hooks to use in your
application.
</li>
<li>
<strong>Icons</strong>: provides a set of icons to use in your
application.
</li>
<li>
<strong>Theming</strong>: provides a theming system to customize the
look of the components.
</li>
</ul>
<ul>
<li>
<strong>TailwindCSS</strong>: built with TailwindCSS, enabling
styles tree-shaking.
</li>
<li>
<strong>Hooks</strong>: provides a set of hooks to use in your
application.
</li>
<li>
<strong>Icons</strong>: provides a set of icons to use in your
application.
</li>
<li>
<strong>Theming</strong>: provides a theming system to customize the
look of the components.
</li>
</ul>
</FlexgridItem>
</Flexgrid>
</>
);

0 comments on commit 4f4c4e4

Please sign in to comment.