Skip to content

Releases: BigJk/ImHTML

v0.4.0

07 Apr 15:22

Choose a tag to compare

  • #6 Fix em units regression
  • Improve handling of custom components
    • Allow styling to be applied directly to custom component
    • Support drawing of css border and background around/behind the custom component
  • Rework the layout of the example (main.cpp)
  • Refactor naming conventions

Example

image

Custom Components

<!-- before: Had to wrap with div -->
<div style="border: 1px solid green; height: 100px; width: 100px; padding: 15px; flex-shrink: 0"
    <custom-button
        text="Click me"
        tooltip="Tooltip"
    ></custom-button>
</div>

<!-- after: Style works directly on the component -->
<custom-button
    style="border: 1px solid green; height: 100px; width: 100px; padding: 15px; flex-shrink: 0"
    text="Click me"
    tooltip="Tooltip"
></custom-button>

v0.3.0

06 Apr 15:53
e19cdb8

Choose a tag to compare

Improvements by @woollybah:

  • #5 Support for newest litehtml version
  • #5 Font family support
  • #5 Gradient backgrounds

v0.2.0

08 Mar 18:35

Choose a tag to compare

Improvements by @KaruroChori:

  • #1 Header re-ordering
  • #2 Removed explicit dependency from litehtml in header
  • #4 Fix border, background, list icons, background color of body not working

Thanks to this borders and border radius work a lot better now!

v0.1.0

07 Nov 14:08

Choose a tag to compare

docs: added some more info

v0.0.2

05 Nov 14:49

Choose a tag to compare

fix: css loading

v0.0.1

03 Nov 18:58

Choose a tag to compare

feat: release workflow