From 21905b090e4da16731c43362fb9aaf88e1554744 Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 14 Jan 2024 20:12:26 +0700 Subject: [PATCH] refactor: Pico v2 HTML example --- README.md | 4 +- v2-html/README.md | 2 +- v2-html/index.html | 6 +-- v2-html/js/minimal-theme-switcher.js | 17 +++------ v2-html/js/modal.js | 57 ++++++++++------------------ 5 files changed, 31 insertions(+), 55 deletions(-) diff --git a/README.md b/README.md index 72ab013..0c515bc 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ Minimalist templates to discover Pico in action:
Pico v2 examples -- **[HTML](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-html)** - A pure HTML example for Pico CSS +- **[Preview](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-html?file=%2Findex.html)** + A pure HTML example, without package manager or JavaScript. - **[React](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-react)** A minimalist React example with Pico CSS diff --git a/v2-html/README.md b/v2-html/README.md index 5e83349..22851c9 100644 --- a/v2-html/README.md +++ b/v2-html/README.md @@ -7,6 +7,6 @@ | ----- | ----- | | 2 | HTML | -A starter example with most of the Pico components and styles. +A pure HTML example, without package manager or JavaScript. [![Open in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-html) diff --git a/v2-html/index.html b/v2-html/index.html index 16e1533..9a991e0 100644 --- a/v2-html/index.html +++ b/v2-html/index.html @@ -3,12 +3,12 @@ + Preview • Pico CSS - @@ -23,7 +23,7 @@

Pico

-

A starter HTML example for Pico CSS.

+

A pure HTML example, without package manager or JavaScript.