mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Add files
This commit is contained in:
commit
e87c814068
266 changed files with 63938 additions and 0 deletions
3
src/renderer/utils/get-header-color.ts
Normal file
3
src/renderer/utils/get-header-color.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export const getHeaderColor = (rgbColor: string, opacity?: number) => {
|
||||
return rgbColor.replace('rgb', 'rgba').replace(')', `, ${opacity || 0.8})`);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue