Skip to content

Commit

Permalink
✨ feat: Add AuroraBackground
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Nov 22, 2024
1 parent 56dedca commit dfcc635
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/AuroraBackground/demos/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { AuroraBackground } from '@lobehub/ui';

export default () => <AuroraBackground />;
13 changes: 13 additions & 0 deletions src/AuroraBackground/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
nav: Components
group: Site
title: AuroraBackground
---

## Default

<code src="./demos/index.tsx" nopadding></code>

## APIs

<API></API>
2 changes: 2 additions & 0 deletions src/AuroraBackground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ const useStyles = createStyles(({ isDarkMode, css }) => {
will-change: transform;
max-height: 100vh;
&::after {
${background};
position: absolute;
Expand Down

0 comments on commit dfcc635

Please sign in to comment.