Skip to main content

componentSpacing

Stock Screening Platform - Frontend API v0.1.0


Stock Screening Platform - Frontend API / config/theme / componentSpacing

Variable: componentSpacing

const componentSpacing: object

Defined in: src/config/theme.ts:112

Component spacing presets

Standardized padding/margin for compact layout

Type Declaration

widget

readonly widget: "p-4" = 'p-4'

Widget/Card padding Reduced from p-6 (24px) to p-4 (16px)

cardStack

readonly cardStack: "space-y-3" = 'space-y-3'

Card internal spacing Reduced from space-y-6 to space-y-3

tableCell

readonly tableCell: "px-3 py-2" = 'px-3 py-2'

Table cell padding Reduced from px-4 py-3 to px-3 py-2

tableRow

readonly tableRow: "h-9" = 'h-9'

Table row height Reduced from h-12 (48px) to h-9 (36px)