Skip to content

coral-web: use hosted fonts #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2024
Merged

coral-web: use hosted fonts #152

merged 1 commit into from
May 27, 2024

Conversation

wujessica
Copy link
Contributor

@wujessica wujessica commented May 22, 2024

Description:

Re-adds Cohere fonts 🎉

Screenshot 2024-05-22 at 11 39 42 AM

AI Description

This pull request updates the font styles and families in the src/interfaces/coral_web directory.

Summary

The changes in this PR involve updating font definitions and usage in the fonts.css and cohereTheme.js files. Specifically, it introduces new @font-face rules and updates font family declarations.

Changes

  • New Font Sources: The PR adds new @font-face rules in fonts.css to define the sources for the 'CohereText', 'CohereMono', 'CohereVariable', 'CohereIconDefault', and 'CohereIconOutline' fonts. These rules specify the font sources, weights, styles, and display settings.
  • Updated Font Families: In cohereTheme.js, the font family declarations have been updated. The 'body' font family now includes 'CohereText', the 'variable' font family uses 'CohereVariable', and the 'code' font family includes 'CohereMono'.

Copy link
Collaborator

@BeatrixCohere BeatrixCohere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@wujessica wujessica merged commit 8560571 into main May 27, 2024
2 checks passed
@wujessica wujessica deleted the jw/host-fonts branch May 27, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants