File tree 1 file changed +21
-0
lines changed
packages/components/src/logos/jetpack-logo/stories
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,23 @@ import type { Meta, StoryObj } from '@storybook/react';
4
4
const meta : Meta < typeof JetpackLogo > = {
5
5
title : 'Unaudited/Logos/JetpackLogo' ,
6
6
component : JetpackLogo ,
7
+ decorators : [
8
+ ( Story , { args } ) => (
9
+ < div
10
+ style = { {
11
+ backgroundColor : args . theme === 'dark' ? '#000' : '#fff' ,
12
+ color : args . theme === 'dark' ? '#fff' : '#000' ,
13
+ minHeight : '100px' ,
14
+ padding : '1rem' ,
15
+ display : 'flex' ,
16
+ alignItems : 'center' ,
17
+ justifyContent : 'center' ,
18
+ } }
19
+ >
20
+ < Story />
21
+ </ div >
22
+ ) ,
23
+ ] ,
7
24
} ;
8
25
export default meta ;
9
26
@@ -17,6 +34,10 @@ export const Full: Story = {
17
34
} ,
18
35
} ;
19
36
37
+ /**
38
+ * The monochrome version uses the same color as the inherited text color,
39
+ * and uses a mask for the triangles in the logo (instead of a fill).
40
+ */
20
41
export const Monochrome : Story = {
21
42
args : {
22
43
monochrome : true ,
You can’t perform that action at this time.
0 commit comments