-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUtils.swift
38 lines (31 loc) · 943 Bytes
/
Utils.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// Utils.swift
// irly
//
// Created by Uday on 18/05/24.
//
import SwiftUI
extension Color {
static func darkGrayColor() -> Color {
return Color(red: 0.22, green: 0.22, blue: 0.22)
}
static func darkerGrayColor() -> Color{
return Color(red:0.5, green: 0.5, blue: 0.5)
}
static func lightGrayColor() -> Color {
return Color(red: 0.9, green: 0.9, blue: 0.9)
}
static func lighterGrayColor() -> Color {
return Color(red: 0.92, green: 0.92, blue: 0.92)
}
static func lightPurpleColor() -> Color {
return Color(red: 0.7, green: 0.5, blue: 0.9)
}
static func darkPurpleColor() -> Color {
return Color(
red: Double(0x77) / 255.0,
green: Double(0x34) / 255.0,
blue: Double(0xeb) / 255.0
)
}
}