docs icon indicating copy to clipboard operation
docs copied to clipboard

darkTheme and lightTheme not found

Open epomatti opened this issue 2 years ago • 0 comments

Your documentation says there are lightTheme and darkTheme provided "out-of-the-box" but they are nowhere to be found.

https://docs.uniswap.org/sdk/widgets/swap-widget#toggling-light-dark-mode

import { darkTheme, lightTheme, Theme, SwapWidget } from '@uniswap/widgets'
ERROR in ./src/App.js 23:28-37
export 'darkTheme' (imported as 'darkTheme') was not found in '@uniswap/widgets' (possible exports: SUPPORTED_LOCALES, SwapWidget)
 @ ./src/index.js 7:0-24 11:33-36

ERROR in ./src/App.js 23:40-50
export 'lightTheme' (imported as 'lightTheme') was not found in '@uniswap/widgets' (possible exports: SUPPORTED_LOCALES, SwapWidget)
 @ ./src/index.js 7:0-24 11:33-36

epomatti avatar Feb 26 '22 15:02 epomatti