repo stringclasses 341
values | file_path stringlengths 29 173 | language stringclasses 2
values | file_type stringclasses 4
values | code stringlengths 2 1.66M | tokens int64 2 598k |
|---|---|---|---|---|---|
YetAnotherClown/YetAnotherNet | YetAnotherClown-YetAnotherNet-a8f8f7e/lib/serdes/datatypes/userdata/Vector3.luau | luau | .luau | --!native
local BUFFER_SIZE = 12
local function serialize(vector: Vector3): buffer
local _buffer = buffer.create(BUFFER_SIZE)
buffer.writef32(_buffer, 0, vector.X)
buffer.writef32(_buffer, 4, vector.Y)
buffer.writef32(_buffer, 8, vector.Z)
return _buffer
end
local function deserialize(_buffer: buffer): Vector3... | 161 |
YetAnotherClown/YetAnotherNet | YetAnotherClown-YetAnotherNet-a8f8f7e/lib/serdes/datatypes/userdata/Vector3int16.luau | luau | .luau | --!native
local BUFFER_SIZE = 6
local function serialize(vector: Vector3int16): buffer
local _buffer = buffer.create(BUFFER_SIZE)
buffer.writei16(_buffer, 0, vector.X)
buffer.writei16(_buffer, 2, vector.Y)
buffer.writei16(_buffer, 4, vector.Z)
return _buffer
end
local function deserialize(_buffer: buffer): Vec... | 167 |
YetAnotherClown/YetAnotherNet | YetAnotherClown-YetAnotherNet-a8f8f7e/lib/serdes/init.luau | luau | .luau | local array = require("@serdes/datatypes/custom/array")
local dictionary = require("@serdes/datatypes/custom/dictionary")
local boolean = require("@serdes/datatypes/primitive/boolean")
local number = require("@serdes/datatypes/primitive/number")
local _string = require("@serdes/datatypes/primitive/string")
local Bric... | 470 |
YetAnotherClown/YetAnotherNet | YetAnotherClown-YetAnotherNet-a8f8f7e/tests/jest.config.luau | luau | .luau | local Workspace = script.Parent
-- In case we need to specify a custom testSetupFile for a project, we need to do that in in a separate jest.config.lua file that's in the project's root folder.
-- Therefore we specify the project here and provide it to the "projects" field in this config file.
-- We also need to add t... | 209 |
YetAnotherClown/YetAnotherNet | YetAnotherClown-YetAnotherNet-a8f8f7e/tests/startJest.server.luau | luau | .luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Jest = require("@dev-packages/Jest")
Jest.runCLI(
script,
{
testPathPattern = { "\\.test$" },
testPathIgnorePatterns = { "DevPackages" },
verbose = true,
} :: any,
{
ReplicatedStorage,
}
):await()
| 79 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/Tests/Demo.client.luau | luau | .luau | -- 7kayoh
-- Demo.lua
-- 07 February 2022
-- Tests out every UI component in the library
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer.PlayerGui
local Packages = ReplicatedStorage.Package... | 1,921 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/AppBarButton.luau | luau | .luau | -- 7kayoh
-- AppBarButton.lua
-- 20 February 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Icons = require(Modules.Icons)
local Scheme = require(Modules.Scheme)
local IconButton = require(Components.Controls.IconButton)
return function(props)
return IconButton({
_ico... | 162 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/AppTabBarButton.luau | luau | .luau | -- 7kayoh
-- AppTabBarButton.lua
-- 21 February 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Constants = require(Modules.Constants)
local Icons = require(Modules.Icons)
local Scheme = require(Mo... | 373 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/BaseButton.luau | luau | .luau | -- 7kayoh
-- TextButton.lua
-- 10 February 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Constants = require(Modules.Constants)
local Scheme = require(Modules.Scheme)
local Children = Fusion.Chi... | 571 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/Checkbox.luau | luau | .luau | -- 7kayoh
-- Checkbox.lua
-- 24 March 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Icons = require(Modules.Icons)
local Scheme = require(Modules.Scheme)
local BaseButton = require(Components.Con... | 437 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/ColorPicker.luau | luau | .luau | -- 7kayoh
-- ColorPicker.lua
-- 24 Apr 2024
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Slider = require(Components.Controls.Slider)
local Constants = require(Modules.Constants)
local Scheme = requi... | 1,060 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/IconButton.luau | luau | .luau | -- 7kayoh
-- IconButton.lua
-- 17 March 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Scheme = require(Modules.Scheme)
local BaseButton = require(Components.Controls.BaseButton)
local New = Fus... | 254 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/IconTextButton.luau | luau | .luau | -- 7kayoh
-- IconTextButton.lua
-- 17 March 2022
local TextService = game:GetService("TextService")
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Scheme = require(Modules.Scheme)
local BaseButton = re... | 490 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/Slider.luau | luau | .luau | -- 7kayoh
-- Slider.lua
-- 2 Apr 2022
local UserInputService = game:GetService("UserInputService")
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Scheme = require(Modules.Scheme)
local Constants = req... | 943 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/TextButton.luau | luau | .luau | -- 7kayoh
-- TextButton.lua
-- 17 March 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Scheme = require(Modules.Scheme)
local BaseButton = require(Components.Controls.BaseButton)
local New = Fusi... | 225 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/TextField.luau | luau | .luau | local TextService = game:GetService("TextService")
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Constants = require(Modules.Constants)
local Scheme = require(Modules.Scheme)
local Children = Fusion.C... | 1,217 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Controls/Toggle.luau | luau | .luau | -- 7kayoh
-- Toggle.lua
-- 18 February 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Constants = require(Modules.Constants)
local Scheme = require(Modules.Scheme)
local BaseButton = require(Compo... | 544 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Divider.luau | luau | .luau | -- 7kayoh
-- Divider.lua
-- 03 February 2022
--[[
Divider {
AnchorPoint: Vector2?,
Size: UDim2?,
Position: UDim2?,
ZIndex: number?
} -> Frame
--]]
local Components = script.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require... | 211 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Views/AppTabBar.luau | luau | .luau | -- 7kayoh
-- BottomAppTabBar.lua
-- 21 February 2022
local Components = script.Parent.Parent
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Children = Fusion.Children
local New = Fusion.New
return function(props)
return New("Frame")({
BackgroundTransparency = 1,
ZIndex = prop... | 173 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Views/BottomAppBar.luau | luau | .luau | -- 7kayoh
-- BottomAppBar.lua
-- 07 February 2022
--[[
BottomAppBar {
ZIndex: number?,
[Fusion.Children]: {Instances}
} -> Frame
--]]
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion... | 329 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Views/ToolTip.luau | luau | .luau | -- 7kayoh
-- ToolTip.lua
-- 4 April 2022
local Components = script.Parent.Parent
local Modules = Components.Parent.Modules
local Lydie = Components.Parent
local Fusion = require(Lydie.Parent.Fusion)
local Constants = require(Modules.Constants)
local Scheme = require(Modules.Scheme)
local Shadow = require(Components.S... | 658 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Views/TopAppBar.luau | luau | .luau | -- 7kayoh
-- TopAppbar.lua
-- 03 February 2022
--[[
TopAppBar {
Icon: Value<string>|string,
Title: Value<string>|string,
Subtitle: Value<string>|string,
ZIndex: number?,
[Fusion.Children]: {Instances}
} -> Frame
--]]
local Components = script.Parent.Parent
local Modu... | 1,051 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/Views/Window.luau | luau | .luau | -- 7kayoh
-- Window.lua
-- 03 February 2022
--[[
Window {
Size: Value<UDim2>|UDim2?,
Position: Value<UDim2>|UDim2?,
ZIndex: Value<number>|number?,
Visible: Value<boolean>|boolean?,
[Fusion.Children]: {Instances}
} -> Frame
--]]
local Components = script.Parent.Parent
local... | 494 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Components/init.luau | luau | .luau | return {
Controls = {
AppBarButton = require(script.Controls.AppBarButton),
AppTabBarButton = require(script.Controls.AppTabBarButton),
BaseButton = require(script.Controls.BaseButton),
Checkbox = require(script.Controls.Checkbox),
ColorPicker = require(script.Controls.ColorP... | 196 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/Constants.luau | luau | .luau | local EnumList = require(script.Parent.EnumList)
local rect256 = Rect.new(Vector2.new(256, 256), Vector2.new(256, 256))
return {
BottomRounded = EnumList.new("BottomRounded", {
Center = rect256,
Id = "rbxassetid://8858987793",
}),
Rounded = EnumList.new("Rounded", {
Center = rect256,
Id = "rbxassetid://88... | 316 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/EnumList.luau | luau | .luau | -- bubba_biga
-- EnumList.lua
-- 17 January 2022
--[[
EnumList.new(name: string, enumTable: table {[string]: any}) --> Enum
EnumList.IsA(self: any) --> boolean
EnumList.GetEnums() --> table
[EnumList instance only]:
EnumList:IsEnumItem(enumItem: any) --> boolean
EnumList:GetEnumItems() --> table {[string]: an... | 431 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/Scheme/Schemes/Dark.luau | luau | .luau | -- 7kayoh
-- Dark.lua
-- 03 February 2022
return {
Elevation = {
Color3.fromRGB(0, 0, 0),
Color3.fromRGB(20, 20, 20),
Color3.fromRGB(25, 25, 25),
Color3.fromRGB(30, 30, 30),
},
Typography = {
HeroLarge = { Font = Enum.Font.GothamBold, Size = 28 },
Hero = { Font = Enum.Font.GothamMedium, Size = 25 },
He... | 629 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/Scheme/Schemes/Light.luau | luau | .luau | -- 7kayoh
-- Light.lua
-- 03 February 2022
return {
Elevation = {
Color3.fromRGB(200, 200, 200),
Color3.fromRGB(245, 245, 245),
Color3.fromRGB(250, 250, 255),
Color3.fromRGB(255, 255, 255),
},
Typography = {
HeroLarge = { Font = Enum.Font.GothamBold, Size = 28 },
Hero = { Font = Enum.Font.GothamMedium, S... | 629 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/Scheme/Schemes/SolarizedDark.luau | luau | .luau | -- 7kayoh
-- SolarizedDark.lua
-- 03 February 2022
return {
Elevation = {
Color3.fromHex("002b36"),
Color3.fromHex("002b36"),
Color3.fromHex("073642"),
Color3.fromHex("073642"),
},
Typography = {
HeroLarge = { Font = Enum.Font.Ubuntu, Size = 28 },
Hero = { Font = Enum.Font.Ubuntu, Size = 25 },
Header =... | 568 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/Scheme/init.luau | luau | .luau | -- bubba_biga
-- Scheme.lua
-- 03 February 2022
--[[
Scheme.Schemes: EnumList
Scheme.Current: string
Scheme.Switch(enumScheme: string) --> void
]]
-- :( why wally
local Scheme = {} :: {
Switch: (string) -> (),
SetAccent: (Color3|Fusion.Value<Color3>) -> (),
_updateScheme: ({ any }, { any }) -> (),
_... | 582 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/SharedStates.luau | luau | .luau | -- SharedStates.lua
-- 09 February 2022
return {}
| 15 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/Modules/init.luau | luau | .luau | return {
Scheme = require(script.Scheme),
Constants = require(script.Constants),
EnumList = require(script.EnumList),
Icons = require(script.Icons),
SharedStates = require(script.SharedStates)
} | 43 |
7kayoh/Lydie | 7kayoh-Lydie-f45aead/src/init.luau | luau | .luau | return {
Components = require(script.Components),
Modules = require(script.Modules),
} | 18 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/CPTest/CPTest.server.luau | luau | .luau | --!strict
-- Plugin that exposes the ColorPane API script for testing
local ColorPane = script.Parent.ColorPane
require(ColorPane)(plugin, "CPTester")
local APIScript = ColorPane.API
APIScript.Parent = game:GetService("Workspace")
APIScript.Archivable = false
plugin.Unloading:Connect(function()
APIScript:Destroy... | 80 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/API.luau | luau | .luau | --!strict
--[[
The ColorPane API.
Please refer to the documentation for the available API
members.
]]
local root = script.Parent
local Common = root.Common
local CommonModules = Common.Modules
local CommonEnums = require(CommonModules.Enums)
local Constants = require(CommonModules.Constants)
local Pl... | 4,616 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ButtonBar.luau | luau | .luau | -- A container for multiple buttons, where one button is selected at a time
local Common = script.Parent.Parent.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Cryo = require(CommonIncludes.Cryo)
local Roact = require(CommonIncludes.... | 1,446 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorBrewerPalettes.luau | luau | .luau | -- Palette page for ColorBrewer palettes
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color)... | 1,388 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorEditor.luau | luau | .luau | -- The entire color editor interface
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color).Co... | 4,010 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorGrids.luau | luau | .luau | -- A grid of colors
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Roact = require(CommonIncludes.RoactRodux.Roact)
local CommonComponents = Common.Components
local Button = req... | 1,739 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorInfo.luau | luau | .luau | -- A page containing information in different formats about a color
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = re... | 3,043 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorSorter.luau | luau | .luau | -- A page for sorting colors based on their ΔE* to another color
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = requi... | 1,478 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorToolPages.luau | luau | .luau | --[[
A Pages container for the Color Information, Color Sorter,
Color Variations, and Gradient Pickers pages
]]
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local R... | 505 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorVariations.luau | luau | .luau | -- A page showing variations of a color
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color).... | 1,301 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorWheel.luau | luau | .luau | --[[
A color picker containing a hue ring and saturation-value plane
with color harmony guides
]]
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Color = require(CommonInc... | 4,335 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ExportPalette.luau | luau | .luau | -- A page for exporting a palette
local HttpService = game:GetService("HttpService")
local Selection = game:GetService("Selection")
local ServerStorage = game:GetService("ServerStorage")
---
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(Commo... | 2,054 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/FirstTimeSetup.luau | luau | .luau | -- An informational page shown when launching ColorPane for the first time
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Roa... | 706 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/GradientEditor.luau | luau | .luau | -- The entire gradient editor interface
local TextService = game:GetService("TextService")
---
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local CommonEnums = require(CommonModules.Enums)
local Constants = require(CommonModules.Constants)
local Style = require(C... | 8,641 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/GradientInfo.luau | luau | .luau | -- A page showing the editing metadata for a gradient
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Constants = require(CommonModules.Constants)
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonInclud... | 3,275 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/GradientPalette.luau | luau | .luau | -- A page showing a palette of gradients
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Gradient = require(CommonIncludes.Col... | 3,860 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/GradientPickers.luau | luau | .luau | -- A page for picking colors from gradients
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Gradient = require(CommonIncludes.Color).Gradient
local Roact = require(CommonIncludes.... | 1,812 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/GreyscaleSliderPage.luau | luau | .luau | -- RGB slider page for monochrome colors
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color)... | 991 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/NamePalette.luau | luau | .luau | -- Palette naming dialog page
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Roact = require(CommonIncludes.RoactRodux.Roact)... | 1,561 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/Pages.luau | luau | .luau | --[[
A container for multiple pages which can be selected with a dropdown,
and also contains a button for showing page options
]]
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes... | 515 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/Palette.luau | luau | .luau | -- A color palette
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color).Color
local Roact = r... | 2,131 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/PaletteColorGrid.luau | luau | .luau | -- A color palette where the colors are shown in a grid
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Roact = require(Common... | 1,219 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/PaletteColorList.luau | luau | .luau | -- A color palette where the colors are shown in a list
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Roact = require(CommonIncludes.RoactRodux.Roact)
local CommonComponents = ... | 2,095 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/PalettePages.luau | luau | .luau | -- A Pages container for all the built-in and user palettes
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local CommonEnums = require(CommonModules.Enums)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Cryo = requir... | 2,221 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/RemovePalette.luau | luau | .luau | -- A dialog for removing a palette
local TextService = game:GetService("TextService")
---
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.I... | 1,252 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/Selection.luau | luau | .luau | -- A selection button and list
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Roact = require(CommonIncludes.RoactRodux.Roact)
local CommonComponents = Common.Components
local B... | 2,540 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/SimpleList.luau | luau | .luau | -- A simple list of elements
local Common = script.Parent.Parent.Common
local CommonIncludes = Common.Includes
local Roact = require(CommonIncludes.RoactRodux.Roact)
local CommonComponents = Common.Components
local ConnectTheme = require(CommonComponents.ConnectTheme)
local StandardComponents = CommonComponents.Sta... | 1,077 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/Slider.luau | luau | .luau | -- A customisable numeric slider
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Roact = require(CommonIncludes.RoactRodux.Roact)
local CommonComponents = Common.Components
local... | 2,025 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/SliderPage.luau | luau | .luau | -- A generic color slider page
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color).Color
local Roact = require(CommonIncludes.RoactRodux.Roact)
... | 1,756 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/SliderPages.luau | luau | .luau | -- A Pages container for various color sliders in various color spaces
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Translator = require(CommonModules.Translator)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color).Color
local ... | 2,586 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Components/TemperatureSliderPage.luau | luau | .luau | -- A color slider page for black-body color temperatures
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Constants = require(CommonModules.Constants)
local Style = require(CommonModules.Style)
local Translator = require(CommonModules.Translator)
local CommonInc... | 1,989 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/APITypeValidators.luau | luau | .luau | --!strict
-- Run-time validators for API call parameters
local root = script.Parent.Parent
local CommonIncludes = root.Common.Includes
local ColorLib = require(CommonIncludes.Color)
local t = require(CommonIncludes.t)
local Color = ColorLib.Color
local Gradient = ColorLib.Gradient
---
local APITypeValidators = {}
... | 489 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/BuiltInGradients.luau | luau | .luau | -- A list of built-in gradients
local root = script.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color).Color
local CommonModules = Common.Modules
local Constants = require(CommonModules.Constants)
local Translator = require(CommonModules.Transl... | 551 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/BuiltInPalettes/BrickColors.luau | luau | .luau | -- A palette of the available brick colors
local brickColorsPalette = {
name = "BrickColors",
colors = {}
}
for i = 1, 1032 do
local brickColor = BrickColor.new(i)
-- BrickColors that don't exist default to #194
if ((brickColor.Number ~= 194) or (i == 194)) then
local color = brickColor.C... | 139 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/BuiltInPalettes/ColorBrewer/init.luau | luau | .luau | -- A list of the ColorBrewer palettes and their colors
return {
Accent = {
type = "Qualitative",
colorSets = {
[3] = { {127, 201, 127}, {190, 174, 212}, {253, 192, 134}, },
[4] = { {127, 201, 127}, {190, 174, 212}, {253, 192, 134}, {255, 255, 153}, },
[5] = { {12... | 19,117 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/BuiltInPalettes/WebColors.luau | luau | .luau | --[[
A palette of the web colors
Named colors from CSS Color Module Level 4
https://www.w3.org/TR/2020/WD-css-color-4-20201112/#named-colors
--]]
return {
name = "Web Colors",
colors = {
{
keywords = {"aliceblue"},
name = "Alice Blue",
color = {240,... | 4,384 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/EditorInputSignals.luau | luau | .luau | --!strict
-- Provides a common set of signals for editor mouse input
local root = script.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Signal = require(CommonIncludes.Signal)
---
local colorEditorInputBeganSignal: Signal.Signal<InputObject>,
fireColorEditorInputBegan: Sig... | 299 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/Enums.luau | luau | .luau | --!strict
-- Provides enum types
return {
StoreActionType = {
SetTheme = "SetTheme",
UpstreamAvailabilityChanged = "UpstreamAvailabilityChanged",
UpdateSessionData = "UpdateSessionData",
UpdateUserData = "UpdateUserData",
ColorEditor_SetColor = "ColorEditor_SetColor",
... | 576 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/ManagedUserData.luau | luau | .luau | --!strict
local root = script.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Signal = require(CommonIncludes.Signal)
local CommonModules = Common.Modules
local ColorPaneUserDataDefaultValues = require(CommonModules.ColorPaneUserDataDefaultValues)
local ColorPaneUserDataFactory ... | 820 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/ProjectId.luau | luau | .luau | --!strict
-- Provides the project ID
local HttpService: HttpService = game:GetService("HttpService")
---
local id: string? = nil
--[[
Provides the project ID.
If called with an ID, it will be stored for future use.
If an ID has already been stored, the function will throw an error.
If called w... | 232 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/RepeatingCallback.luau | luau | .luau | --!strict
-- Wrapper for making a callback repeat multiple times
local HttpService: HttpService = game:GetService("HttpService")
local RunService: RunService = game:GetService("RunService")
---
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local PluginProvider = r... | 704 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/Store.luau | luau | .luau | --!strict
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local CommonEnums = require(CommonModules.Enums)
local PluginProvider = require(CommonModules.PluginProvider)
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color).Color
local Rodu... | 1,141 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/StoreReducers/ColorEditorReducers.luau | luau | .luau | --!strict
local root = script.Parent.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Cryo = require(CommonIncludes.Cryo)
local Modules = root.Modules
local Enums = require(Modules.Enums)
local Types = require(Modules.Types)
local Util = require(Modules.Util)
---
type table = T... | 2,653 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/StoreReducers/GradientEditorReducers.luau | luau | .luau | --!strict
local root = script.Parent.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Cryo = require(CommonIncludes.Cryo)
local Modules = root.Modules
local Enums = require(Modules.Enums)
local Types = require(Modules.Types)
local Util = require(Modules.Util)
---
type table = T... | 3,031 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/StoreReducers/init.luau | luau | .luau | --!strict
local root = script.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Cryo = require(CommonIncludes.Cryo)
local Modules = root.Modules
local Enums = require(Modules.Enums)
local Types = require(Modules.Types)
local Util = require(Modules.Util)
local ColorEditorReducers ... | 617 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/Types.luau | luau | .luau | --!strict
-- Common Luau types used in ColorPane
local root = script.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Color = require(CommonIncludes.Color)
---
export type table = {[any]: any}
export type Color = Color.Color
export type Gradient = Color.Gradient
export type Colo... | 335 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/UpstreamUserData.luau | luau | .luau | --!strict
local StudioService: StudioService = game:GetService("StudioService")
---
local root = script.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local Signal = require(CommonIncludes.Signal)
local CommonModules = Common.Modules
local CommonConstants = require(CommonModules.Co... | 1,202 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/Util.luau | luau | .luau | --!strict
local root = script.Parent.Parent
local Common = root.Common
local CommonIncludes = Common.Includes
local ColorLib = require(CommonIncludes.Color)
local CommonModules = Common.Modules
local CommonUtil = require(CommonModules.Util)
local ColorPaneUserDataValidators = require(CommonModules.ColorPaneUserDataV... | 1,668 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/Modules/WidgetInfo.luau | luau | .luau | --!strict
-- Holds information for the common plugin widgets
local root = script.Parent.Parent
local Common = root.Common
local CommonModules = Common.Modules
local Style = require(CommonModules.Style)
local Modules = script.Parent
local ProjectId = require(Modules.ProjectId)
---
local PROJECT_ID: string = Project... | 570 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/ColorPane/init.luau | luau | .luau | --!strict
--[[
v0.5.0
ColorPane is a suite of color tools for Roblox Studio projects.
Learn more here: https://devforum.roblox.com/t/1106112
Please refer to the documentation for integrating these tools.
]]
local PluginProvider = require(script.Common.Modules.PluginProvider)
local ProjectId = require... | 243 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/Button.luau | luau | .luau | -- A button that can display multiple types of content
local root = script.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Cryo = require(Includes.Cryo)
local Roact = require(Includes.RoactRodux.Roact)
local Components = root.Components
local Conn... | 1,157 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/Checkbox.luau | luau | .luau | -- A checkbox
local root = script.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
local Components = root.Components
local ConnectTheme = require(Components.ConnectTheme)
local StandardComponents = Compo... | 1,032 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/ConnectTheme.luau | luau | .luau | -- Allows components to use theme coloring
-- This is a (higher-order) component, so it should stay in the Components folder
local RoactRodux = require(script.Parent.Parent.Includes.RoactRodux.RoactRodux)
---
return RoactRodux.connect(function(state)
return {
theme = state.theme,
}
end) | 73 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/ExportText.luau | luau | .luau | -- Component that presents text to be copied
local TextService = game:GetService("TextService")
---
local root = script.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
local Components = root.Components... | 1,189 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/Prompt.luau | luau | .luau | -- A prompt to take (or avoid) an action
local root = script.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
local Components = root.Components
local Button = require(Components.Button)
local ConnectTheme... | 804 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/RadioButtonGroup.luau | luau | .luau | -- An group of radio buttons, where only one radio button can be selected at a time
local root = script.Parent.Parent
local Components = root.Components
local ConnectTheme = require(Components.ConnectTheme)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
local Modules = root.Modules
... | 961 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/StandardComponents/ScrollingFrame.luau | luau | .luau | -- Standard ScrollingFrame component with theme coloring
local root = script.Parent.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
local Components = root.Components
local ConnectTheme = require(Componen... | 477 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/StandardComponents/TextLabel.luau | luau | .luau | -- Standard TextLabel component with theme coloring
local root = script.Parent.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
local Components = root.Components
local ConnectTheme = require(Components.Co... | 438 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/StandardComponents/UICorner.luau | luau | .luau | --[[
UICorner component that can either be round
or use the standard style corner radius
]]
local root = script.Parent.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
---
--[[
props
c... | 168 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/StandardComponents/UIListLayout.luau | luau | .luau | -- Standard UIListLayout component with layout information presets
local root = script.Parent.Parent.Parent
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
---
--[[
props
Padding?
FillDirection? = Enum.FillDirection.Vertical
HorizontalAlignment? = Enum.Hor... | 437 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/StandardComponents/UIPadding.luau | luau | .luau | -- UIPadding component where the paddings are specified in an array
local root = script.Parent.Parent.Parent
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
---
--[[
props
paddings: array<number>
Notes
The paddings array must contain either 1, 2, or ... | 473 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Components/TextInput.luau | luau | .luau | -- A text input with validation capability
local root = script.Parent.Parent
local Modules = root.Modules
local Style = require(Modules.Style)
local Includes = root.Includes
local Roact = require(Includes.RoactRodux.Roact)
local Components = root.Components
local ConnectTheme = require(Components.ConnectTheme)
loc... | 1,606 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Modules/ColorPaneUserDataDefaultValues.luau | luau | .luau | --!strict
--[[
Provides the default user data values for ColorPane user data.
]]
local Modules = script.Parent
local Types = require(Modules.Types)
---
return {
SnapValue = 0.001,
UserColorPalettes = {},
UserGradientPalettes = {},
AskNameBeforePaletteCreation = true,
}::Types.ColorPaneUserData | 75 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Modules/ColorPaneUserDataDiffs.luau | luau | .luau | --!strict
--[[
Functions for comparing ColorPane user data values.
]]
local Modules = script.Parent
local Types = require(Modules.Types)
---
type ColorPalettes = Types.ColorPalettes
type GradientPalettes = Types.GradientPalettes
type ColorPaneUserData = Types.ColorPaneUserData
--[[
Functions for comparing u... | 1,044 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Modules/ColorPaneUserDataFactory.luau | luau | .luau | --!strict
local root = script.Parent.Parent
local Modules = root.Modules
local ColorPaneUserDataDiffs = require(Modules.ColorPaneUserDataDiffs)
local ColorPaneUserDataValidators = require(Modules.ColorPaneUserDataValidators)
local Enums = require(Modules.Enums)
local UserData = require(Modules.UserData)
---
--[[
... | 154 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Modules/ColorPaneUserDataInterfaceValidator.luau | luau | .luau | --!strict
local root = script.Parent.Parent
local Includes = root.Includes
local t = require(Includes.t)
---
--[[
Type validator for the upstream user data provider's
physical interface to ColorPane instances.
@param value The value to check
@return If the value is a valid interface
@return An e... | 196 |
Blupo/ColorPane | Blupo-ColorPane-e0e4760/projects/Common/Modules/ColorPaneUserDataInterfaceVersion.luau | luau | .luau | --!strict
--[[
Returns the current revision of the user data interface.
This should be an number (integer).
]]
return 1 | 30 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.