Skip to content

Conversation

@rquadling
Copy link

The CSS prefix that is part of the theme takes precedence over the prefix
supplied to the converter.

Deprecates $prefix parameter from Theme::asCss()

It would be cumbersome to support a dynamic prefix at this late stage of
the rendering.

Tests updated to cover the following combinations.

  1. Using the default theme or a supplied theme, with and without its own css prefix.
  2. Using the default css prefix or a supplied prefix.
  3. Using inline styling or CSS.

Hopefully fixes #12

The CSS prefix that is part of the theme takes precedence over the prefix
supplied to the converter.

Deprecates $prefix parameter from Theme::asCss()

It would be cumbersome to support a dynamic prefix at this late stage of
the rendering.

Tests updated to cover the following combinations.

1. Using the default theme or a supplied theme, with and without its own
   css prefix.
2. Using the default css prefix or a supplied prefix.
3. Using inline styling or CSS.
Unit tests now provide 100% code coverage.
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

Successfully merging this pull request may close these issues.

Alternative css class naming doesn't work due to hardcoded values

1 participant