Skip to content

Commit ed7f6f3

Browse files
committed
extract style
1 parent 45a2281 commit ed7f6f3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/content/branding.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ Double the size of the inner dark blue cube to get an idea how much space the lo
3131

3232
For dark backgrounds, you can use the negative version of the logo:
3333

34-
<div style={{ display: 'block', background: '#111' }}>
34+
export const style = {
35+
display: 'block',
36+
background: '#111',
37+
};
38+
39+
<div style={style}>
3540
<img
3641
src="https://raw.githubusercontent.com/webpack/media/master/logo/logo-on-dark-bg.png"
3742
alt="webpack logo default with proper spacing on light background"

0 commit comments

Comments
 (0)