-
Notifications
You must be signed in to change notification settings - Fork 500
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
Border color for element should fall back to value of base-border-color #2134
Comments
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
May 4, 2022
…or; control appearance of border on border-width value alone * if border-color for element is not set or nil, fall back to base-border-color * don't set default value for base_border_color key on theme object * change fallback value for table border color to base-border-color * change fallback value for thematic break stroke color to base-border-color * don't use base-border-width as fallback width for admonition column rule * interpret nil value in table border color array as transparent * interpret nil value in table border width array as 0
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
May 4, 2022
…or; control appearance of border on border-width value alone * if border-color for element is not set or nil, fall back to base-border-color * don't set default value for base_border_color key on theme object * change fallback value for table border color to base-border-color * change fallback value for thematic break stroke color to base-border-color * don't use base-border-width as fallback width for admonition column rule * interpret nil value in table border color array as transparent * interpret nil value in table border width array as 0
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
May 4, 2022
…or; control appearance of border on border-width value alone * if border-color for element is not set or nil, fall back to value of base-border-color * don't set default value for base_border_color and base_border_width keys on theme object * change fallback value for table border color to base-border-color * change fallback value for thematic break stroke color to base-border-color * don't use base-border-width as fallback width for admonition column rule * interpret nil value in table border color array as transparent * interpret nil value in table border width array as 0 * don't set border colors in base theme so they can be controlled using base-border-color when extending theme * set border width on sidebar in base theme
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
May 4, 2022
…or; control appearance of border on border-width value alone * if border-color for element is not set or nil, fall back to value of base-border-color * don't set default value for base_border_color and base_border_width keys on theme object * change fallback value for table border color to base-border-color * change fallback value for thematic break stroke color to base-border-color * don't use base-border-width as fallback width for admonition column rule * interpret nil value in table border color array as transparent * interpret nil value in table border width array as 0 * don't set border colors in base theme so they can be controlled using base-border-color when extending theme * set border width on sidebar in base theme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a border color (or column rule color) is not specified for an element, the value should fall back to base-border-color. This allows the border to be toggled solely through the width attribute. For example:
Although this won't impact the built-in themes, the behavior can make creating new themes easier.
The text was updated successfully, but these errors were encountered: