local Constants = { FormFactor = { Large = 0, Middle = 1, Small = 2, Console = 3, }, Platform = { Desktop = 0, -- MasterRace Tablet = 1, -- Tablet Devices Portrait = 2, -- Phone Portrait Landscape = 3, -- Phone Landscape Console = 4, -- Xbox }, Color = { Black = Color3.fromRGB(0, 0, 0), BaseGray = Color3.fromRGB(30, 30, 30), TextBoxGray = Color3.fromRGB(45, 45, 45), ErrorRed = Color3.fromRGB(215, 90, 74), HighlightBlue = Color3.fromRGB(0, 162, 255), WarningYellow = Color3.fromRGB(255, 218, 68), SelectedBlue = Color3.fromRGB(50, 181, 255), UnselectedGray = Color3.fromRGB(78, 84, 96), TabUnselectedGray = Color3.fromRGB(102, 108, 119), BorderGray = Color3.fromRGB(184, 184, 184), Text = Color3.fromRGB(255, 255, 255), ActiveBox = Color3.fromRGB(63, 198, 121), InactiveBox = Color3.fromRGB(184, 184, 184), }, Icon = { -- These values appear differently because of the discrepancy between design sizes and -- the engine sizes Info = "Info.png", Error = "Error.png", Warning = "Warning.png", Close = "Close.png", Sort = "Sort.png", Search = "Search.png", Maximize = "Maximize.png", Minimize = "Minimize.png", }, Image = { Minimize = "rbxasset://textures/DevConsole/Minimize.png", Maximize = "rbxasset://textures/DevConsole/Maximize.png", Close = "rbxasset://textures/DevConsole/Close.png", Search = "rbxasset://textures/DevConsole/Search.png", Error = "rbxasset://textures/DevConsole/Error.png", Warning = "rbxasset://textures/DevConsole/Warning.png", Info = "rbxasset://textures/DevConsole/Info.png", Check = "rbxasset://textures/ui/LuaChat/icons/ic-check.png", Arrow = "rbxasset://textures/DevConsole/Arrow.png", -- we rotate this for the over effects }, Padding = { WindowPadding = 8, TabRow = 24, LinePadding = 2, MemoryIndent = 24, }, -- the commented numbers here are the font sizes given by the design spec -- they were changed because the sizing did not match the the visuals in the design spec DefaultFontSize = { TopBar = 15, -- 18 TabBar = 16, -- 20 DropDownTabBar = 12, -- 14 UtilBar = 12, -- 18 includes, the clientserver buttons, checkboxes, and the searchbox MainWindowHeader = 8, MainWindow = 10, CommandLine = 10, }, Font = { TopBar = Enum.Font.Arial, TabBar = Enum.Font.Legacy, UtilBar = Enum.Font.Legacy, MainWindow = Enum.Font.Legacy, }, GeneralFormatting = { LineWidth = 1, LineColor = Color3.new(1, 1, 1), ArrowWidth = 8, MainRowPadding = 8, LineGraphHeight = 160, HeaderFrameHeight = 20, EntryFrameHeight = 30, }, TopBarFormatting = { BarTransparency = .64, FrameHeight = 30, }, TabRowFormatting = { TabDropDownWidth = 128, TabDropDownHeight = 28, TabDropDownBorderWidth = 375, FrameHeight = 40, HighlightHeight = 6, SelectedTextTransparency = 0, UnselectedTextTransparency = .5, }, UtilityBarFormatting = { FrameHeight = 30, ClientServerButtonWidth = 100, CheckBoxHeight = 16, }, LogFormatting = { IconHeight = 14, TextFrameHeight = 20, TextFramePadding = 2, CommandLineHeight = 30, CommandLineIndent = 30, }, EnumToMsgTypeName = { [Enum.MessageType.MessageOutput.Value] = "Output", [Enum.MessageType.MessageInfo.Value] = "Information", [Enum.MessageType.MessageWarning.Value] = "Warning", [Enum.MessageType.MessageError.Value] = "Error" }, MsgTypeNamesOrdered = { "Output", "Information", "Warning", "Error" }, MemoryFormatting = { ValueCellWidth = 200, DepthIndent = 24, CellPadding = 24, HeaderFrameHeight = 20, EntryFrameHeight = 30, }, ClientNetworkFormatting = { SummaryHeaderNames = {"RequestType", "RequestCount", "FailedCount", "AvgTime(ms)", "MinTime(ms)", "MaxTime(ms)"}, HttpAnalyticsKeys = {"RequestType", "RequestCount", "FailedCount", "AverageTime", "MinTime", "MaxTime"}, ChartHeaderNames = {"No.", "Method", "Status", "Time(ms).", "RequestType", "URL"}, SummaryCellWidths = {120, 120, 120, 120, 120}, -- width of cells 2-6; cell 1 fills remainder ChartCellWidths = {72, 72, 72, 84, 140}, -- widths of cells 1-5; cell 6 is the filler GraphPadding = 16, BannerFrameHeight = 30, HeaderFrameHeight = 20, EntryFrameHeight = 30, }, ServerScriptsFormatting = { ChartHeaderNames = {"Name", "Activity (%)", "Rate (/s)"}, ChartCellWidths = {200, 200}, -- width of cells 2-3; cell 1 fills remainder HeaderFrameHeight = 20, EntryFrameHeight = 30, CellPadding = 16, ActivityBoxWidth = 12, ActivityBoxPadding = 14, }, DataStoresFormatting = { ChartHeaderNames = {"Name", "Value"}, ValueCellWidth = 200, CellPadding = 16, ExpandArrowPadding = 12, HeaderFrameHeight = 20, EntryFrameHeight = 30, }, ServerStatsFormatting = { ChartHeaderNames = {"Name", "Value"}, ValueCellWidth = 200, CellPadding = 16, ExpandArrowPadding = 12, HeaderFrameHeight = 20, EntryFrameHeight = 30, }, ActionBindingsFormatting = { ChartHeaderNames = {"Name", "Priority", "Security", "Action Name", "Input Types"}, ChartCellWidths = {80, 100, 185, 270}, -- width of cells 2-4; cell 1 fills remainder CellPadding = 16, ExpandArrowPadding = 12, HeaderFrameHeight = 20, EntryFrameHeight = 30, }, ServerJobsFormatting = { ChartHeaderNames = {"Name", "DutyCycle(%)", "Steps Per Sec (/s)", "Step Time (ms)"}, ColumnTransformFunc = { function(point) return point and math.floor(point * 10000000 + 0.5) / 100000 .. "%" or "" end, function(point) return point and (math.floor(point * 10000 + 0.5) / 10000) .. "/s" or "" end, function(point) return point and (math.floor(point * 10000000 + 0.5) / 10000) .. "ms" or ""end }, ValueCellWidth = {200, 200, 200}, -- width of cells 2-4; cell 1 fills remainder CellPadding = 16, ExpandArrowPadding = 12, HeaderFrameHeight = 20, EntryFrameHeight = 30, }, } local function modifyConstantsByPlatform() end modifyConstantsByPlatform() return Constants