Skip to content

Add layout flag to customise logo/title style #1799

Description

@timothyhoward

Feature Description
Recent versions of Evidence introduced the logo / title variables in the EvidenceDefaultLayout component. Could this potentially be further expanded to allow for style customisations without rebuilding the EvidenceDefaultLayout (with all subcomponents) as a custom layout? Primarily interested in increasing the height of the logo to allow for a bigger logo image (currently defaults to h-5 aspect-auto) and adding a background colour to the header.

Goal of Feature
Allow greater customisation of the layout and avoids having custom components that break with new releases.

Current Solution / Workarounds
At the moment I have to create custom EvidenceLayout, EvidenceHeader and Logo components. Would like to avoid having too many custom components if possible.

Alternatives
Allow passing through custom Tailwind style string for logo and header.

Activity

  1. locked and limited conversation to collaborators on Aug 14, 2024
  2. converted this issue into a discussion #2413 on Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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