Constants
This module exposes values that are read from in various components. These can be used to, for example, match the appearance of custom components with components from this library.
warning
The table returned by this module is read-only. It is not a config.
Properties
DefaultFont
Constants.DefaultFont:
Font
The default font for text.
DefaultTextSize
Constants.DefaultTextSize:
number
The default size for text.
DefaultButtonHeight
Constants.DefaultButtonHeight:
number
The default height of buttons.
DefaultToggleHeight
Constants.DefaultToggleHeight:
number
The default height of toggles (Checkbox and RadioButton).
DefaultInputHeight
Constants.DefaultInputHeight:
number
The default height of text and numeric inputs.
DefaultSliderHeight
Constants.DefaultSliderHeight:
number
The default height of sliders.
DefaultDropdownHeight
Constants.DefaultDropdownHeight:
number
The default height of the permanent section of dropdowns.
DefaultDropdownRowHeight
Constants.DefaultDropdownRowHeight:
number
The default height of rows in dropdown lists.
DefaultProgressBarHeight
Constants.DefaultProgressBarHeight:
number
The default height of progress bars.
DefaultColorPickerSize
Constants.DefaultColorPickerSize:
UDim2
The default window size of color pickers.
DefaultNumberSequencePickerSize
Constants.DefaultNumberSequencePickerSize:
UDim2
The default window size of number sequence pickers.
DefaultDatePickerSize
Constants.DefaultDatePickerSize:
UDim2
The default window size of date pickers.