gruvbox-css: a hackery CSS theme for lazy people

 4 years ago
source link: https://www.tuicool.com/articles/RziiMrZ
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


This is a CSS file I've been working on for a few years off and on. It is a simple CSS theme that emulates Gruvbox with automatic support for light mode using the light mode CSS media query .

HTML Skeleton

<!DOCTYPE html>
        <title>Page Title</title>
        <link rel="stylesheet" href="/static/gruvbox.css">
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <body id="top">
            <h1>Page title</h1>

            <p>Hello! this is an example page using <a href="https://github.com/Xe/gruvbox-css">gruvbox-css</a></p>
            <blockquote>When in doubt, create another framework</blockquote>
            <p>Select this text to see what happens!</p>

                <p>CSS available under the MIT license.</p>

Dark Mode


Light Mode


About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK