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

True semitransparency during uncover #91

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    46f4818 View commit details
    Browse the repository at this point in the history
  2. Allow deeper cover-with-rect customization

    For instance, if an object to be hidden spans two background colors, you can specify `(fill: "000d", stroke: (bottom: rgb("fffd) + 0.2in))` to have the cover work even in that case
    
    "width" and "height" can also be directly overridden in cases where their defaults don't work properly, e.g. with heavy strokes of slanted lines
    ntjess committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    e7c4a66 View commit details
    Browse the repository at this point in the history
  3. Raise default transparency for white and black backgrounds.

    This will more closely match the current default of `gray.lighten(50%)`
    ntjess committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    7328cd1 View commit details
    Browse the repository at this point in the history
  4. Allow arbitrary custom hiding modes.

    Convenient for one-time background colors that shouldn't incur a cumbersome registration to global state
    ntjess committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    1e7e537 View commit details
    Browse the repository at this point in the history
  5. Place box around output of cover-with-rect instead of body.

    This allows inline content to remain inline after being covered
    ntjess committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    3de393b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53db9d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    959d826 View commit details
    Browse the repository at this point in the history
  2. Allow covered content to optionally *not* convert to inline

    Consider the case of `cover-with-rect(block(...))`. This should explicitly be in its own block, but adding a box deterministically inside `cover` will promote this to inline content. Providing an optional argument allows block-level content to stay that way if desired. "inline" is still a sensible default, since paragraph breaks around a box will allow it to be its own block anyway.
    ntjess authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    6733e5e View commit details
    Browse the repository at this point in the history