Skip to content
Permalink
Browse files

[DDW-745] Sidebar Storybook stories improvement

  • Loading branch information...
tomothespian committed Jul 11, 2019
1 parent b51520c commit 31688862b869ec4c1201f2d0d5a95109ef5f2d4c
@@ -419,8 +419,7 @@ export const CARDANO_THEME_CONFIG = {
'rgba(0, 0, 0, 0.1)',
'--theme-manual-update-overlay-button-background-color-hover': '#fafbfc',
'--theme-manual-update-overlay-button-border-color': '#fafbfc',
'--theme-manual-update-overlay-button-icon-color':
'rgba(250, 251, 252, 1)',
'--theme-manual-update-overlay-button-icon-color': 'rgba(250, 251, 252, 1)',
'--theme-manual-update-overlay-button-icon-color-hover':
'rgba(32, 34, 37, 1)',
'--theme-manual-update-overlay-button-text-color-hover': '#202225',
@@ -419,8 +419,7 @@ export const DARK_BLUE_THEME_CONFIG = {
'--theme-manual-update-overlay-button-background-color':
'rgba(0, 0, 0, 0.1)',
'--theme-manual-update-overlay-button-background-color-hover': '#fafbfc',
'--theme-manual-update-overlay-button-icon-color':
'rgba(250, 251, 252, 1)',
'--theme-manual-update-overlay-button-icon-color': 'rgba(250, 251, 252, 1)',
'--theme-manual-update-overlay-button-icon-color-hover':
'rgba(38, 51, 69, 1)',
'--theme-manual-update-overlay-button-text-color-hover': '#263345',
@@ -416,8 +416,7 @@ export const LIGHT_BLUE_THEME_CONFIG = {
'--theme-manual-update-overlay-button-background-color': '#243e62',
'--theme-manual-update-overlay-button-background-color-hover': '#fafbfc',
'--theme-manual-update-overlay-button-border-color': '#fafbfc',
'--theme-manual-update-overlay-button-icon-color':
'rgba(250, 251, 252, 1)',
'--theme-manual-update-overlay-button-icon-color': 'rgba(250, 251, 252, 1)',
'--theme-manual-update-overlay-button-icon-color-hover':
'rgba(36, 62, 98, 1)',
'--theme-manual-update-overlay-button-text-color-hover': '#243e62',
@@ -583,7 +583,9 @@ export const createDaedalusComponentsTheme = (
text.secondary
}`,
'--theme-manual-update-overlay-button-icon-color': `${text.secondary}`,
'--theme-manual-update-overlay-button-icon-color-hover': `${background.secondary.regular}`,
'--theme-manual-update-overlay-button-icon-color-hover': `${
background.secondary.regular
}`,
'--theme-manual-update-overlay-button-text-color-hover': `${
background.secondary.regular
}`,
@@ -5,19 +5,10 @@ import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import StoryDecorator from './support/StoryDecorator';
import Sidebar from '../../source/renderer/app/components/sidebar/Sidebar';
import { CATEGORIES_BY_NAME } from '../../source/renderer/app/config/sidebarConfig';

const CATEGORIES_WITH_DELEGATION_COUNTDOWN = [
CATEGORIES_BY_NAME.WALLETS,
CATEGORIES_BY_NAME.STAKING_DELEGATION_COUNTDOWN,
CATEGORIES_BY_NAME.SETTINGS,
];

const CATEGORIES_WITHOUT_DELEGATION_COUNTDOWN = [
CATEGORIES_BY_NAME.WALLETS,
CATEGORIES_BY_NAME.STAKING,
CATEGORIES_BY_NAME.SETTINGS,
];
import {
CATEGORIES_WITH_DELEGATION_COUNTDOWN,
CATEGORIES_WITHOUT_DELEGATION_COUNTDOWN,
} from '../../source/renderer/app/config/sidebarConfig';

const sidebarMenus = observable({
wallets: {

0 comments on commit 3168886

Please sign in to comment.
You can’t perform that action at this time.