[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211201094122.1c6fd83d@coco.lan>
Date: Wed, 1 Dec 2021 09:41:22 +0100
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Jonathan Corbet <corbet@....net>
Cc: linux-kernel@...r.kernel.org,
Jani Nikula <jani.nikula@...ux.intel.com>,
Randy Dunlap <rdunlap@...radead.org>,
Akira Yokosawa <akiyks@...il.com>
Subject: Re: [PATCH 0/1] Docs: use RTD dark mode if available
Em Wed, 1 Dec 2021 09:22:02 +0100
Mauro Carvalho Chehab <mchehab+huawei@...nel.org> escreveu:
> Hi Jon,
>
> As we're analyzing some theme alternatives, one of the things that annoys
> me more at our theme is that it doesn't come with a dark mode.
>
> At least here, I strongly prefer dark themes, as it seems to be a lot more
> comfortable to my eyes, specially in the morning.
>
> There's an extension to the RTD theme that allows building the docs with a
> dark theme, with a button to select normal mode.
>
> As this comes almost for free, optionally enable the dark mode extension if
> such theme is installed at the machine.
Too good to be true... It won't work properly, as:
1. Some of the css custom configs at sphinx-static define colors;
2. It sounds that this overlay to RTD theme is missing some classes,
as, at least here, function prototypes from driver-api/media/v4l2-async.html
are written with a black color over a dark gray background.
I'll do more tests. If I find a solution, I'll submit another version.
Thanks,
Mauro
Powered by blists - more mailing lists