Skip to content
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

Allow :text key to in skia/paragraph accept styled text #71

Open
phronmophobic opened this issue Apr 29, 2023 · 0 comments
Open

Allow :text key to in skia/paragraph accept styled text #71

phronmophobic opened this issue Apr 29, 2023 · 0 comments

Comments

@phronmophobic
Copy link
Owner

Currently, :text is expected to be a string, but if it could be arbitrarily styled text, then it would allow for nested styles.

For example:

{:text ["foo"
        {:text "bar"
         :style #:text-style {:font-style #:font-style {:weight :bold}}}
        "baz"]
 :style #:text-style {:font-families ["SF Pro"]}}
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

No branches or pull requests

1 participant