Dear Gitlab users, due to maintenance reasons, Gitlab will not be available on Thursday 30.09.2021 from 5:00 pm to approximately 5:30 pm.

Commit abff5df7 authored by Stefan Probst's avatar Stefan Probst
Browse files

style: change colors

parent 72bd5e80
Pipeline #189571 passed with stages
in 15 minutes and 8 seconds
......@@ -296,7 +296,7 @@ function ItemMedia({ properties }: { properties: ItemProperties }) {
className={cx(
'inline-flex items-center justify-center px-6',
media.length === 1
? 'text-gray-500 pointer-events-none'
? 'text-gray-800 pointer-events-none'
: 'text-primary-800',
)}
disabled={media.length === 1}
......@@ -331,7 +331,7 @@ function ItemMedia({ properties }: { properties: ItemProperties }) {
className={cx(
'inline-flex items-center justify-center px-6',
media.length === 1
? 'text-gray-500 pointer-events-none'
? 'text-gray-800 pointer-events-none'
: 'text-primary-800',
)}
disabled={media.length === 1}
......@@ -383,7 +383,7 @@ function ItemPropertiesList(props: ItemMetadata) {
return (
<aside className="">
<h2 className="text-xl font-medium">Details</h2>
<div className="divide-y">{Object.values(metadata)}</div>
<div className="text-sm divide-y">{Object.values(metadata)}</div>
</aside>
)
}
......@@ -460,14 +460,14 @@ function useItemMetadata({
{sorted.map(([groupName, entries]) => {
return (
<li key={groupName} className="flex flex-col space-y-2">
<span className="font-bold tracking-wide uppercase text-ui-sm whitespace-nowrap">
<span className="font-bold tracking-wide uppercase text-gray-550 text-ui-sm whitespace-nowrap">
{groupName}
</span>
<ul className="flex flex-col space-y-2">
{entries.map(([label, properties]) => {
return (
<li key={label}>
<span className="mr-2 font-medium text-gray-500 whitespace-nowrap">
<span className="mr-2 font-medium text-gray-800 whitespace-nowrap">
{label}:
</span>
<ul className="inline">
......@@ -515,14 +515,14 @@ function useItemMetadata({
{sorted.map(([role, actors]) => {
return (
<li key={role} className="flex flex-col space-y-3">
<span className="font-bold tracking-wide uppercase text-ui-sm whitespace-nowrap">
<span className="font-bold tracking-wide uppercase text-gray-550 text-ui-sm whitespace-nowrap">
{role}
</span>
<ul className="flex flex-col space-y-2">
{actors.map((actor) => {
return (
<li key={actor.id} className="flex flex-col">
<span className="mr-2 font-medium text-gray-500 whitespace-nowrap">
<span className="mr-2 font-medium text-gray-800 whitespace-nowrap">
{actor.name}
</span>
{actor.email != null ? (
......@@ -550,7 +550,7 @@ function useItemMetadata({
{dateCreated != null ? (
<div>
<dt>
<span className="mr-2 font-medium text-gray-500 whitespace-nowrap">
<span className="mr-2 font-medium text-gray-800 whitespace-nowrap">
Created:
</span>
</dt>
......@@ -562,7 +562,7 @@ function useItemMetadata({
{dateLastUpdated != null ? (
<div>
<dt>
<span className="mr-2 font-medium text-gray-500 whitespace-nowrap">
<span className="mr-2 font-medium text-gray-800 whitespace-nowrap">
Created:
</span>
</dt>
......@@ -583,7 +583,7 @@ function useItemMetadata({
if (sourceItemId != null) {
metadata.sourceItemId = (
<div className="py-8" key="item-source">
<span className="mr-2 font-medium text-gray-500 whitespace-nowrap">
<span className="mr-2 font-medium text-gray-800 whitespace-nowrap">
Source:
</span>
{source.urlTemplate != null ? (
......@@ -608,9 +608,11 @@ function useItemMetadata({
<ul className="py-8 space-y-6" key="item-externalids">
{externalIds.map((id) => {
return (
<li key={id.identifier} className="flex space-x-2">
<span>{id.identifierService?.label}:</span>
<span>ID: {id.identifier}</span>
<li key={id.identifier} className="flex">
<span className="mr-2 font-medium text-gray-800 whitespace-nowrap">
{id.identifierService?.label}:
</span>
<span>{id.identifier}</span>
</li>
)
})}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment