浏览代码

Adds missing semi

main
Eric Amodio 6 年前
父节点
当前提交
522788fe58
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/ui/shared/colors.ts

+ 1
- 1
src/ui/shared/colors.ts 查看文件

@ -19,7 +19,7 @@ export function lighten(color: string, percentage: number) {
const [r, g, b, a] = rgba;
percentage = (255 * percentage) / 100;
return `rgba(${adjustLight(r, percentage)}, ${adjustLight(g, percentage)}, ${adjustLight(b, percentage)}, ${a})`
return `rgba(${adjustLight(r, percentage)}, ${adjustLight(g, percentage)}, ${adjustLight(b, percentage)}, ${a})`;
}
export function opacity(color: string, percentage: number) {

正在加载...
取消
保存