Giter VIP home page Giter VIP logo

adwaita.css's Introduction

Adwaita.CSS: libadwaita for web applications

TL;DR: This stylesheet mimics latest Adwaita (libadwaita style). See the live demo to see results.

A stylesheet that makes native HTML elements look like they came straight from the GNOME desktop.

Adwaita.CSS Live Demo Adwaita.CSS Live Demo

Bug reports/missing elements/etc

Install

Release

See Releases for instructions.

It is recommended to use the latest stable version.

Development

Add the following to your HTML <head>:

<link rel="stylesheet" href="https://raw.githubusercontent.com/TylerMS887/adwaita.css/main/adwaita.css">

A minimal (single line) version is also available:

<link rel="stylesheet" href="https://raw.githubusercontent.com/TylerMS887/adwaita.css/main/adwaita.min.css">

This imports the current work on Adwaita.CSS. It is not recommended to deploy your website while targeting the main branch instead of a release.

Classes

Adwaita.CSS requires some classes to style select elements. These classes are used by the stylesheet.

  • checkmark: This is used by the style to indicate checkboxes. See the code in index.html for an example.

adwaita.css's People

Contributors

rickbot-dot avatar

Stargazers

Youssef Sahli avatar Carlito Platanito avatar 刘亚涛 avatar Jan Fooken avatar Luis Bizarro avatar Jon Che avatar Hemish avatar Ворон avatar LinuxNewbie avatar

Watchers

 avatar

adwaita.css's Issues

Todo

Adwaita.CSS is not a complete Libadwaita style. Some elements look like what they are in vanilla HTML. This todo helps with tracking progress.

Theming and Accessibility

  • Dark theme with mostly dark design elements (pull request)
  • High contrast support with borders
  • System UI font according to the GNOME HIG

Elements

  • body: Increased padding around HTML content
  • dialog: Libadwaita dialogues with shadows and rounded corners
  • button: Libadwaita buttons
  • select: Libadwaita combo boxes
  • input: Libadwaita inputs (work in progress)
    • input="checkbox"
    • #4
    • #6

NOTE: Adwaita.CSS does not extend HTML. If you would like to add more features to HTML, please use JavaScript DOM.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.