repo
stringclasses
254 values
file_path
stringlengths
29
241
code
stringlengths
100
233k
tokens
int64
14
69.4k
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/ColorPane/Components/ColorEditor.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
-- 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
-- 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
-- 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
--[[ 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
-- 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
--[[ 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
--[[ 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
--!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
-- 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
-- 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
-- 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
--[[ 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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
--!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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
-- 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
--[[ 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
-- 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
-- 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
-- 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
--!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
--!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
--!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
--!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
--!strict --[[ Returns the current revision of the user data interface. This should be an number (integer). ]] return 1
30
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/ColorPaneUserDataValidators.luau
--!strict --[[ Defines the set of validators for ColorPane user data values. ]] local root = script.Parent.Parent local Modules = root.Modules local Constants = require(Modules.Constants) local Enums = require(Modules.Enums) local Util = require(Modules.Util) local Includes = root.Includes local t = require(Incl...
1,984
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/Constants.luau
--!strict -- Provides constants used in the projects local StudioService: StudioService = game:GetService("StudioService") --- local CONSTANTS = { --[[ The list of valid gradient color spaces. ]] VALID_GRADIENT_COLOR_SPACES = { "RGB", "CMYK", "HSB", "HWB", "HSL", "Lab", "Luv", "LChab", "LChuv", "...
569
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/Enums.luau
--!strict --[[ Enums used by more than one project. ]] return { ColorPaneUserDataKey = { SnapValue = "SnapValue", UserColorPalettes = "UserColorPalettes", UserGradientPalettes = "UserGradientPalettes", AskNameBeforePaletteCreation = "AskNameBeforePaletteCreation", }, Us...
130
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/PluginProvider.luau
--!strict local savedPlugin: Plugin? = nil --[[ Stores and/or provides a Plugin object. If called with a plugin, it will be stored for future use. If a plugin is already stored, the function will throw an error. If called without a plugin, it will return the currently-stored plugin. If a plu...
174
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/Prompt.luau
--!strict -- Creates windows for prompts local Common = script.Parent.Parent local Includes = Common.Includes local Roact = require(Includes.RoactRodux.Roact) local Signal = require(Includes.Signal) local Modules = script.Parent local PluginProvider = require(Modules.PluginProvider) local Translator = require(Module...
578
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/Style.luau
--!strict -- GUI styling information and image IDs --- local Style = { UDim2 = {}, Fonts = { Standard = Enum.Font.SourceSans, Monospaced = Enum.Font.RobotoMono, }, Constants = { -- Paddings MajorElementPadding = 16, MinorElementPadding = 4, SpaciousEle...
1,274
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/Types.luau
--!strict --[[ Represents the set of values used in UserData. ]] export type UserDataValues = {[string]: any} --[[ Represents a key-value pair. ]] export type KeyValue = { Key: string, Value: any } --[[ Represents a raw color palette. ]] export type ColorPalette = { name: string, colors:...
262
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/UserData.luau
--!strict --[[ A class wrapper for a list of key-value pairs. ]] local root = script.Parent.Parent local Includes = root.Includes local Signal = require(Includes.Signal) local t = require(Includes.t) local Modules = root.Modules local Enums = require(Modules.Enums) local Types = require(Modules.Types) local Util...
1,130
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/Util.luau
--!strict --[[ Utility functions ]] local Util = {} --[[ Table utilities ]] Util.table = {} --[[ Creates a copy of a table with sub-tables also being copied. If a sub-table has a metatable, it will not be copied. If the root table has a metatable, an error will occur. @param t The table to ...
334
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Common/Modules/Window.luau
--!strict -- Provides an interface for working with DockWidgetPluginGuis local RunService: RunService = game:GetService("RunService") --- local Common = script.Parent.Parent local Includes = Common.Includes local RoactRoduxFolder = Includes.RoactRodux local Roact = require(RoactRoduxFolder.Roact) local RoactRodux =...
1,763
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Companion.server.luau
--!strict local RunService: RunService = game:GetService("RunService") --- local root = script.Parent local Common = root.Common local CommonModules = Common.Modules require(CommonModules.PluginProvider)(plugin) local Translator = require(CommonModules.Translator) local Window = require(CommonModules.Window) local...
1,005
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Components/ColorProperties.luau
local RunService = game:GetService("RunService") --- local root = script.Parent.Parent local Common = root.Common local CommonComponents = Common.Components local Button = require(CommonComponents.Button) local Checkbox = require(CommonComponents.Checkbox) local ConnectTheme = require(CommonComponents.ConnectTheme) ...
1,677
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Components/ColorPropertiesList.luau
local StudioService = game:GetService("StudioService") local TextService = game:GetService("TextService") --- local root = script.Parent.Parent local Common = root.Common local CommonComponents = Common.Components local ConnectTheme = require(CommonComponents.ConnectTheme) local CommonIncludes = Common.Includes loc...
3,642
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Components/ImportSettings.luau
-- Interface for importing settings local HttpService = game:GetService("HttpService") local RunService = game:GetService("RunService") local Selection = game:GetService("Selection") local StudioService = game:GetService("StudioService") --- local root = script.Parent.Parent local Common = root.Common local CommonM...
4,404
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Components/Settings.luau
-- Component for managing settings. local HttpService = game:GetService("HttpService") local TextService = game:GetService("TextService") --- local root = script.Parent.Parent local Common = root.Common local CommonModules = Common.Modules local CommonConstants = require(CommonModules.Constants) local CommonEnums =...
3,161
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/ColorAPIData.luau
local Workspace = game:GetService("Workspace") --- local root = script.Parent.Parent local Common = root.Common local CommonIncludes = Common.Includes local ColorLib = require(CommonIncludes.Color) local Color, Gradient = ColorLib.Color, ColorLib.Gradient local Terrain = Workspace.Terrain --- local colorProperties...
1,159
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/ColorPane.luau
--!strict --[[ Provides access to the ColorPane API throughout the project. ]] local root = script.Parent.Parent local Common = root.Common local CommonModules = Common.Modules local PluginProvider = require(CommonModules.PluginProvider) local Includes = root.Includes local InitColorPane = require(Includes.Color...
95
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/ColorPaneUserDataInterface.luau
--!strict --[[ Provides a physical interface in the form of BindableFunctions and BindableEvents for ColorPane instances to retrieve and update user data values. ]] local StudioService: StudioService = game:GetService("StudioService") --- local root = script.Parent.Parent local Common = root.Common local Co...
665
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/CompanionUserDataDefaultValues.luau
--!strict --[[ Provides the default user data values for Companion user data. ]] local Modules = script.Parent local Types = require(Modules.Types) --- return { AutoLoadColorPropertiesAPIData = false, CacheColorPropertiesAPIData = false, RobloxApiDump = nil, }::Types.CompanionUserData
68
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/CompanionUserDataValidators.luau
--!strict --[[ Defines the set of validators for Companion user data values. ]] local root = script.Parent.Parent local Common = root.Common local CommonIncludes = Common.Includes local t = require(CommonIncludes.t) local Modules = root.Modules local Enums = require(Modules.Enums) --- return { --[[ ...
276
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/Constants.luau
--!strict --[[ Companion plugin constants. ]] return { COLORPANE_USERDATA_KEY = "ColorPane_UserData", COMPANION_USERDATA_KEY = "ColorPaneCompanion_UserData", META_UPDATE_SOURCE_KEY = "__updateSource", }
55
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/DocumentationPluginMenu.luau
--!strict local root = script.Parent.Parent local Common = root.Common local CommonModules = Common.Modules local PluginProvider = require(CommonModules.PluginProvider) --- local plugin: Plugin = PluginProvider() local pluginMenu = plugin:CreatePluginMenu("ColorPane", "ColorPane") local showDocumentationPluginAction...
224
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/Enums.luau
--!strict --[[ Enums used in the Companion plugin. ]] return { CompanionUserDataKey = { AutoLoadColorPropertiesAPIData = "AutoLoadColorPropertiesAPIData", CacheColorPropertiesAPIData = "CacheColorPropertiesAPIData", RobloxApiDump = "RobloxApiDump", } }
68
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/ManagedUserData.luau
--!strict --[[ Manages the initialisation and synchronisation of user data ]] local root = script.Parent.Parent local Common = root.Common local CommonIncludes = Common.Includes local Cryo = require(CommonIncludes.Cryo) local t = require(CommonIncludes.t) local CommonModules = Common.Modules local ColorPaneUserD...
2,655
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/SelectionManager.luau
local ChangeHistoryService = game:GetService("ChangeHistoryService") local Selection = game:GetService("Selection") --- local root = script.Parent.Parent local Common = root.Common local CommonIncludes = Common.Includes local Signal = require(CommonIncludes.Signal) local CommonModules = Common.Modules local PluginP...
1,867
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/Store.luau
--!strict --[[ Companion store, required by Window. (Only keeps track of the theme.) ]] local root = script.Parent.Parent local Common = root.Common local CommonModules = Common.Modules local PluginProvider = require(CommonModules.PluginProvider) local CommonIncludes = Common.Includes local Rodux = require(C...
213
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/Toolbar.luau
--!strict --[[ Constructs the plugin toolbar and buttons. ]] local root = script.Parent.Parent local Common = root.Common local CommonModules = Common.Modules local PluginProvider = require(CommonModules.PluginProvider) local Style = require(CommonModules.Style) local Translator = require(CommonModules.Translator...
369
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/Types.luau
--!strict --[[ User data values for the Companion plugin. ]] export type CompanionUserData = { AutoLoadColorPropertiesAPIData: boolean, CacheColorPropertiesAPIData: boolean, RobloxApiDump: {}?, } --- return {}
53
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/UserDataSynchroniser.luau
--!strict --[[ Class for UserData synchronisation with plugin settings. ]] local HttpService: HttpService = game:GetService("HttpService") local RunService: RunService = game:GetService("RunService") --- local root = script.Parent.Parent local Common = root.Common local CommonIncludes = Common.Includes loca...
1,067
Blupo/ColorPane
Blupo-ColorPane-e0e4760/projects/Companion/Modules/WidgetInfo.luau
--!strict --[[ Holds information for plugin widgets. ]] local root = script.Parent.Parent local Common = root.Common local CommonModules = Common.Modules local Style = require(CommonModules.Style) --- return { Settings = { Id = "CPCompanion_Settings", Info = DockWidgetPluginGuiInfo.new(Enum....
351
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lib/init.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> export type Asset = { IconName: string, -- "icon-name" Id: number, -- 123456789 Url: string, -- "rbxassetid://123456789" ImageRectSize: Vector2, -- Vector2.new(48, 48) ImageRectOffset: Vector2, -- Vector2.new(648, 266) } local ...
1,916
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/compile-icons.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local fs = require("@lune/fs") local stdio = require("@lune/stdio") local process = require("@lune/process") local Log = require("modules/Log") local CommandUtils = require("modules/CommandUtils") local StringUtils = require("modules/StringUtils")...
634
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/generate-md-index.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local fs = require("@lune/fs") local StringUtils = require("modules/StringUtils") local IconSourcesDir = "icons/src" local IconDisplayDir = "icons/compiled/48px" local IconDisplayFileType = "png" local OutputPath = "md/icon-index.md" local Outpu...
283
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/make.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local fs = require("@lune/fs") local process = require("@lune/process") local Log = require("modules/Log") local Run = require("modules/Run") local VersionInfo = require("../version-info") local RojoOutputPath = "build/lucide-roblox.rbxm" local ...
454
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/modules/CommandUtils.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local process = require("@lune/process") local CommandUtils = {} -- We'll check some required commands in a sec function CommandUtils.CommandExists(binary: string): boolean if process.os ~= "windows" then -- Unix-compliance is simple!...
181
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/modules/ParseArgs.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> type OptionsInput = {[string]: {string | number | boolean | nil}} type OptionsOutput = {[string]: string | number | boolean | nil} local process = require("@lune/process") local Log = require("Log") local function ParseArgs(args: {string}, optio...
485
latte-soft/lucide-roblox
latte-soft-lucide-roblox-11213a3/lune/modules/Run.luau
-- MIT License | Copyright (c) 2023 Latte Softworks <https://latte.to> local process = require("@lune/process") local Log = require("Log") local function Run(command: string, args: {string}?, directRun: boolean?, errorHandler: (string) -> ()?): process.SpawnResult local Args = args or {} local DirectRun = if...
219