Skip to content

Commit 126f2c9

Browse files
committed
naming
1 parent e3394d2 commit 126f2c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/theme/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import styled, {
1010

1111
import { useIsDarkMode } from '../state/user/hooks'
1212
import { colors as ColorsPalette, colorsDark, colorsLight } from './colors'
13-
import { Colors, themeColors } from './styled'
13+
import { Colors, ThemeColors } from './styled'
1414
import { opacify } from './utils'
1515

1616
export * from './components'
@@ -54,7 +54,7 @@ const mediaWidthTemplates: { [width in keyof typeof MEDIA_WIDTHS]: typeof css }
5454
const deprecated_white = ColorsPalette.white
5555
const deprecated_black = ColorsPalette.black
5656

57-
function uniswapThemeColors(darkMode: boolean): themeColors {
57+
function uniswapThemeColors(darkMode: boolean): ThemeColors {
5858
return {
5959
userThemeColor: darkMode ? colorsDark.userThemeColor : colorsLight.userThemeColor,
6060

src/theme/styled.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FlattenSimpleInterpolation, ThemedCssFunction } from 'styled-components/macro'
22

33
export type Color = string
4-
export interface themeColors {
4+
export interface ThemeColors {
55
userThemeColor: string
66

77
backgroundBackdrop: Color

0 commit comments

Comments
 (0)