Feat/183 explorer link colours (#203)
* shift to pink instead of yellow for light theme * frontend-monorepo-183 Trial removing link colour entirely, just bold and underlined
This commit is contained in:
parent
c588745819
commit
c81766dd20
@ -25,7 +25,7 @@ export const BlockData = ({ block, className }: BlockProps) => {
|
|||||||
>
|
>
|
||||||
<Link
|
<Link
|
||||||
to={`/${Routes.BLOCKS}/${block.header?.height}`}
|
to={`/${Routes.BLOCKS}/${block.header?.height}`}
|
||||||
className="text-vega-yellow"
|
className="font-bold underline"
|
||||||
>
|
>
|
||||||
{block.header?.height}
|
{block.header?.height}
|
||||||
</Link>
|
</Link>
|
||||||
|
@ -11,11 +11,7 @@ export const HighlightedLink = ({
|
|||||||
...props
|
...props
|
||||||
}: HighlightedLinkProps) => {
|
}: HighlightedLinkProps) => {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link className="font-bold underline" to={to} {...props}>
|
||||||
className="font-bold underline dark:text-vega-yellow dark:font-normal dark:no-underline"
|
|
||||||
to={to}
|
|
||||||
{...props}
|
|
||||||
>
|
|
||||||
{text}
|
{text}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
@ -74,7 +74,7 @@ export const TableRow = ({
|
|||||||
}: TableRowProps) => {
|
}: TableRowProps) => {
|
||||||
const cellClasses = classnames(className, {
|
const cellClasses = classnames(className, {
|
||||||
'border-b border-black-40 dark:border-white-40': modifier === 'bordered',
|
'border-b border-black-40 dark:border-white-40': modifier === 'bordered',
|
||||||
'border-b-4 bg-black-40 border-b-white dark:bg-white-25 dark:border-b-black':
|
'border-b-4 bg-black-25 border-b-white dark:bg-white-25 dark:border-b-black':
|
||||||
modifier === 'background',
|
modifier === 'background',
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
|
@ -20,7 +20,7 @@ export const TruncatedLink = ({
|
|||||||
text={text}
|
text={text}
|
||||||
startChars={startChars}
|
startChars={startChars}
|
||||||
endChars={endChars}
|
endChars={endChars}
|
||||||
className="font-mono font-bold underline dark:text-vega-yellow dark:font-normal dark:no-underline"
|
className="font-mono font-bold underline"
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user