-- Compiled with roblox-ts v3.0.0 local function asSxProps(value) return value end --[[ * * Props-only surface helper. * Use this when you only want host props (including host border props). * It does not create child instances like UICorner/UIStroke/shadow nodes. ]] local function surface(token) return function(theme) repeat if token == "surface" then return asSxProps({ BackgroundColor3 = theme.colors.surface, BorderColor3 = theme.colors.border, BorderSizePixel = 1, }) end if token == "elevated" then return asSxProps({ BackgroundColor3 = theme.colors.surfaceElevated, BorderColor3 = theme.colors.border, BorderSizePixel = 1, }) end if token == "sunken" then return asSxProps({ BackgroundColor3 = theme.colors.background, BorderColor3 = theme.colors.border, BorderSizePixel = 1, }) end if token == "overlay" then return asSxProps({ BackgroundColor3 = theme.colors.overlay, BackgroundTransparency = 0.35, BorderSizePixel = 0, }) end until true end end return { surface = surface, }