Re: [csswg-drafts] [css-color-adjust-1] possible future <custom-ident> value 'sepia' (#3853)

The CSS Working Group just discussed `possible future <custom-ident> value 'sepia'`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: possible future &lt;custom-ident> value 'sepia'<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/3853<br>
&lt;dael> AmeliaBR: Brought up fairly early on<br>
&lt;dael> AmeliaBR: If we're talking about other color schemes a likely example is sepia<br>
&lt;dael> AmeliaBR: afaik every browser with a reading mode has a sepia color scheme with a creamy beige bg and dark gray text<br>
&lt;dael> AmeliaBR: Color scheme is popular based on readability studies<br>
&lt;dael> AmeliaBR: Also used on some websites as their own style, like Financial Times<br>
&lt;dael> AmeliaBR: One thing missing is we don't have any UA or OSs with sepia scheme form elements and widgets<br>
&lt;dael> florian: Not sure, but I suspect these exist in ebook readers<br>
&lt;dael> dauwhe: Really common in ebook, but I don't think many have form controls<br>
&lt;dael> myles: Reader mode in safari is picky about styles it lets through to reader mode. Do others work the same or do they dump the styles into reader mode?<br>
&lt;dael> AmeliaBR: I think same in that they override most styles to apply reader mode color scheme<br>
&lt;dbaron> It's not clear to me why this should be distinguished from 'light'.<br>
&lt;dael> AmeliaBR: We're talking about creating an option so on the main page a website could opt into those defaults so if user prefers them it can be on top. Wouldn't change whichs styles get into reader mode<br>
&lt;dbaron> I don't know how Firefox reader mode works.<br>
&lt;dael> myles: I'm trying to understand difference between a regular page like FT with a speia scheme compared to reader mode where browser supplies most of the styles. Neither use case needs this<br>
&lt;dbaron> This sounds like making up use cases.<br>
&lt;dael> AmeliaBR: Use case is responding to user preference. Being able to have a named color scheme that you could ask prefers sepia from prefers light. They're different in terms of reader experiences.<br>
&lt;Rossen_> q?<br>
&lt;dael> AmeliaBR: On your website using color scheme property being able to say these styles work with light or sepia, whichever user prefers<br>
&lt;dael> TabAtkins: myles point is arbitrary webpages where users can want to view light or dark. Arbitrary pages is sepia seems a lot smaller. reader mode replaces everything already. I haven't seen reader systems that do substanital css styling.<br>
&lt;dael> TabAtkins: Those being specializes systems can do overrides on their own. DOn't need arbitrary webages to sepia<br>
&lt;dael> florian: If sepia form controls are a thing FT might want to opt in<br>
&lt;tantek> colorizing form controls is the easiest thing to customize about form controls<br>
&lt;dael> florian: AmeliaBR you've been saying this controls form contorls and refault colors. Does it actually do that?<br>
&lt;dauwhe> q+<br>
&lt;tantek> confused by that assertion about sepia form controls<br>
&lt;dael> TabAtkins: Supposed to<br>
&lt;dael> AmeliaBR: florian's question, yes. If you set a color scheme on the root element then default background and text color should match that scheme.<br>
&lt;dael> florian: Thanks<br>
&lt;jensimmons> q+<br>
&lt;dael> dbaron: I still don't see why this is different from light. These schemes in reader mode are generally light colored. I don't see reason why not same as light.<br>
&lt;dael> AmeliaBR: I brought up reader as an example where this sceheme is popular. readers and ebooks offer sepia distinct from light so it means readers find these things different.<br>
&lt;Rossen_> ack dbaron<br>
&lt;dael> AmeliaBR: As a reader if I had a preference on a website to use sepia I would use that. Given it's popular in other reading environments i"m not the only.<br>
&lt;dael> AmeliaBR: Form control maybe light makes sense to use in both. but it's knowing difference between light and sepia<br>
&lt;dael> dbaron: You could have a light with sepia-ish settings<br>
&lt;dael> TabAtkins: Or a black on white and lighter and both trigger from white<br>
&lt;dael> AmeliaBR: How would an author respond?<br>
&lt;tantek> one possible difference between "light reader" and "sepia reader" is treatment of color images - I'd expect the latter to sepia-ize images, but not the former<br>
&lt;tantek> images, thus background images, decorative images etc.<br>
&lt;dael> TabAtkins: MQ can offer finer grained. If you want to address sepia tones when can provide that so a page can opt into that.<br>
&lt;AmeliaBR> tantek, I don't think that happens. THis is about typography colors.<br>
&lt;dael> TabAtkins: Agree with dbaron now, it's a good point, need an argument why color sheme property needs more than those two. It's generally light or generally dark. Page doesn't know if it's high contrast light or sepia light.<br>
&lt;dael> AmeliaBR: Good argument. Add color scheme in the media query but consider it light in color scheme?<br>
&lt;dael> TabAtkins: Yes. Light and dark are super categories. As we ID useful others they're sub categories we add to the MQ only<br>
&lt;Rossen_> q?<br>
&lt;dael> AmeliaBR: It's a practical solution that addresses use cases. Rethinking how property and MQ relate is required. Need to start thinking what the subsets mean for the MQ. What does it mean to prefer sepia but if it's not available light is better than dark. Ranking might come in<br>
&lt;dael> AmeliaBR: Maybe try and find some time at F2F to think that it might look like<br>
&lt;dbaron> I'm still not convinced about the need to add this to the media query, at least as a keyword for the existing one.  Maybe media queries against characteristics of system colors?<br>
&lt;dael> AmeliaBR: Having prefers color scheme for sepia is the biggest advantage. Sepia form elements aren't a high priority for me.<br>
&lt;dael> dauwhe: This is a problem ebook has facer to balance user preference with content authors desire. epubs do a bunch of hacks. Even though these sound difficult I'm happy we're trying to talk about them.<br>
&lt;dauwhe> ack dauwh<br>
&lt;Rossen_> ack jensimmons<br>
&lt;dael> jensimmons: Mostly have questions, but I can ask at F2F<br>
&lt;florian> q+<br>
&lt;dael> jensimmons: We'll figure out the right balance between not overengineering and giving needed power. Open questions on how user of webpage spec what they want and will browsers provide those controls. Will designers design for many color systems? I'll ask these at F2F.<br>
&lt;dauwhe> https://github.com/readium/readium-css/blob/develop/css/src/modules/ReadiumCSS-sepia_mode.css<br>
&lt;dael> Rossen_: florian can we postpone to F2F?<br>
&lt;dael> florian: I thought F2F was MQ. My question is when we set property on root and it opts you into the correct color. If you say dark you get dark but when that means different colors you often have different foreground and background. But then you have image with background it looks bad in sepia. If you say light you might not be fine with any light, you'd look bad with sepia.<br>
&lt;dael> TabAtkins: I think that's exactly the deal we'll go with. Need to craft language. If you need white them spec white, if you're fine with anything light then use color scheme and you're good to good. Right now you have no way of knowing what type of light. It could be white, off white...problem exists today. You should set an explicit color if you need one<br>
&lt;tantek> iOS has grayscale, red/green filter (Protanopia), green/red filter (Deuteranopia), blue/yellow filter (Tritanopia), and "color tint"<br>
&lt;jensimmons> Web designers are not going to let go of control to the extent that ya'll are imaging they will.... things to debate about this over dinner &amp; such next week.<br>
&lt;tantek> in the "Color Filters" setting inside "Display Accomodations" inside "Accessibility" inside "General" in "Settings"<br>
&lt;dael> AmeliaBR: Getting into last issue, if people test in current browsers light mode has a white background and people aren't planning for future. Need to warn people what is and isn't guar in color scheme<br>
&lt;dbaron> FWIW, browser default color backgrounds used to be gray rather than white, but basically all sites set a white background, so browsers changed...<br>
&lt;dael> Rossen_: Current issue as proposed I'm hearing pushback.<br>
&lt;dael> TabAtkins: There were just more details. I'll write up in issue and we'll discuss at F2F<br>
&lt;dael> Rossen_: I'll change label to F2F agenda<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3853#issuecomment-497015252 using your GitHub account

Received on Wednesday, 29 May 2019 16:40:23 UTC