Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AO3-6766 Allow color-scheme in skins #4928

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ SUPPORTED_CSS_PROPERTIES:
- clip
- color
- color-profile
- color-scheme
- content
- counter-increment
- counter-reset
Expand Down
2 changes: 1 addition & 1 deletion public/help/skins-creating.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
baseline-shift, behavior, binding, bookmark-label, bookmark-level,
bookmark-target, bottom, box-align, box-direction, box-flex,
box-flex-group, box-lines, box-orient, box-pack, box-shadow, box-sizing,
caption-side, clear, clip, color, color-profile, content,
caption-side, clear, clip, color, color-profile, color-scheme, content,
counter-increment, counter-reset, crop, cue, cue-after, cue-before,
cursor, direction, display, dominant-baseline,
drop-initial-after-adjust, drop-initial-after-align,
Expand Down
4 changes: 4 additions & 0 deletions spec/models/skin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@
background:linear-gradient(top,#fafafa,#ddd);
color:#555 }",

"allows color-scheme property and values" =>
".color_scheme_light { color-scheme: light; }
.color_scheme_only_dark { color-scheme: only dark; }",

"allows filter properties" =>
".filter_blur { filter: blur(5px); }
.filter_brightness { filter: brightness(0.4); }
Expand Down
Loading