mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-06 08:46:46 +00:00
chore: fix title style in dark mode
This commit is contained in:
parent
e936bb6f15
commit
cb9786ef7c
@ -283,10 +283,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
|
|||||||
)}
|
)}
|
||||||
onClick={() => setShowOpenGraphMetadata(!showOpenGraphMetadata)}
|
onClick={() => setShowOpenGraphMetadata(!showOpenGraphMetadata)}
|
||||||
>
|
>
|
||||||
<span className="text-sm flex flex-row justify-start items-center">
|
<span className="text-sm flex flex-row justify-start items-center">Social media metadata</span>
|
||||||
Social media metadata
|
|
||||||
<Icon.Sparkles className="ml-1 w-4 h-auto text-blue-600" />
|
|
||||||
</span>
|
|
||||||
<button className="w-7 h-7 p-1 rounded-md">
|
<button className="w-7 h-7 p-1 rounded-md">
|
||||||
<Icon.ChevronDown className={classnames("w-4 h-auto text-gray-500", showOpenGraphMetadata ? "transform rotate-180" : "")} />
|
<Icon.ChevronDown className={classnames("w-4 h-auto text-gray-500", showOpenGraphMetadata ? "transform rotate-180" : "")} />
|
||||||
</button>
|
</button>
|
||||||
|
@ -63,9 +63,9 @@ const ShortcutView = (props: Props) => {
|
|||||||
href={shortcutLink}
|
href={shortcutLink}
|
||||||
>
|
>
|
||||||
<div className="truncate">
|
<div className="truncate">
|
||||||
<span>{shortcut.title}</span>
|
<span className="dark:text-gray-400">{shortcut.title}</span>
|
||||||
{shortcut.title ? (
|
{shortcut.title ? (
|
||||||
<span className="text-gray-400">(s/{shortcut.name})</span>
|
<span className="text-gray-500">(s/{shortcut.name})</span>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<span className="text-gray-400 dark:text-gray-500">s/</span>
|
<span className="text-gray-400 dark:text-gray-500">s/</span>
|
||||||
|
@ -50,9 +50,9 @@ const ShortcutView = (props: Props) => {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<div className="truncate">
|
<div className="truncate">
|
||||||
<span>{shortcut.title}</span>
|
<span className="dark:text-gray-400">{shortcut.title}</span>
|
||||||
{shortcut.title ? (
|
{shortcut.title ? (
|
||||||
<span className="text-gray-400">(s/{shortcut.name})</span>
|
<span className="text-gray-500">(s/{shortcut.name})</span>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<span className="text-gray-400 dark:text-gray-500">s/</span>
|
<span className="text-gray-400 dark:text-gray-500">s/</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user