Skip to content

Commit

Permalink
Fix/gateway style console (#125)
Browse files Browse the repository at this point in the history
* removed consoles / fix styles for bridge

* layerswitch coloring

* fix pageTitle import

* fix layerswitcher on light mode

* mobile view layer / theme switcher

* fix for the MM pops on mobile + layerswitcher

* changes:
 - removed unused style code
 - removed unused files
 - imported global style reuqired.

* simplify stake allowance calcs

* fix lack of address display in mobile

Co-authored-by: CAPtheorem <79423264+CAPtheorem@users.noreply.github.com>
(cherry picked from commit 3ea5ecb)
  • Loading branch information
sk-enya authored and InoMurko committed Jun 17, 2022
1 parent 515c2b6 commit 13327b1
Show file tree
Hide file tree
Showing 31 changed files with 312 additions and 1,401 deletions.
16 changes: 15 additions & 1 deletion packages/boba/gateway/src/components/icons/BobaIcon.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 18 additions & 1 deletion packages/boba/gateway/src/components/icons/EthereumIcon.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
import * as React from "react"
import { useTheme } from '@mui/material'

function EthereumIcon() {
function EthereumIcon({ selected = true }) {

const theme = useTheme();

const recColor = theme.palette.mode === 'light' ? '#031313' : '#ffffff'

if (!selected) {
return <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="30" height="30" rx="8" fill={recColor} fillOpacity="0.15" />
<path d="M15.1376 5L15.0034 5.45578V18.6802L15.1376 18.8141L21.2761 15.1856L15.1376 5Z" fill="#E5E7EB" />
<path d="M15.1387 5L9 15.1856L15.1387 18.8141V12.3953V5Z" fill="#F9F9FA" />
<path d="M15.1376 19.9763L15.062 20.0685V24.7792L15.1376 25L21.2799 16.3496L15.1376 19.9763Z" fill="#E5E7EB" />
<path d="M15.1387 25V19.9763L9 16.3496L15.1387 25Z" fill="#F9F9FA" />
<path d="M15.1377 18.8139L21.2762 15.1853L15.1377 12.3951V18.8139Z" fill="#D2D5DA" />
<path d="M9 15.1853L15.1387 18.8139V12.3951L9 15.1853Z" fill="#E5E7EB" />
</svg>
}

return (
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
Expand Down

This file was deleted.

Loading

0 comments on commit 13327b1

Please sign in to comment.