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

[BUG] @font-face not supported #1020

Closed
3 tasks done
googl267 opened this issue Feb 2, 2024 · 1 comment
Closed
3 tasks done

[BUG] @font-face not supported #1020

googl267 opened this issue Feb 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@googl267
Copy link

googl267 commented Feb 2, 2024

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

I'm unsure if this is intended behavior but the @font-face rule does not seem to be supported

error: unknown @ rule
1 | @font-face {

Reproducing the issue

Error occurs at the @font-face inside any SCSS file

@font-face {
    //content
}
@mixin font-face(
    //setup
) {
    @font-face{
        //content
    }
}

@include font-face('foo', 'foo');

Expected behaviour

Use a local font file in SCSS with @font-face rule

Additional context

Using Hyprland on Arch. I would like a way to use font files in EWW if possible rather then having to install fonts

@googl267 googl267 added the bug Something isn't working label Feb 2, 2024
@googl267 googl267 closed this as completed Feb 7, 2024
@googl267
Copy link
Author

googl267 commented Feb 7, 2024

Its been a long month I am very sorry for forgetting this Scss follows GtkCss which does not support importing fonts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant