Skip to content

Commit

Permalink
updating bootstrap cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ryestew committed Mar 27, 2019
1 parent b3c88a9 commit 12bf04f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class App extends ApiFactory {
if (self._view.el) return self._view.el
// not resizable
self._view.iconpanel = yo`
<div id="icon-panel" class="${css.iconpanel} bg-primary">
<div id="icon-panel" class="${css.iconpanel} bg-light">
${''}
</div>
`
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/swap-panel-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class SwapPanelComponent {
<div id='plugins' class=${css.plugins} >
</div>
`
this.header = yo`<header class="${css.swapitHeader} bg-dark"><h6 class="${css.swapitTitle}"></h6></header>`
this.header = yo`<header class="${css.swapitHeader}"><h6 class="${css.swapitTitle}"></h6></header>`
if (!this.opt.displayHeader) this.header.style.display = 'none'

return yo`<div class=${css.pluginsContainer}>
Expand Down
7 changes: 2 additions & 5 deletions src/app/ui/styles-guide/theme-chooser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@ var EventEmitter = require('events')

// TODO : Put it somewhere else
const themes = [
{name: 'Cerulean', quality: 'light', url: 'https://bootswatch.com/4/cerulean/bootstrap.min.css'},
{name: 'Flatly', quality: 'light', url: 'https://bootswatch.com/4/flatly/bootstrap.min.css'},
{name: 'Journal', quality: 'light', url: 'https://bootswatch.com/4/journal/bootstrap.min.css'},
{name: 'Lumen', quality: 'light', url: 'https://bootswatch.com/4/lumen/bootstrap.min.css'},
{name: 'Minty', quality: 'light', url: 'https://bootswatch.com/4/minty/bootstrap.min.css'},
{name: 'Sandstone', quality: 'light', url: 'https://bootswatch.com/4/sandstone/bootstrap.min.css'},
{name: 'Spacelab', quality: 'light', url: 'https://bootswatch.com/4/spacelab/bootstrap.min.css'},
{name: 'United', quality: 'light', url: 'https://bootswatch.com/4/united/bootstrap.min.css'},
{name: 'Yeti', quality: 'light', url: 'https://bootswatch.com/4/yeti/bootstrap.min.css'},
{name: 'Cyborg', quality: 'dark', url: 'https://bootswatch.com/4/cyborg/bootstrap.min.css'},
{name: 'Darkly', quality: 'dark', url: 'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/darkly/bootstrap.min.css'},
{name: 'Slate', quality: 'dark', url: 'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/slate/bootstrap.min.css'},
{name: 'Superhero', quality: 'dark', url: 'https://bootswatch.com/4/superhero/bootstrap.min.css'}
{name: 'Slate', quality: 'dark', url: 'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/slate/bootstrap.min.css'}
]

const defaultTheme = 'Superhero'
Expand Down

0 comments on commit 12bf04f

Please sign in to comment.