light background colors became semi-transparent in v0.35, making them unreadable when they are stacked on top of other elements
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- css
- 領域
- frontend
調査の方向性
The report compares the generated .bg-azure-lt CSS in versions 0.34 and 0.35, but does not identify the source file or a test. Start by searching the repository for .bg-azure-lt and checking how the light-color variables are defined and generated. Done means determining whether the changed opacity is unintended and documenting or testing the expected behavior for stacked rows.
索引モデルが issue の本文から書いたものです。
説明
In my project I use the "Azure" SQLPage color in the last row of my table. I have noticed that there is a difference between behaviour between 0.34 and 0.35:
In 0.34, the css style assigned with my row is
.bg-azure-lt {
--tblr-bg-opacity: 1;
--tblr-text-opacity: 1;
color: rgba(var(--tblr-azure-rgb),var(--tblr-text-opacity)) !important;
background-color: rgba(var(--tblr-azure-lt-rgb),var(--tblr-bg-opacity)) !important;
}
which gives it a solid background color, while in 0.35 the css style is
.bg-azure-lt {
color: color-mix(in srgb,var(--tblr-azure) calc(var(--tblr-text-opacity,1) * 100%),transparent) !important;
background-color: color-mix(in srgb,var(--tblr-azure-lt) calc(var(--tblr-bg-opacity,1) * 100%),transparent) !important;
}
which results in a half-transparent background. Ofc this is irrelevant if the background behind the table row is 100% white, but if the row is sticky, then what happens is that two rows are rendered on top of each other.
I know very little CSS so I cannot understand if this is a bug or a feature... According to Firefox inspector, the --tblr-azure-lt is a color with alpha at 10% (90% transparency), --tblr-azure-lt-rgb is visually the same color but coded in RGB-only, no transparency applied to it.
So, the question is: is it normal that the behavior of the colors changed between 0.34 and 0.35? Is any one of those "correct" or are they both right in their own way?
- 主要言語
- Rust
- スター
- 2.6k
- フォーク
- 175
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 43
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sqlpage/SQLPage のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
sqlpage/SQLPage#1218 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
There is no convenient way to reproduce issues対応中かも @81reap が 26 日前に担当しました。 オープンenhancement
sqlpage/SQLPage#1566 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Confusing sort interface対応中かも @lovasoa が 73 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
sqlpage/SQLPage#1442 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Mutation Testing Results :: Dead Code + Missing Tests再び着手できるかも @81reap が 61 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
sqlpage/SQLPage#1396 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
sqlpage/SQLPage の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
symposium-dev/symposium#530 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
topgrade-rs/topgrade#2540 ·
メンテナーはふだん 1 日以内に返信
-
Invalid JSON options for ngram and edge_ngram silently use defaults対応中かも @Tilendlesa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
noemaforge/vimanam#153 ·
メンテナーはふだん 1 日以内に返信