Commit 449c323f authored by lynn's avatar lynn Committed by GitHub

fix: modify hyperlink styling in nft collection descriptions (#5012)

* init

* this isn't really correct but halfway there

* modify opacity as per slack discussion
parent d290adb0
import { style } from '@vanilla-extract/css' import { globalStyle, style } from '@vanilla-extract/css'
import { bodySmall, buttonTextSmall, headlineSmall } from 'nft/css/common.css' import { bodySmall, buttonTextSmall, headlineSmall } from 'nft/css/common.css'
import { loadingAsset, loadingBlock } from 'nft/css/loading.css' import { loadingAsset, loadingBlock } from 'nft/css/loading.css'
import { breakpoints, sprinkles } from '../../css/sprinkles.css' import { breakpoints, sprinkles, themeVars } from '../../css/sprinkles.css'
export const statsText = style([ export const statsText = style([
sprinkles({ sprinkles({
...@@ -67,6 +67,23 @@ export const description = style([ ...@@ -67,6 +67,23 @@ export const description = style([
}, },
]) ])
globalStyle(`${description} a[href]`, {
color: `${themeVars.colors.textSecondary}`,
textDecoration: 'none',
})
globalStyle(`${description} a[href]:hover`, {
color: `${themeVars.colors.textSecondary}`,
opacity: '0.6',
textDecoration: 'none',
})
globalStyle(`${description} a[href]:active`, {
color: `${themeVars.colors.textSecondary}`,
opacity: '0.4',
textDecoration: 'none',
})
export const descriptionOpen = style([ export const descriptionOpen = style([
{ {
whiteSpace: 'normal', whiteSpace: 'normal',
......
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