0.0.13 • Published 1 month ago

adwavecss v0.0.13

Weekly downloads
-
License
-
Repository
github
Last release
1 month ago

ADWaveCSS

Adwaita/GTK inspired CSS for the web.

See examples here.

Usage

CSS styles are located in the dist/styles.css file. If used with esbuild or webpack and css loader or something similar it can be imported like this from a JavaScript file:

import "adwavecss/dist/styles.css";

JavaScript class name bindings

import ADWave from "adwavecss";

// Primary button
const button = document.createElement("button");
button.classList.add(ADWave.Button.button);
button.classList.add(ADWave.Button.primary);

// Switch
const switchElem = document.createElement("div");
const knob = document.createElement("div");
switchElem.classList.add(ADWave.Switch.switch);
knob.classList.add(ADWave.Switch.knob);
switchElem.appendChild(knob);

const toggleSwitch = () => {
  switchElem.classList.toggle(ADWave.Switch.active);
};

Components

See all components here.

0.0.13

1 month ago

0.0.11

3 months ago

0.0.12

3 months ago

0.0.10

3 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

6 months ago

0.0.6

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

7 months ago

0.0.1

7 months ago