ktsu.ImGuiStyler 1.3.3-pre.19

Prefix Reserved
This is a prerelease version of ktsu.ImGuiStyler.
There is a newer version of this package available.
See the version list below for details.
dotnet add package ktsu.ImGuiStyler --version 1.3.3-pre.19
                    
NuGet\Install-Package ktsu.ImGuiStyler -Version 1.3.3-pre.19
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ktsu.ImGuiStyler" Version="1.3.3-pre.19" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ktsu.ImGuiStyler" Version="1.3.3-pre.19" />
                    
Directory.Packages.props
<PackageReference Include="ktsu.ImGuiStyler" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ktsu.ImGuiStyler --version 1.3.3-pre.19
                    
#r "nuget: ktsu.ImGuiStyler, 1.3.3-pre.19"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ktsu.ImGuiStyler@1.3.3-pre.19
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ktsu.ImGuiStyler&version=1.3.3-pre.19&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ktsu.ImGuiStyler&version=1.3.3-pre.19&prerelease
                    
Install as a Cake Tool

ImGuiStyler

ImGuiStyler is a utility library designed to simplify and enhance styling in ImGui. It provides scoped, reusable, and extensible components for aligning content, managing colors, styling text, and applying themes.

Features

  • Alignment: Center and align content effortlessly within containers.
  • Scoped Styling: Utilize scoped style variables for precise UI customizations.
  • Color Management: Convert and manipulate colors, ensuring optimal contrast.
  • Button Styling: Create and align buttons with ease.
  • Text Handling: Define and apply text colors and styles.
  • Theme Support: Apply cohesive themes to standardize the look and feel of your application.

Installation

Add the package references in your .csproj file:

<PackageReference Include="ktsu.ImGuiStyler" Version="1.0.36" />

Usage

Scoped Alignment

using ktsu.ImGuiStyler;
using System.Numerics;

// Center content within a region
string text = "Centered Text";
Vector2 textSize = ImGui.CalcTextSize(text);
using (new Alignment.Center(textSize))
{
    ImGui.Text(text);
}

Scoped Styling

using ktsu.ImGuiStyler;

using (new ScopedStyleVar(ImGuiStyleVar.FrameRounding, 5.0f))
{
    ImGui.Button("Styled Button");
}

Scoped Color

using ktsu.ImGuiStyler;

using (new ScopedColor(ImGuiCol.Text, Color.AmethystPurple))
{
    ImGui.Text("Colored Text");
}

Scoped Themes

using ktsu.ImGuiStyler;

using (new ScopedThemeColor(Color.AmethystPurple))
{
    ImGui.Text("Themed Text");
    ImGui.Button("Themed Button");
}

Contributing

Contributions are welcome! If you find a bug or have an idea for a feature, please submit an issue or a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or support, please open an issue or contact the maintainer through GitHub.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ktsu.ImGuiStyler:

Package Downloads
ktsu.ImGuiWidgets

