Files
servo/resources/resource_protocol/newtab.html
Ashwin Naren c044c7f116 Light mode for newtab page (#40272)
As requested, the mode changes per the preferences. I had to add a
shadow to fix the contrast on light mode (the colors/shadowing are
roughly similar to the firefox new tab page).

<img width="1136" height="880" alt="Screenshot 2025-10-29 at 11 38
49 AM"
src="https://github.com/user-attachments/assets/232e75a2-6a8c-4910-8b38-123e4d57dd87"
/>

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-11-03 18:50:57 +00:00

21 lines
719 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Servo - New Tab</title>
<link rel="stylesheet" href="resource:///newtab.css" />
</head>
<body>
<a href="https://servo.org">
<img class="light" src="resource:///servo-color-positive-no-container.svg" draggable="false"/>
<img class="dark" src="resource:///servo-color-negative-no-container.svg" draggable="false"/>
</a>
<form action="https://duckduckgo.com/html/">
<input name="q" placeholder="Search the web…" autofocus />
<button type="submit">Go!</button>
</form>
<a href="https://servo.org">Home</a>
</body>
</html>