Bgのテクスチャにbackground-colorを設定し、background-blend-mode:color-burnを削除#27
Open
myakura wants to merge 1 commit intofec-tokyo:mainfrom
Open
Bgのテクスチャにbackground-colorを設定し、background-blend-mode:color-burnを削除#27myakura wants to merge 1 commit intofec-tokyo:mainfrom
background-colorを設定し、background-blend-mode:color-burnを削除#27myakura wants to merge 1 commit intofec-tokyo:mainfrom
Conversation
Bgのテクスチャ画像が場合によってとてもファイルサイズが大きく、読み込まれるのに時間がかかる可能性があった。背景色が白のままなので、画像の読み込み中はページがほぼ真っ白という問題を持っていた。 また、`background-blend-mode`は画像が1つ、背景色がないので意味がなかった(以前のコードやプロトタイピングでtexture.pngを使って合成していたものと推測される)。 以上を修正するべく、以下のことを行った。 * `background-color: var(--bg-light)`の設定で、フォールバックの背景を敷く * 不要だった`background-blend-mode`を削除する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bgのテクスチャ画像のサイズが大きく( #26 )、読み込まれるのに時間がかかる可能性があった。
しかし背景色が白のままなので、画像の読み込み中はページがほぼ真っ白という問題を持っていた。
また、
background-blend-modeは画像が1つ、背景色がないので意味がなかった(以前のコードやプロトタイピングでtexture.pngを使って合成していたものと推測される)。以上を修正するべく、以下のことを行った。
background-color: var(--bg-light)の設定で、フォールバックの背景を敷くbackground-blend-modeを削除する