Skip to content

Commit 95e76c5

Browse files
Merge pull request #178 from logicallysynced/chromatics-4.0.x
Chromatics 4.0.0 - Refactor of codebase & New UI
2 parents 3af92a7 + 6e9cb7f commit 95e76c5

246 files changed

Lines changed: 29726 additions & 21529 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Normalize line endings: LF in the repo, CRLF in the working tree on Windows.
2+
# This suppresses the "LF will be replaced by CRLF" warnings and keeps diffs clean.
3+
* text=auto eol=crlf
4+
5+
# Shell scripts and Python tools must stay LF so they run on Unix/CI.
6+
*.sh text eol=lf
7+
*.py text eol=lf
8+
9+
# True binary files — never touch line endings.
10+
*.png binary
11+
*.jpg binary
12+
*.ico binary
13+
*.dll binary
14+
*.exe binary
15+
*.zip binary
16+
*.nupkg binary

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "nuget"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
groups:
8+
# RGB.NET releases all packages together — group them into one PR.
9+
rgb-net:
10+
patterns:
11+
- "RGB.NET*"
12+
avalonia:
13+
patterns:
14+
- "Avalonia*"
15+
# Sharlayan is currently a local DLL reference (not on NuGet). Once it is
16+
# switched back to a NuGet package it will be covered automatically here.
17+
18+
- package-ecosystem: "github-actions"
19+
directory: "/"
20+
schedule:
21+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master, 'chromatics-4.0.x', 'chromatics-4.*']
6+
pull_request:
7+
branches: [master, 'chromatics-4.0.x', 'chromatics-4.*']
8+
9+
jobs:
10+
build-and-test:
11+
# GDI + WASAPI loopback means the project targets
12+
# net10.0-windows7.0 and can only build on a Windows runner.
13+
runs-on: windows-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v6
18+
19+
- name: Setup .NET 10
20+
uses: actions/setup-dotnet@v5
21+
with:
22+
dotnet-version: '10.0.x'
23+
24+
- name: Restore
25+
run: dotnet restore Chromatics.sln
26+
27+
- name: Build (Release, no restore)
28+
run: dotnet build Chromatics.sln --configuration Release --no-restore --nologo
29+
30+
- name: Test (Release, no build)
31+
run: dotnet test Chromatics.Tests/Chromatics.Tests.csproj --configuration Release --no-build --nologo --verbosity normal

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33

4+
# Claude Code / editor agent local state (also holds CHANGES.md and
5+
# DESIGN_REFACTOR.md — local-only refactor notes, not committed)
6+
.claude/
7+
8+
# Sharlayan is now consumed via NuGet (prerelease). The loose-DLL build
9+
# folder is local-only and must not be committed.
10+
Build Dependencies/Sharlayan/
11+
12+
# Project-scoped MCP server configuration. Local-only — contains personal
13+
# tool wiring (Sentry hosted MCP) that's specific to maintainer accounts.
14+
.mcp.json
15+
16+
# Python bytecode cache (prebuild.py / prepareUpdate.py live at repo root)
17+
__pycache__/
18+
*.pyc
19+
420
# User-specific files
521
*.suo
622
*.user
@@ -218,3 +234,5 @@ GeneratedArtifacts/
218234
_Pvt_Extensions/
219235
ModelManifest.xml
220236
*.snk
237+
238+
.fake
-16.5 KB
Binary file not shown.
-657 KB
Binary file not shown.
-398 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
All notable changes to Chromatics are documented here.
4+
5+
## 4.0.28
6+
7+
_Release notes coming soon._
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application xmlns="https://github.com/avaloniaui"
2+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3+
x:Class="Chromatics.DecoratorHarnessUI.App"
4+
RequestedThemeVariant="Light">
5+
<Application.Styles>
6+
<FluentTheme DensityStyle="Normal" />
7+
<StyleInclude Source="avares://Avalonia.Controls.ColorPicker/Themes/Fluent/Fluent.xaml" />
8+
</Application.Styles>
9+
</Application>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using Avalonia;
2+
using Avalonia.Controls.ApplicationLifetimes;
3+
using Avalonia.Markup.Xaml;
4+
5+
namespace Chromatics.DecoratorHarnessUI;
6+
7+
public class App : Application
8+
{
9+
public override void Initialize() => AvaloniaXamlLoader.Load(this);
10+
11+
public override void OnFrameworkInitializationCompleted()
12+
{
13+
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
14+
desktop.MainWindow = new MainWindow();
15+
16+
base.OnFrameworkInitializationCompleted();
17+
}
18+
}

0 commit comments

Comments
 (0)