A library of custom widgets using ImGui.NET and utilities to enhance ImGui-based applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.12 491 7/23/2025
1.3.11 482 7/23/2025
1.3.10 485 7/23/2025
1.3.9 481 7/22/2025
1.3.8 481 7/22/2025
1.3.7 483 7/22/2025
1.3.6 486 7/22/2025
1.3.5 483 7/22/2025
1.3.4 483 7/22/2025
1.3.3 83 7/18/2025
1.3.3-pre.20 109 7/9/2025
1.3.3-pre.19 262 6/11/2025
1.3.3-pre.18 127 5/20/2025
1.3.3-pre.15 78 5/17/2025
1.3.3-pre.14 127 5/16/2025
1.3.3-pre.13 200 5/15/2025
1.3.3-pre.12 196 5/14/2025
1.3.3-pre.11 200 5/13/2025
1.3.3-pre.10 227 5/12/2025
1.3.3-pre.9 169 5/11/2025
1.3.3-pre.8 110 5/10/2025
1.3.3-pre.7 49 5/9/2025
1.3.3-pre.6 119 5/8/2025
1.3.3-pre.5 121 5/7/2025
1.3.3-pre.4 116 5/6/2025
1.3.3-pre.3 120 5/5/2025
1.3.3-pre.2 120 5/4/2025
1.3.3-pre.1 121 5/4/2025
1.3.2 440 5/4/2025
1.3.2-pre.6 109 4/29/2025
1.3.2-pre.5 51 4/26/2025
1.3.2-pre.4 56 4/25/2025
1.3.2-pre.3 124 4/9/2025
1.3.2-pre.2 112 4/4/2025
1.3.2-pre.1 127 3/31/2025
1.3.1 557 3/30/2025
1.3.0 553 3/30/2025
1.2.1 93 3/29/2025
1.2.1-pre.5 79 3/29/2025
1.2.1-pre.4 453 3/25/2025
1.2.1-pre.3 125 3/12/2025
1.2.1-pre.2 69 2/18/2025
1.2.1-pre.1 76 2/17/2025
1.2.0 940 2/17/2025
1.1.1-pre.1 77 2/12/2025
1.1.0 559 2/6/2025
1.0.16-pre.3 67 2/6/2025
1.0.16-pre.2 65 2/5/2025
1.0.16-pre.1 67 2/5/2025
1.0.15 646 1/2/2025
1.0.15-pre.33 66 2/3/2025
1.0.15-pre.32 69 2/3/2025
1.0.15-pre.31 70 2/3/2025
1.0.15-pre.30 70 2/1/2025
1.0.15-pre.29 63 1/30/2025
1.0.15-pre.28 64 1/28/2025
1.0.15-pre.27 58 1/26/2025
1.0.15-pre.26 61 1/24/2025
1.0.15-pre.25 62 1/22/2025
1.0.15-pre.24 56 1/20/2025
1.0.15-pre.23 56 1/18/2025
1.0.15-pre.22 57 1/16/2025
1.0.15-pre.21 49 1/15/2025
1.0.15-pre.20 41 1/14/2025
1.0.15-pre.19 63 1/13/2025
1.0.15-pre.18 59 1/11/2025
1.0.15-pre.17 74 1/10/2025
1.0.15-pre.16 58 1/10/2025
1.0.15-pre.15 34 1/9/2025
1.0.15-pre.14 38 1/9/2025
1.0.15-pre.13 65 1/5/2025
1.0.15-pre.12 84 1/3/2025
1.0.15-pre.11 66 1/3/2025
1.0.15-pre.10 70 1/3/2025
1.0.15-pre.9 71 1/3/2025
1.0.15-pre.8 73 1/2/2025
1.0.15-pre.7 89 12/31/2024
1.0.15-pre.6 64 12/30/2024
1.0.15-pre.5 67 12/29/2024
1.0.15-pre.4 64 12/28/2024
1.0.15-pre.3 62 12/27/2024
1.0.15-pre.2 74 12/27/2024
1.0.15-pre.1 75 12/27/2024
1.0.14-pre.1 66 12/27/2024
1.0.13 209 12/26/2024
1.0.12 759 12/26/2024
1.0.11 102 12/26/2024
1.0.10 147 12/25/2024
1.0.10-pre.1 66 12/27/2024
1.0.9 266 12/23/2024
1.0.8 120 12/23/2024
1.0.7 96 12/23/2024
1.0.6 195 12/22/2024
1.0.5 172 12/19/2024
1.0.4 135 12/19/2024
1.0.3 154 12/18/2024
1.0.2 249 12/16/2024
1.0.1 178 12/13/2024
1.0.0 213 12/11/2024
1.0.0-alpha.69 91 12/10/2024
1.0.0-alpha.68 111 12/9/2024
1.0.0-alpha.67 72 12/9/2024
1.0.0-alpha.66 125 12/6/2024
1.0.0-alpha.65 131 12/5/2024
1.0.0-alpha.64 218 12/2/2024
1.0.0-alpha.63 62 12/2/2024
1.0.0-alpha.62 80 12/2/2024
1.0.0-alpha.61 63 12/2/2024
1.0.0-alpha.60 78 12/1/2024
1.0.0-alpha.59 110 12/1/2024
1.0.0-alpha.58 89 11/30/2024
1.0.0-alpha.57 98 11/29/2024
1.0.0-alpha.56 160 11/27/2024
1.0.0-alpha.55 115 11/26/2024
1.0.0-alpha.54 166 11/22/2024
1.0.0-alpha.53 134 11/21/2024
1.0.0-alpha.52 113 11/20/2024
1.0.0-alpha.51 147 11/18/2024
1.0.0-alpha.50 89 11/15/2024
1.0.0-alpha.49 135 11/14/2024
1.0.0-alpha.48 107 11/13/2024
1.0.0-alpha.47 200 11/8/2024
1.0.0-alpha.46 113 11/7/2024
1.0.0-alpha.45 103 11/6/2024
1.0.0-alpha.44 134 11/4/2024
1.0.0-alpha.43 252 11/1/2024
1.0.0-alpha.42 297 10/25/2024
1.0.0-alpha.41 134 10/21/2024
1.0.0-alpha.40 133 10/17/2024
1.0.0-alpha.39 221 10/10/2024
1.0.0-alpha.38 165 10/10/2024
1.0.0-alpha.37 137 10/7/2024
1.0.0-alpha.36 122 10/4/2024
1.0.0-alpha.35 207 9/30/2024
1.0.0-alpha.34 125 9/26/2024
1.0.0-alpha.33 101 9/25/2024
1.0.0-alpha.32 124 9/23/2024
1.0.0-alpha.31 122 9/20/2024
1.0.0-alpha.30 108 9/19/2024
1.0.0-alpha.29 102 9/19/2024
1.0.0-alpha.28 59 9/19/2024
1.0.0-alpha.27 56 9/19/2024
1.0.0-alpha.26 51 9/19/2024
1.0.0-alpha.25 82 9/19/2024
1.0.0-alpha.24 96 9/18/2024
1.0.0-alpha.23 67 9/18/2024
1.0.0-alpha.22 113 9/18/2024
1.0.0-alpha.21 65 9/18/2024
1.0.0-alpha.20 119 9/18/2024
1.0.0-alpha.19 230 9/14/2024
1.0.0-alpha.18 68 9/14/2024

## v1.3.3-pre.19

Initial release or repository with no prior history.