Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Unable to remove typography styles #231

Description

@hanscl

Hi,

According to the docs (https://svelte-materialify.vercel.app/components/material-app/) I should use <MaterialAppMin> to avoid using the provided typography styles.

However, this does not work for me. The button remains in all UPPERCASE and the letterspacing is also still larger than normal. Here is the svelte HTML mark-up:

<MaterialAppMin theme="light"> <Button depressed class="primary-color">Test</Button> </MaterialAppMin>

Upon inspection of the button in Chrome I see that the letter-spacing and text-transform classes are still being applied.

.s-btn .s-btn__content { display: flex; align-items: center; flex: 1 0 auto; color: inherit; justify-content: inherit; line-height: normal; position: relative; font-size: inherit; font-weight: 500; letter-spacing: 0.0892857143em; text-transform: uppercase; }

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions