style: change dividers' and borders' colour to match design

main
Josue 4 years ago committed by Tsu-ba-me
parent bfbefa74c6
commit bd4d5a1dda
  1. 4
      striker-ui/components/Anvils/AnvilList.tsx
  2. 4
      striker-ui/components/InnerPanel.tsx
  3. 4
      striker-ui/components/Panel.tsx
  4. 4
      striker-ui/components/PanelHeader.tsx
  5. 4
      striker-ui/components/Servers.tsx

@ -7,7 +7,7 @@ import {
PURPLE_OFF, PURPLE_OFF,
RED_ON, RED_ON,
HOVER, HOVER,
GREY, DIVIDER,
} from '../../lib/consts/DEFAULT_THEME'; } from '../../lib/consts/DEFAULT_THEME';
import Anvil from './Anvil'; import Anvil from './Anvil';
import { AnvilContext } from '../AnvilContext'; import { AnvilContext } from '../AnvilContext';
@ -20,7 +20,7 @@ const useStyles = makeStyles(() => ({
height: '30vh', height: '30vh',
}, },
divider: { divider: {
background: GREY, background: DIVIDER,
}, },
button: { button: {
'&:hover': { '&:hover': {

@ -1,7 +1,7 @@
import { ReactNode } from 'react'; import { ReactNode } from 'react';
import { Box } from '@material-ui/core'; import { Box } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles'; import { makeStyles } from '@material-ui/core/styles';
import { TEXT } from '../lib/consts/DEFAULT_THEME'; import { DIVIDER } from '../lib/consts/DEFAULT_THEME';
type Props = { type Props = {
children: ReactNode; children: ReactNode;
@ -12,7 +12,7 @@ const useStyles = makeStyles(() => ({
borderWidth: '1px', borderWidth: '1px',
borderRadius: '3px', borderRadius: '3px',
borderStyle: 'solid', borderStyle: 'solid',
borderColor: TEXT, borderColor: DIVIDER,
marginTop: '20px', marginTop: '20px',
marginBottom: '20px', marginBottom: '20px',
paddingBottom: '10px', paddingBottom: '10px',

@ -1,6 +1,6 @@
import { ReactNode } from 'react'; import { ReactNode } from 'react';
import { makeStyles } from '@material-ui/core/styles'; import { makeStyles } from '@material-ui/core/styles';
import { PANEL_BACKGROUND, TEXT } from '../lib/consts/DEFAULT_THEME'; import { PANEL_BACKGROUND, TEXT, DIVIDER } from '../lib/consts/DEFAULT_THEME';
type Props = { type Props = {
children: ReactNode; children: ReactNode;
@ -28,7 +28,7 @@ const useStyles = makeStyles(() => ({
borderWidth: '1px', borderWidth: '1px',
borderRadius: '3px', borderRadius: '3px',
borderStyle: 'solid', borderStyle: 'solid',
borderColor: TEXT, borderColor: DIVIDER,
}, },
paper: { paper: {
margin: 10, margin: 10,

@ -1,7 +1,7 @@
import { ReactNode } from 'react'; import { ReactNode } from 'react';
import { Box } from '@material-ui/core'; import { Box } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles'; import { makeStyles } from '@material-ui/core/styles';
import { TEXT } from '../lib/consts/DEFAULT_THEME'; import { DIVIDER } from '../lib/consts/DEFAULT_THEME';
type Props = { type Props = {
children: ReactNode; children: ReactNode;
@ -17,7 +17,7 @@ const useStyles = makeStyles(() => ({
padding: '10px 0', padding: '10px 0',
position: 'absolute', position: 'absolute',
content: '""', content: '""',
borderColor: TEXT, borderColor: DIVIDER,
borderWidth: '1px', borderWidth: '1px',
borderRadius: '3px', borderRadius: '3px',
borderStyle: 'solid', borderStyle: 'solid',

@ -5,7 +5,7 @@ import { ClassNameMap } from '@material-ui/styles';
import Panel from './Panel'; import Panel from './Panel';
import PeriodicFetch from '../lib/fetchers/periodicFetch'; import PeriodicFetch from '../lib/fetchers/periodicFetch';
import { HeaderText, BodyText } from './Text'; import { HeaderText, BodyText } from './Text';
import { BLUE, GREY, HOVER } from '../lib/consts/DEFAULT_THEME'; import { BLUE, GREY, HOVER, DIVIDER } from '../lib/consts/DEFAULT_THEME';
import { AnvilContext } from './AnvilContext'; import { AnvilContext } from './AnvilContext';
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({
@ -15,7 +15,7 @@ const useStyles = makeStyles(() => ({
height: '100%', height: '100%',
}, },
divider: { divider: {
background: GREY, background: DIVIDER,
}, },
button: { button: {
'&:hover': { '&:hover': {

Loading…
Cancel
Save