Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dotnet build ThemeProvider/ThemeProvider.csproj
dotnet build -c Release

# Run the demo application (requires .NET 10)
dotnet run --project ThemeProviderDemo
dotnet run --project ThemeProvider.Demo
```

## Project Structure
Expand All @@ -41,15 +41,15 @@ This is a .NET library (`ktsu.ThemeProvider`) providing a semantic color theming
- `ThemeProvider/ColorRange.cs` - Color range interpolation helper (built on `ktsu.Semantics.Color`)
- `ThemeProvider/Themes/` - 38 theme implementations organized by family
- `ThemeProvider.ImGui/ImGuiPaletteMapper.cs` - Dear ImGui integration mapping ImGuiCol to Vector4
- `ThemeProviderDemo/Program.cs` - Interactive demo application using ktsu.ImGuiApp
- `ThemeProvider.Demo/Program.cs` - Interactive demo application using ktsu.ImGuiApp

### Dependencies

- **ktsu.Semantics.Color** - Color value types and color science (`Color`, Oklab/Oklch/HSL/HSV, WCAG, gradients)
- **Polyfill** - Backfill support for newer .NET APIs on older targets
- **System.Numerics.Vectors** - Vector types for netstandard2.0 target
- **Hexa.NET.ImGui** - Dear ImGui bindings (ThemeProvider.ImGui project)
- **ktsu.ImGui.App** - ImGui application framework (ThemeProviderDemo only)
- **ktsu.ImGui.App** - ImGui application framework (ThemeProvider.Demo only)

## Architecture

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2023-2026 ktsu-dev contributors

namespace ktsu.ThemeProviderDemo;
namespace ktsu.ThemeProvider.Demo;

using System.Collections.Generic;
using System.Collections.ObjectModel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks></TargetFrameworks>
<!-- ktsu.Sdk.App already leaves a WinExe unpacked; saying so here keeps the demo unpublishable
if the project ever stops being an app. -->
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion ThemeProvider.ImGui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var imguiColors = imguiMapper.MapTheme(theme);

## Examples

See the [ThemeProviderDemo](../ThemeProviderDemo/) project for a complete working example showcasing:
See the [ThemeProvider.Demo](../ThemeProvider.Demo/) project for a complete working example showcasing:

- Theme overview and color exploration
- Semantic color specification builder
Expand Down
2 changes: 1 addition & 1 deletion ThemeProvider.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VisualStudioVersion = 17.14.36310.24
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ThemeProvider", "ThemeProvider\ThemeProvider.csproj", "{E1F39D5E-2B7C-475C-9A78-10342D3E0173}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ThemeProviderDemo", "ThemeProviderDemo\ThemeProviderDemo.csproj", "{2E37C5EA-2CF0-4087-8EAB-DEE735DF9077}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ThemeProvider.Demo", "ThemeProvider.Demo\ThemeProvider.Demo.csproj", "{2E37C5EA-2CF0-4087-8EAB-DEE735DF9077}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ThemeProvider.ImGui", "ThemeProvider.ImGui\ThemeProvider.ImGui.csproj", "{B7E91ECF-8C33-4F62-B092-EEDD315BC29A}"
EndProject
Expand Down
Loading