gecko-dev/servo/components/style
Emilio Cobos Álvarez e50c80851e Bug 1734115 - Add basic support for dark form controls to nsNativeBasicTheme. r=mstange
For that:

 * Tweak the standin system colors to match the non-native theme.

 * Use those system colors for button and field backgrounds.

 * Rename the "should use system colors" bit to "is high contrast",
   which is what it really is (specially now that we use system colors
   also in non-high-contrast).

Border colors and other colors like the <input type=range> and such
might need some extra tweaking perhaps, but this is a decent start and
looks good in https://crisal.io/tmp/form-controls.html afaict (dark mode
toggle needs the color-scheme pref enabled of course).

Differential Revision: https://phabricator.services.mozilla.com/D127533
2021-10-05 14:40:52 +00:00
..
counter_style Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
gecko Bug 1633860: Place window control buttons on the right side on macOS when using an RTL system locale, regardless of the Firefox locale. r=mstange,emilio,harry 2021-09-22 18:51:20 +00:00
gecko_bindings Bug 1716045 - Unify font-family storage. r=mats,jfkthame 2021-06-18 19:35:50 +00:00
gecko_string_cache Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
invalidation Bug 1676782 - Part 2: Hook @scroll-timeline rule into style system. r=emilio 2021-09-17 20:25:36 +00:00
media_queries Bug 1708063 - Don't allow whitespace between media query operator delim tokens. r=boris 2021-05-01 21:04:47 +00:00
properties Bug 1732322 - Part 1 - Enable color-scheme CSS property in chrome sheets. r=emilio 2021-10-03 00:10:17 +00:00
rule_tree Backed out changeset 4c5f2e282204 (bug 1729421) for bc failures 2021-09-14 17:42:03 +03:00
servo Bug 1707597 - Garbage-collect event state bits. r=smaug 2021-04-26 15:46:52 +00:00
sharing Bug 1728851 - Add attributes to the rule hash. r=boris 2021-09-03 15:57:30 +00:00
stylesheets Bug 1732523 - Order keyframe rules by layer. r=firefox-style-system-reviewers,boris 2021-09-30 09:59:14 +00:00
use_counters
values Bug 1734115 - Add basic support for dark form controls to nsNativeBasicTheme. r=mstange 2021-10-05 14:40:52 +00:00
Cargo.toml Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
README.md
animation.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
applicable_declarations.rs Bug 1728754 - Plumb layer order through ApplicableDeclarationBlock, and make it have an effect. r=boris 2021-09-06 10:02:07 +00:00
attr.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
author_styles.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
bezier.rs
bloom.rs Bug 1728851 - Add attributes to the rule hash. r=boris 2021-09-03 15:57:30 +00:00
build.rs
build_gecko.rs Bug 1722652 - Setup bindgen flags for servo similarly to cranelift and neqo. r=emilio 2021-07-28 20:37:48 +00:00
context.rs Bug 1723791 - Upgrade to uluru 1.1.1. r=emilio 2021-08-04 10:07:56 +02:00
custom_properties.rs Bug 1713787 - Fix whitespace handling inside CSS variables. r=xidorn 2021-06-07 10:16:39 +00:00
data.rs Bug 1718337 - More fine-grained viewport units invalidation. r=layout-reviewers,jfkthame 2021-07-07 11:16:20 +00:00
dom.rs Bug 1719824 - Inline GeckoNode::prev_sibling. r=smaug 2021-07-09 15:22:59 +00:00
dom_apis.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
driver.rs Bug 1652560 - Remove the old profiler label frames code in the servo codebase and replace it with the new API r=emilio 2021-07-30 21:49:22 +00:00
element_state.rs Backed out changeset d3056dc50fe3 (bug 1707614) for causing devtools failures at browser_rules_colorpicker-release-outside-frame.js . CLOSED TREE 2021-04-28 16:08:31 +03:00
encoding_support.rs
error_reporting.rs Bug 1704179 - Add a CSS error to the console when using non-featureless :host selectors. r=boris 2021-04-15 09:33:58 +00:00
font_face.rs Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
font_metrics.rs
global_style_data.rs Bug 1690624 - Replace the old profiler thread registration FFIs with the new API in servo r=emilio 2021-06-09 11:22:56 +00:00
hash.rs
lib.rs Bug 1652560 - Remove the old profiler label frames code in the servo codebase and replace it with the new API r=emilio 2021-07-30 21:49:22 +00:00
logical_geometry.rs
macros.rs Bug 1652560 - Remove the old profiler label frames code in the servo codebase and replace it with the new API r=emilio 2021-07-30 21:49:22 +00:00
matching.rs
parallel.rs Bug 1652560 - Remove the old profiler label frames code in the servo codebase and replace it with the new API r=emilio 2021-07-30 21:49:22 +00:00
parser.rs
rule_cache.rs
rule_collector.rs Bug 1728754 - Plumb layer order through ApplicableDeclarationBlock, and make it have an effect. r=boris 2021-09-06 10:02:07 +00:00
scoped_tls.rs
selector_map.rs Bug 1728851 - Add attributes to the rule hash. r=boris 2021-09-03 15:57:30 +00:00
selector_parser.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
shared_lock.rs Bug 1731142 - Print lock address on assert. r=firefox-style-system-reviewers,layout-reviewers,boris 2021-09-21 01:56:30 +00:00
str.rs
style_adjuster.rs Bug 1717922 - Blockify outside markers at used value time rather than at computed value time. r=jfkthame 2021-07-15 11:23:19 +00:00
style_resolver.rs
stylesheet_set.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
stylist.rs Bug 1676784 - Part 1: Add animation-timeline longhand property in style system. r=emilio 2021-10-01 00:38:54 +00:00
thread_state.rs
traversal.rs
traversal_flags.rs

README.md

servo-style

Style system for Servo, using rust-cssparser for parsing.