Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | In the HTML diff output, honour the user's light/dark mode browser setting. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a2e6b31aa16c2000d02feb7f9fa82a7c |
User & Date: | danield 2023-12-08 10:20:09 |
Context
2023-12-08
| ||
10:20 | In the HTML diff output, honour the user's light/dark mode browser setting. ... (Leaf check-in: a2e6b31a user: danield tags: trunk) | |
2023-12-07
| ||
20:06 | Add the --dark option to "fossil diff --tk" ... (check-in: 5a8516df user: drh tags: trunk) | |
Changes
Changes to src/diffcmd.c.
︙ | ︙ | |||
307 308 309 310 311 312 313 314 315 316 317 318 319 320 | @ text-decoration: none; @ font-weight: bold; @ } @ td.difftxt ins > ins.edit { @ background-color: #c0c0ff; @ text-decoration: none; @ font-weight: bold; @ } @ @ </style> @ </head> @ <body> ; static const char zWebpageHdrDark[] = | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | @ text-decoration: none; @ font-weight: bold; @ } @ td.difftxt ins > ins.edit { @ background-color: #c0c0ff; @ text-decoration: none; @ font-weight: bold; @ } @ @media (prefers-color-scheme: dark) { @ body { @ background-color: #353535; @ color: #ffffff; @ } @ td.diffln ins { @ background-color: #559855; @ color: #000000; @ } @ td.diffln del { @ background-color: #cc5555; @ color: #000000; @ } @ td.difftxt del { @ background-color: #f9cfcf; @ color: #000000; @ } @ td.difftxt del > del { @ background-color: #cc5555; @ color: #000000; @ } @ td.difftxt ins { @ background-color: #a2dbb2; @ color: #000000; @ } @ td.difftxt ins > ins { @ background-color: #559855; @ } @ } @ @ </style> @ </head> @ <body> ; static const char zWebpageHdrDark[] = |
︙ | ︙ |