Skip to content

Commit 1b52662

Browse files
committed
Add ColorBlend to RBS types
1 parent d84bc20 commit 1b52662

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

sig/lipgloss/lipgloss.rbs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,17 @@ module Lipgloss
165165
def render: () -> String
166166
def to_s: () -> String
167167
end
168+
169+
module ColorBlend
170+
LUV: Symbol
171+
RGB: Symbol
172+
HCL: Symbol
173+
174+
def self.blend: (String c1, String c2, Float t, ?mode: Symbol) -> String
175+
def self.blend_luv: (String c1, String c2, Float t) -> String
176+
def self.blend_rgb: (String c1, String c2, Float t) -> String
177+
def self.blend_hcl: (String c1, String c2, Float t) -> String
178+
def self.blends: (String c1, String c2, Integer steps, ?mode: Symbol) -> Array[String]
179+
def self.grid: (String c1, String c2, String c3, String c4, Integer x, Integer y, ?mode: Symbol) -> Array[Array[String]]
180+
end
168181
end

0 commit comments

Comments
 (0)