Skip to content

Commit

Permalink
Add public-samples/refunds-wyx7mz/src/web/src/themes/breakpoints.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
asharkov-briklabs committed Mar 4, 2025
1 parent c1382ad commit c4f3d2e
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions src/web/src/themes/breakpoints.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/**
* Breakpoints for responsive design
*
* These values define the standard breakpoint widths used throughout the application
* for consistent responsive behavior across both Pike (merchant) and Barracuda (admin)
* interfaces.
*
* Usage example:
* ```
* import breakpoints from 'themes/breakpoints';
*
* // In styled-components
* const Container = styled.div`
* @media (min-width: ${breakpoints.tablet}px) {
* display: flex;
* }
* `;
* ```
*/

const breakpoints = {
/**
* Mobile breakpoint
* Designed for small screens (smartphones)
* Supports essential functions with focus on monitoring and approvals
*/
mobile: 480,

/**
* Tablet breakpoint
* Optimized layout with preserved functionality but streamlined navigation
*/
tablet: 768,

/**
* Standard desktop breakpoint
* Full-featured interface with comprehensive dashboards and controls
*/
desktop: 1024,

/**
* Large desktop breakpoint
* Enhanced interface for large screens with expanded viewing area
*/
largeDesktop: 1440,
};

export default breakpoints;

0 comments on commit c4f3d2e

Please sign in to comment.