facebook / facebook/docusaurus

Make theme desktop responsive breakpoint configurable

オープン
#9,603 コメント 7 件 リアクション 10 件 担当者 0 名 GitHub で見る
proposal
主要言語
TypeScript
スター
66.2k
フォーク
10k
平均マージ
1日 3時間
マージ済み PR(30日)
52

説明

### Have you read the Contributing Guidelines on issues?

- [X] I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#issues).

### Motivation

See
- https://github.com/facebook/docusaurus/pull/9261
- https://github.com/facebook/docusaurus/pull/9335

People want to be able to configure easily the 996px desktop breakpoint.

It's not easy currently because the value is hardcoded in both the JS side, but also CSS side (inside Infima directly), cf my comment https://github.com/facebook/docusaurus/pull/9261#issuecomment-1700876844

We should make this easier to achieve without requiring swizzling.

### Self-service

- [X] I'd be willing to do some initial work on this proposal myself.

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

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

評価

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

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

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