Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

ReadContract Text not displayed in light mode #183

Description

@mtgoodrich

The response in the ReadContract component is not visible in light mode.

A simple fix is to add the 'text-white' class to the pre element. Will not negatively effect dark mode.

    {:then res}
        {#if res}
          <pre class="text-xs md:text-base text-base-content text-white">
            {JSON.stringify(res.data, (k, v) => (typeof v === 'bigint' ? v.toString() : v), 2)}
          </pre>
        {/if}
      {:catch}
Screenshot 2023-10-27 at 5 03 35 PM Screenshot 2023-10-27 at 5 04 12 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions