Skip to content

Commit c8bae30

Browse files
committed
Add bitbucket, devportal, gitLab, and mcp icons
1 parent f391130 commit c8bae30

5 files changed

Lines changed: 217 additions & 0 deletions

File tree

packages/oxygen-ui-docs/stories/Utils/Icons.stories.tsx

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ import {
114114
Pause,
115115
SkipBack,
116116
SkipForward,
117+
GitLab,
118+
Bitbucket,
119+
MCP,
120+
DevPortal,
117121
} from '@wso2/oxygen-ui-icons-react';
118122

119123
const meta: Meta = {
@@ -158,6 +162,13 @@ const customIconsList: { Icon: React.ComponentType<any>; name: string }[] = icon
158162
return { Icon: iconModules(key)[name], name }
159163
});
160164

165+
const featuredBrandIcons = [
166+
{ Icon: GitLab, name: 'GitLab' },
167+
{ Icon: Bitbucket, name: 'Bitbucket' },
168+
{ Icon: MCP, name: 'MCP' },
169+
{ Icon: DevPortal, name: 'DevPortal' },
170+
];
171+
161172
const iconsList = [
162173
{ Icon: Home, name: 'Home' },
163174
{ Icon: User, name: 'User' },
@@ -258,6 +269,60 @@ const iconsList = [
258269
export const IconGallery: Story = {
259270
render: () => (
260271
<Box>
272+
<Typography variant="h5" gutterBottom>
273+
New Brand Icons
274+
</Typography>
275+
<Typography variant="body2" color="text.secondary" sx={{ mb: 3 }}>
276+
Recently added custom platform icons with theme-aware coloring for light and dark modes.
277+
</Typography>
278+
<Box
279+
sx={{
280+
display: 'grid',
281+
gridTemplateColumns: {
282+
xs: 'repeat(2, 1fr)',
283+
sm: 'repeat(4, 1fr)',
284+
},
285+
gap: 2,
286+
mb: 6,
287+
}}
288+
>
289+
{featuredBrandIcons.map(({ Icon, name }) => (
290+
<Tooltip key={name} title={name} arrow>
291+
<Paper
292+
elevation={0}
293+
sx={{
294+
p: 2,
295+
display: 'flex',
296+
flexDirection: 'column',
297+
alignItems: 'center',
298+
gap: 1,
299+
cursor: 'pointer',
300+
border: '1px solid',
301+
borderColor: 'divider',
302+
transition: 'all 0.2s',
303+
'&:hover': {
304+
borderColor: 'primary.main',
305+
backgroundColor: 'action.hover',
306+
transform: 'translateY(-2px)',
307+
},
308+
}}
309+
>
310+
<Icon size={28} />
311+
<Typography
312+
variant="caption"
313+
align="center"
314+
sx={{
315+
fontSize: '0.75rem',
316+
fontWeight: 600,
317+
}}
318+
>
319+
{name}
320+
</Typography>
321+
</Paper>
322+
</Tooltip>
323+
))}
324+
</Box>
325+
261326
<Typography variant="h5" gutterBottom>
262327
Icons from Lucide Library
263328
</Typography>
Lines changed: 32 additions & 0 deletions
Loading
Lines changed: 42 additions & 0 deletions
Loading
Lines changed: 32 additions & 0 deletions
Loading
Lines changed: 46 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)