Skip to content

[V4] Warning in build with :before #17059

Answered by wongjn
joffreypersia asked this question in Help
Discussion options

You must be logged in to vote

You'd need to do something like:

.ql-editor.ql-blank {
  &::before {
    color: var(--color-shade-600);
    margin-top: calc(var(--spacing) * 5);
    font-weight: 400;    /* normal */
    font-style: normal;  /* override if you had "not-italic" */
    font-size: var(--text-base);
  }

  @variant dark {
    &::before {
      color: var(--color-shade-400);
    }
  }
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@joffreypersia
Comment options

@wongjn
Comment options

Answer selected by joffreypersia
@joffreypersia
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants