Skip to content

Commit 51d35db

Browse files
committed
Provide greater contrast for backgrounds.
1 parent dc0dc67 commit 51d35db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Time/AnalogClock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function AnalogClock({
128128
styles.clock,
129129
{
130130
backgroundColor: theme.dark
131-
? Color(theme.colors.surface).lighten(1.2).hex()
131+
? Color(theme.colors.surface).lighten(1.4).hex()
132132
: theme.isV3
133133
? Color(theme.colors.outline).lighten(0.9).hex()
134134
: Color(theme.colors.surface).darken(0.1).hex(),

src/Time/timeUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export function useSwitchColors(highlighted: boolean) {
164164
return Color(theme.colors.primary).hex()
165165
}
166166
if (theme.isV3) {
167-
return Color(theme.colors.surface).lighten(1.2).hex()
167+
return Color(theme.colors.surface).lighten(1.4).hex()
168168
}
169169
return theme.colors.backdrop
170170
}
@@ -203,7 +203,7 @@ export function useInputColors(highlighted: boolean) {
203203
if (highlighted) {
204204
return Color(theme.colors.primary).hex()
205205
}
206-
return Color(theme.colors.surface).lighten(1.2).hex()
206+
return Color(theme.colors.surface).lighten(1.4).hex()
207207
}
208208

209209
if (highlighted) {

0 commit comments

Comments
 (0)