WIP snake_case 4/?
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import chroma from "chroma-js"
|
||||
|
||||
export function withOpacity(color: string, opacity: number): string {
|
||||
export function with_opacity(color: string, opacity: number): string {
|
||||
return chroma(color).alpha(opacity).hex()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user