Skip to content

Different fonts for each URL #2368

Closed
Closed

Description

@charleshoong97

Instead of set the font family for each of the heading and body, can we have the custom fonts for different URL?

the fonts are the one inside theme.js as below

{
fonts: {
    body: '"DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
    heading:
      '"DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
    monospace: '"DM Mono", Menlo, monospace',
    gloria:
      '"Gloria Hallelujah", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
    solitas:
      '"Solitas", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
  }
}

Activity

  1. locked and limited conversation to collaborators on Nov 26, 2022
  2. converted this issue into a discussion #2371 on Nov 26, 2022
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