[GH-ISSUE #19] Global css scope affects elements outside sileo #13

Closed
opened 2026-03-02 05:16:32 +03:00 by kerem · 1 comment
Owner

Originally created by @simbesh on GitHub (Feb 18, 2026).
Original GitHub issue: https://github.com/hiaaryan/sileo/issues/19

Originally assigned to: @hiaaryan on GitHub.

github.com/hiaaryan/sileo@b851ddc685/src/styles.css (L458-L466)

breaking animation styles globally, should have scope reduced to just sileo:

@media (prefers-reduced-motion: reduce) {
	[data-sileo-viewport],
	[data-sileo-viewport] *,
	[data-sileo-viewport] *::before,
	[data-sileo-viewport] *::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
	}
}
Originally created by @simbesh on GitHub (Feb 18, 2026). Original GitHub issue: https://github.com/hiaaryan/sileo/issues/19 Originally assigned to: @hiaaryan on GitHub. https://github.com/hiaaryan/sileo/blob/b851ddc6856b9eb5e7b8f252b2917370661819ea/src/styles.css#L458-L466 breaking animation styles globally, should have scope reduced to just sileo: ```css @media (prefers-reduced-motion: reduce) { [data-sileo-viewport], [data-sileo-viewport] *, [data-sileo-viewport] *::before, [data-sileo-viewport] *::after { animation-duration: 0.01ms; animation-iteration-count: 1; transition-duration: 0.01ms; } }
kerem 2026-03-02 05:16:32 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@hiaaryan commented on GitHub (Feb 20, 2026):

Will be addressed in the upcoming update.

<!-- gh-comment-id:3932747080 --> @hiaaryan commented on GitHub (Feb 20, 2026): Will be addressed in the upcoming update.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sileo#13
No description provided.