forked from lobehub/dumi-theme-lobehub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { Features, FeaturesProps, Snippet } from '@lobehub/ui'; | ||
import { Palette, Smartphone, Zap } from 'lucide-react'; | ||
import React from 'react'; | ||
import { Center } from 'react-layout-kit'; | ||
|
||
const items: FeaturesProps['items'] = [ | ||
{ | ||
description: | ||
'Based on antd v5, custom algorithms for light and dark themes are provided by default, offering aesthetically pleasing and user-friendly options.', | ||
icon: Palette, | ||
title: 'Themeable', | ||
}, | ||
{ | ||
description: | ||
'This theme package adopts modern design techniques, making the documents more intuitive, readable, and user-friendly.', | ||
icon: Zap, | ||
title: 'Modern', | ||
}, | ||
{ | ||
description: | ||
'Well-adapted for mobile devices. With the flexible style solution based on CSSinJS, multiple layout options are easily implemented.', | ||
icon: Smartphone, | ||
title: 'Mobile-Adapted', | ||
}, | ||
]; | ||
|
||
const Custom = () => { | ||
return ( | ||
<Center gap={32}> | ||
<Center> | ||
<h2 style={{ fontSize: 20 }}>To install dumi-theme-yunti, run the following command:</h2> | ||
<Snippet language={'bash'}>{'$ pnpm add dumi dumi-theme-yunti'}</Snippet> | ||
</Center> | ||
<Features items={items} /> | ||
</Center> | ||
); | ||
}; | ||
|
||
export default Custom; |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.dumi/theme | ||
.dumi/tmp* |