feat: detect the application color scheme automatically based on common strategies (class based, data attr based)

オープン
#236 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@brionmario がすでに取り組んでいます。

2025年11月6日 から。

評価

この issue はまだ評価されていません。

説明

@asgardeo/react accessibility
Problem

If the color scheme is not explicitly passed, the SDK should intelligently try to resolve the applications theme based off of common patterns.

  • class based discovery: <html class"dark... (Tailwind use this)
  • Data attribute based discovery: `<html data-color-scheme"dark"...> (MUI)
Proposed Solution

Improve the theme detection algorithm.

Alternatives

N/A

Please select the package issue is related to

@asgardeo/react

Version

current

Reporter Checklist
  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have verified the feature on the latest version of the package.
主要言語
TypeScript
スター
18
フォーク
67
平均マージ
4時間 6分
マージ済み PR(30日)
13

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

asgardeo/javascript のほかの issue

asgardeo/javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。