/**
* Shadows - Foundation
* Box shadow scale
* @generated 2025-12-12T07:31:15.567325
*/
export default {
title: 'Foundation/Effects/Shadows',
tags: ['autodocs'],
parameters: {
docs: {
description: {
component: 'Box shadow tokens for elevation and depth.'
}
}
}
};
const styles = `
.shadows-grid { display: flex; flex-wrap: wrap; gap: 2rem; padding: 2rem; background: #f9fafb; }
.shadow-card { text-align: center; }
.box { width: 120px; height: 80px; background: white; border-radius: 8px; margin-bottom: 0.5rem; }
.name { font-size: 0.75rem; font-weight: 500; }
.value { font-size: 0.6rem; color: #6b7280; font-family: monospace; max-width: 120px; word-wrap: break-word; }
`;
export const AllShadows = {
render: () => `
xs
0 1px 2px 0 rgba(0, 0, 0, 0.05)
sm
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgb...
default
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgb...
md
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px ...
lg
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4p...
xl
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6...
2xl
0 25px 50px -12px rgba(0, 0, 0, 0.25)
inner
inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)
shadow-xs
0 1px 2px 0 rgba(0, 0, 0, 0.05)
shadow-sm
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgb...
shadow-md
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px ...
shadow-lg
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4p...
shadow-xl
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6...
shadow-2xl
0 25px 50px -12px rgba(0, 0, 0, 0.25)
`
};