Skip to content

Commit

Permalink
Use omeLinkBlue for links etc
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Oct 14, 2024
1 parent 2522eef commit 3d4f4b4
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 25 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@
cursor: default;
}
body {
--omeRed: #df283f;
--omeGreen: #128669;
--omeLinkBlue: #1d8dcd;
padding: 0;
font-family: "Overpass", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
Expand Down
23 changes: 5 additions & 18 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,26 +77,21 @@
width: 100%;
flex: 1;
padding: 15px 0;
background: #ff512f; /* fallback for old browsers */
background: rgb(249, 59, 85); /* fallback for old browsers */
background: -webkit-linear-gradient(
to right,
#f09819,
#ff512f
rgb(244, 106, 124),
var(--omeRed)
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#f09819,
#ff512f
rgb(245, 82, 104),
var(--omeRed)
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
/* https://uigradients.com/ */
/* OME green->blue rgb(61,132,107), rgb(68,139,200) */
}
article {
width: 90%;
margin: auto;
}
section > div {
margin: auto;
width: clamp(300px, 95%, 1200px);
Expand All @@ -111,14 +106,6 @@
section > div {
flex-direction: row;
}
article {
width: 60%;
margin: auto;
}
a {
white-space: nowrap;
}
}
.error {
Expand Down
2 changes: 1 addition & 1 deletion src/Bioformats2rawLayout/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
}
a,
a:visited {
color: #ff512f;
color: var(--omeLinkBlue);
}
.json {
Expand Down
2 changes: 1 addition & 1 deletion src/JsonValidator/Labels/LabelsInfoLink.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
}
a,
a:visited {
color: #ff512f;
color: var(--omeLinkBlue);
}
</style>
2 changes: 1 addition & 1 deletion src/JsonValidator/MultiscaleArrays/ZarrArray/Cube3D.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
shardX = shards[shards.length - 1] * scale;
shardY = shards[shards.length - 2] * scale;
shardZ = shards[shards.length - 3] * scale;
shardColor = "#ff512f"
shardColor = "var(--omeLinkBlue)"
}
</script>

Expand Down
4 changes: 2 additions & 2 deletions src/JsonValidator/MultiscaleArrays/ZarrArray/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<th />
<th>Array</th>
<th>Chunk</th>
{#if shard}<th style:border-color="#ff512f">Shard</th>{/if}
{#if shard}<th style:border-color="var(--omeLinkBlue)">Shard</th>{/if}
</tr>
<tr>
<th>Bytes</th>
Expand Down Expand Up @@ -130,6 +130,6 @@
a,
a:visited {
color: #ff512f;
color: var(--omeLinkBlue);
}
</style>
2 changes: 1 addition & 1 deletion src/JsonValidator/OpenWithViewers/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
a,
a:visited {
color: #ff512f;
color: var(--omeLinkBlue);
}
.viewer_icon {
Expand Down
2 changes: 1 addition & 1 deletion src/JsonValidator/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<style>
a,
a:visited {
color: #ff512f;
color: var(--omeLinkBlue);
}
.json {
text-align: left;
Expand Down

0 comments on commit 3d4f4b4

Please sign in to comment.