[arvados-workbench2] created: 2.4.0-359-g56e6dc7a
git repository hosting
git at public.arvados.org
Mon Dec 12 15:06:21 UTC 2022
at 56e6dc7af513fd7bdb043e9c74a1d2848da41c38 (commit)
commit 56e6dc7af513fd7bdb043e9c74a1d2848da41c38
Author: Sarah Wait Zaranek <swz at curii.com>
Date: Mon Dec 12 10:04:41 2022 -0500
19462: Updating icon colors and process colors
Arvados-DCO-1.1-Signed-off-by: Sarah Wait Zaranek <swz at curii.com>
diff --git a/src/views/collection-content-address-panel/collection-content-address-panel.tsx b/src/views/collection-content-address-panel/collection-content-address-panel.tsx
index 8e8266cc..34d56084 100644
--- a/src/views/collection-content-address-panel/collection-content-address-panel.tsx
+++ b/src/views/collection-content-address-panel/collection-content-address-panel.tsx
@@ -40,13 +40,13 @@ type CssRules = 'backLink' | 'backIcon' | 'root' | 'content';
const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
backLink: {
- fontSize: '14px',
+ fontSize: '12px',
fontWeight: 600,
display: 'flex',
alignItems: 'center',
padding: theme.spacing.unit,
marginBottom: theme.spacing.unit,
- color: theme.palette.grey["700"],
+ color: theme.palette.grey["500"],
},
backIcon: {
marginRight: theme.spacing.unit
diff --git a/src/views/collection-panel/collection-panel.tsx b/src/views/collection-panel/collection-panel.tsx
index a28d5254..b40e5af6 100644
--- a/src/views/collection-panel/collection-panel.tsx
+++ b/src/views/collection-panel/collection-panel.tsx
@@ -73,14 +73,14 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
},
iconHeader: {
fontSize: '1.875rem',
- color: theme.customs.colors.yellow700
+ color: theme.customs.colors.grey600
},
tag: {
marginRight: theme.spacing.unit / 2,
marginBottom: theme.spacing.unit / 2
},
label: {
- fontSize: '0.875rem'
+ fontSize: '0.975rem',
},
centeredLabel: {
fontSize: '0.875rem',
diff --git a/src/views/process-panel/process-io-card.tsx b/src/views/process-panel/process-io-card.tsx
index ceba293e..d541f6c0 100644
--- a/src/views/process-panel/process-io-card.tsx
+++ b/src/views/process-panel/process-io-card.tsx
@@ -185,7 +185,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
top: '-9px',
},
emptyValue: {
- color: theme.customs.colors.grey500,
+ color: theme.customs.colors.grey600,
},
noBorderRow: {
'& td': {
commit 95cad596903ea8ade5dd6a9fd1895e4fdffcc2bc
Author: Sarah Wait Zaranek <swz at curii.com>
Date: Sun Dec 11 11:03:57 2022 -0500
19462: Updating status colors
Arvados-DCO-1.1-Signed-off-by: Sarah Wait Zaranek <swz at curii.com>
diff --git a/src/common/custom-theme.ts b/src/common/custom-theme.ts
index fc89a4ae..73ed8e06 100644
--- a/src/common/custom-theme.ts
+++ b/src/common/custom-theme.ts
@@ -23,13 +23,16 @@ export interface ArvadosTheme extends Theme {
interface Colors {
green700: string;
+ green800: string;
yellow100: string;
yellow700: string;
yellow900: string;
red100: string;
red900: string;
blue500: string;
+ blue700: string;
grey500: string;
+ grey600: string;
purple: string;
orange: string;
}
@@ -47,12 +50,14 @@ export const themeOptions: ArvadosThemeOptions = {
customs: {
colors: {
green700: green["700"],
+ green800: green["800"],
yellow100: yellow["100"],
yellow700: yellow["700"],
yellow900: yellow["900"],
red100: red["100"],
red900: red['900'],
blue500: blue['500'],
+ blue700: blue['700'],
grey500: grey500,
purple: arvadosPurple,
orange: '#f0ad4e',
@@ -185,4 +190,4 @@ export const themeOptions: ArvadosThemeOptions = {
},
};
-export const CustomTheme = createMuiTheme(themeOptions);
\ No newline at end of file
+export const CustomTheme = createMuiTheme(themeOptions);
diff --git a/src/store/processes/process.ts b/src/store/processes/process.ts
index 19f30dd2..354d816b 100644
--- a/src/store/processes/process.ts
+++ b/src/store/processes/process.ts
@@ -76,18 +76,16 @@ export const getProcessRuntime = ({ container }: Process) => {
export const getProcessStatusColor = (status: string, { customs }: ArvadosTheme) => {
switch (status) {
case ProcessStatus.RUNNING:
- return customs.colors.blue500;
+ return customs.colors.green800;
case ProcessStatus.COMPLETED:
- return customs.colors.green700;
case ProcessStatus.WARNING:
- return customs.colors.yellow700;
+ return customs.colors.green800;
case ProcessStatus.FAILING:
- return customs.colors.orange;
case ProcessStatus.CANCELLED:
case ProcessStatus.FAILED:
return customs.colors.red900;
default:
- return customs.colors.grey500;
+ return customs.colors.grey600;
}
};
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list