mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-09 13:53:10 +02:00
Add files
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export const getHeaderColor = (rgbColor: string, opacity?: number) => {
|
||||
return rgbColor.replace('rgb', 'rgba').replace(')', `, ${opacity || 0.8})`);
|
||||
};
|
||||
Reference in New Issue
Block a user