Skip to content

feat(display-settings): add CSS theme presets#1598

Merged
piorpua merged 1 commit intoiOfficeAI:mainfrom
Asunfly:feat/discourse-horizon-theme
Mar 20, 2026
Merged

feat(display-settings): add CSS theme presets#1598
piorpua merged 1 commit intoiOfficeAI:mainfrom
Asunfly:feat/discourse-horizon-theme

Conversation

@Asunfly
Copy link
Copy Markdown
Contributor

@Asunfly Asunfly commented Mar 20, 2026

Summary

  • add Discourse Horizon and Glittering Input Field as built-in CSS theme presets
  • normalize the new Glittering preset filename to the existing kebab-case.css convention
  • keep preset structure tests aligned with the expanded preset set

Changes

  • register the two new preset themes in DisplaySettings/presets.ts
  • add the corresponding raw CSS preset files under DisplaySettings/presets/
  • update cssThemePresets.test.ts so the preset file inventory stays synchronized

Related Issue

Closes #1597

Test Plan

  • bunx oxlint --fix
  • bunx oxfmt . --write
  • bunx tsc --noEmit
  • bun run test
  • bun run test:coverage

@sentry
Copy link
Copy Markdown

sentry bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d181519980

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@piorpua piorpua merged commit 26861a7 into iOfficeAI:main Mar 20, 2026
14 checks passed
@Asunfly Asunfly deleted the feat/discourse-horizon-theme branch March 27, 2026 08:44
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.

feat(display-settings): add discourse horizon and glittering input field presets

2 participants