From 12b0d11f62491c02a9439232a24c11d66c882394 Mon Sep 17 00:00:00 2001 From: Harpo Date: Mon, 8 Jan 2024 18:43:12 -0800 Subject: [PATCH] Import lichess logo svg --- src/Games.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Games.js b/src/Games.js index 753060a..3fca70a 100644 --- a/src/Games.js +++ b/src/Games.js @@ -7,6 +7,8 @@ import { Toolbar, OnlineToolbar } from './Toolbar' import '../node_modules/material-design-icons-iconfont/dist/material-design-icons.css' import { toDests } from './utils' import { NOTE_ON, CONTROL_CHANGE, COLORS } from './Launchpad' +import lichess_logo from './svg/lichess-logo.svg' +import lichess_logo_white from './svg/lichess-logo-white.svg' export const GamesActions = (state, actions) => ({ getGames: async () => { @@ -118,9 +120,7 @@ export const Games = (state, actions) => { }, m('img.svgicon', { src: - state.theme == 'dark' - ? 'static/lichess-logo-white.svg' - : 'static/lichess-logo.svg', + state.theme == 'dark' ? lichess_logo_white : lichess_logo, }) ) ),