Compare commits

..

383 commits

Author SHA1 Message Date
Lucas Larroche
1039a4788d
Merge pull request #662 from picocss/dev
v2.1.1
2025-03-15 13:44:28 +07:00
Lucas Larroche
ceb77006f0 chore: bump version to v2.1.1 2025-03-15 13:40:45 +07:00
Lucas Larroche
76440e6db4 chore: build 2025-03-15 13:33:12 +07:00
Lucas Larroche
651e89ea5f Revert "fix: don't count hidden rows in table stripes"
This reverts commit 72e469942e.
2025-03-15 13:26:30 +07:00
Lucas Larroche
2e66cc8b0c
Merge pull request #658 from picocss/dev
v2.1.0
2025-03-15 12:36:24 +07:00
Lucas Larroche
79d239a67b chore: bump version to v2.1.0 2025-03-15 12:31:53 +07:00
Lucas Larroche
9165905b08 chore: lint 2025-03-15 12:16:33 +07:00
Lucas Larroche
bad6cafd5a chore: upgrade dependencies 2025-03-15 12:04:10 +07:00
Lucas Larroche
537e3aedc2 refactor: replace deprecated global functions to fix Sass warnings 2025-03-15 12:03:28 +07:00
Lucas Larroche
0a77e6f335 refactor: replace deprecated color functions to fix Sass warnings 2025-03-15 11:51:28 +07:00
Lucas Larroche
64bfd3d797 chore: remove unnecessary Node.js version files 2025-03-10 00:49:16 +07:00
Lucas Larroche
b321a0b25f chore: remove unnecessary node version constraint 2025-03-09 21:09:55 +07:00
Lucas Larroche
1e8fd28a91 chore: update Twitter url to X 2025-03-09 21:00:06 +07:00
Lucas Larroche
0674def2eb chore: upgrade dependencies 2025-03-09 20:31:05 +07:00
Lucas Larroche
fece679452 chore: build 2025-03-09 20:24:39 +07:00
Lucas Larroche
c38b5180a2
Merge pull request #587 from panda-madness/patch-1
Remove dotted border on [role=button] elements with a tooltip
2025-03-09 20:23:55 +07:00
Lucas Larroche
4a0fd59dab chore: remove silence SASS deprecation mixed-decls
Following #596
2025-03-09 20:14:04 +07:00
Lucas Larroche
4e474076ab chore: build 2025-03-09 20:13:04 +07:00
Lucas Larroche
1d1006e8e1
Merge pull request #596 from nstringham/mixed-sass-declarations
refactor: move nested sass declarations after non-nested declarations
2025-03-09 20:10:47 +07:00
Lucas Larroche
e66b84b53e Merge branch 'dev' into pr/596 2025-03-09 20:09:48 +07:00
Lucas Larroche
27e7a04746 Merge branch 'dev' of https://github.com/picocss/pico 2025-03-09 20:09:32 +07:00
Lucas Larroche
69f3dcf4e5 chore: build 2025-03-09 14:58:31 +07:00
Lucas Larroche
96ad16eef1
Merge pull request #615 from mwargan/patch-1
Fix details inside drop-down being rendered as dropdown
2025-03-09 14:57:34 +07:00
Lucas Larroche
d44f6d373f chore: build 2025-03-09 14:45:47 +07:00
Lucas Larroche
bd06c1cbfd
Merge pull request #625 from coezbek/main
Update _loading.scss not to affect form elements itself
2025-03-09 14:44:46 +07:00
Lucas Larroche
5c493e647e chore: build 2025-03-09 14:37:42 +07:00
Lucas Larroche
4b57da2f89
Merge pull request #585 from feored/fix-striped-table
fix: don't count hidden rows in table stripes
2025-03-09 14:36:33 +07:00
Lucas Larroche
6ea953093f chore: upgrade dependencies 2025-03-09 14:27:39 +07:00
Lucas Larroche
f096142b41
Merge pull request #603 from picocss/dependabot/npm_and_yarn/micromatch-4.0.8
chore(deps): bump micromatch from 4.0.5 to 4.0.8
2025-03-09 14:03:40 +07:00
Lucas Larroche
cb1e8ce3ea
Merge pull request #636 from picocss/dependabot/npm_and_yarn/cross-spawn-6.0.6
chore(deps): bump cross-spawn from 6.0.5 to 6.0.6
2025-03-09 14:03:15 +07:00
Lucas Larroche
b5dd2c01fb chore: build 2025-03-09 14:00:32 +07:00
Lucas Larroche
559213c118
Merge pull request #644 from ISSOtm/patch-1
Style the `samp` element like `code`
2025-03-09 13:59:06 +07:00
Lucas Larroche
ae9f842ece chore: build 2025-03-09 13:14:52 +07:00
Lucas Larroche
d2338228ed
Merge pull request #641 from rcoup/web-components-host
Support web components/shadow DOM
2025-03-09 13:13:37 +07:00
Lucas Larroche
4311b36a7b
Merge pull request #538 from Rotzbua/fix_slash_void_element
fix(docs): remove trailing slash from html5 void elements
2025-03-09 12:54:13 +07:00
Lucas Larroche
bbe3cdd05c
Merge pull request #613 from preist/fix-typos
Fix several typos throughout the project
2025-03-09 12:45:15 +07:00
Lucas Larroche
8b6fe747bc chore: build 2025-03-09 12:18:40 +07:00
Lucas Larroche
4c3743e67d
Merge pull request #528 from Zurga/fix/modal_with_card
fix: Card in modal does not use modal styling
2025-03-09 12:17:39 +07:00
Lucas Larroche
9b58221407 chore: upgrade dependencies 2025-03-09 11:14:33 +07:00
Eldred Habert
26e7cf9fb1
Style the samp element like code
Following Pico's philosophy of “give semantic HTML good styling”,
this element has semantics close to but slightly different from `<code>`,
and so I believe should be styled similarly.
2024-12-14 10:50:38 +01:00
Robert Coup
02c9fb69da
Support web components/shadow DOM.
Add :host to all uses of :root
2024-12-03 10:26:56 +00:00
dependabot[bot]
77c5c1d3c5
chore(deps): bump cross-spawn from 6.0.5 to 6.0.6
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 6.0.5 to 6.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/v6.0.6/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v6.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 01:02:37 +00:00
Christopher Özbek
b3a731bb39
Update _loading.scss not to affect form elements itself 2024-10-31 18:03:57 +01:00
Michał
6f3abc2cb6
Fix details inside drop-down being rendered as dropdown
Given a dropdown that contains an accordion within it, the accordion renders as a dropdown because the summary selector also selects the children of a dropdown element. This fixes that so it renders as expected.

```
<details class="dropdown">
   <summary> Select a phase of matter... </summary>
   <ul>
      <li>
         <details>
            <summary> This is a dropdown option </summary>
            <ul>
               <li><label><input type="radio" name="phase" value="gas"> Gas </label></li>
               <li><label><input type="radio" name="phase" value="plasma"> Plasma </label></li>
            </ul>
         </details>
      </li>
   </ul>
</details>
```
2024-09-28 11:52:54 +02:00
Igor Putina
dc7f6d0a07 Fix several typos throughout the project 2024-09-27 23:45:54 +03:00
dependabot[bot]
3e72ebfd7a
chore(deps): bump micromatch from 4.0.5 to 4.0.8
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-08 05:15:28 +00:00
Nate Stringham
f51620738f chore: build 2024-08-18 13:13:30 -04:00
Nate Stringham
c3bcecbe55 refactor: move nested declarations after non-nested declarations
see https://sass-lang.com/documentation/breaking-changes/mixed-decls/

fix #577
2024-08-18 13:10:18 -04:00
Margulan
6fabc27b19
Update _tooltip.scss 2024-08-06 09:47:49 +05:00
feored
72e469942e fix: don't count hidden rows in table stripes 2024-08-03 21:41:20 +02:00
Rotzbua
f15bde6067
fix(docs): remove trailing slash from html5 void elements 2024-05-07 22:31:10 +02:00
Jim Lemmers
0810f1e779 fix: Card in modal does not use modal styling 2024-04-26 15:43:34 +02:00
Lucas Larroche
6dc6489e69
Merge pull request #481 from picocss/dev
v2.0.6
2024-03-03 22:09:25 +07:00
Lucas Larroche
f943d2a264 fix: switch aspect ratio and border 2024-03-03 22:04:36 +07:00
Lucas Larroche
8d2a880036
Merge pull request #480 from picocss/dev
v2.0.5
2024-03-03 17:42:40 +07:00
Lucas Larroche
916ac90ff4 chore: bump version to v2.0.5 2024-03-03 17:37:41 +07:00
Lucas Larroche
9fe625a78a fix: revert #460 2024-03-03 17:31:48 +07:00
Lucas Larroche
5bc3b2f8bf
Merge pull request #479 from hybs123/main
fix:Button Padding Problem Fixed(SCSS update)
2024-03-03 17:29:20 +07:00
Lucas Larroche
afbcadbfdf chore: build 2024-03-03 17:25:50 +07:00
hybs123
2ada5ea6fe fix:Button Padding Problem Fixed(SCSS update) 2024-03-03 13:05:39 +05:30
Lucas Larroche
d610bd3b07
Merge pull request #478 from picocss/dev
v2.0.4
2024-03-03 12:14:06 +07:00
Lucas Larroche
990c9308bf chore: bump version to v2.0.4 2024-03-03 11:56:58 +07:00
Lucas Larroche
855bdb4ee6 chore: build 2024-03-03 11:47:41 +07:00
Lucas Larroche
070a4e2442 Revert "Revert "Merge branch 'dev' into ll/fix-form-element-margin-bottom-in-grid""
This reverts commit 861daac49b.
2024-03-03 11:45:50 +07:00
Lucas Larroche
ea20a9be5d Update _loading.scss 2024-03-03 11:44:52 +07:00
Lucas Larroche
861daac49b Revert "Merge branch 'dev' into ll/fix-form-element-margin-bottom-in-grid"
This reverts commit 843bc51513, reversing
changes made to b8b7aa18c4.
2024-03-03 11:44:32 +07:00
Lucas Larroche
a73b7af662 chore: update dependencies 2024-03-03 11:36:22 +07:00
Lucas Larroche
2e2029534c chore: build 2024-03-03 11:35:04 +07:00
Lucas Larroche
eb90cfd185
Merge pull request #471 from FireIsGood/fix-readme
Fix the README header spacing
2024-03-03 11:32:12 +07:00
Lucas Larroche
41832cc0cf
Merge pull request #460 from picocss/ll/fix-form-element-margin-bottom-in-grid
fix: form element margin bottom in .grid
2024-03-03 11:26:24 +07:00
Lucas Larroche
843bc51513 Merge branch 'dev' into ll/fix-form-element-margin-bottom-in-grid 2024-03-03 11:25:53 +07:00
Lucas Larroche
fc15ec9e1b
Merge pull request #459 from picocss/ll/fix-select-multiple
fix: select multiple option color
2024-03-03 11:20:48 +07:00
Lucas Larroche
00718df9c8 Merge branch 'dev' into ll/fix-select-multiple 2024-03-03 11:20:06 +07:00
Lucas Larroche
f0b889e76d
Merge pull request #472 from FireIsGood/fix-switches
Fix input switch inconsistency
2024-03-03 10:39:06 +07:00
Lucas Larroche
851e45a8e8 Merge branch 'dev' into pr/472 2024-03-03 10:31:50 +07:00
Lucas Larroche
4aa2c14542
Merge pull request #474 from FireIsGood/fix-spinner
Fix loading spinner sizing
2024-03-03 10:16:14 +07:00
FireIsGood
5beccff701
chore: build 2024-02-26 12:27:05 -08:00
FireIsGood
bef69e8c02
fix: loading spinner sizing
The loading spinner was not sized to the actual element's size due to
the units being used incorrectly.
2024-02-26 12:26:32 -08:00
FireIsGood
803777ef7b
chore: build 2024-02-25 02:54:29 -08:00
FireIsGood
760a7b02f7
fix: inconsistent enabled switch state
Fixes the switch state by making it offset correctly instead of ballpark
with the wrong units
2024-02-25 02:53:50 -08:00
FireIsGood
e5d66a53b3
fix: README header spacing
Fixed the extra spacing for one of the headers. Previously, it had two
spaces above and 0 below which was inconsistent with other headers. Also
it made my formatter angry.
2024-02-25 02:28:26 -08:00
Lucas Larroche
b8b7aa18c4 fix: form element margin bottom in .grid 2024-02-18 11:52:51 +07:00
Lucas Larroche
3fcddcfb37 fix: select multiple option color 2024-02-18 11:02:16 +07:00
Lucas Larroche
f714a51d9e
Merge pull request #456 from picocss/dev
v2.0.3
2024-02-17 10:52:31 +07:00
Lucas Larroche
fc41088893 fix: modal close button 2024-02-17 10:51:18 +07:00
Lucas Larroche
0724efa574
Merge pull request #455 from picocss/dev
v2.0.2
2024-02-17 10:35:10 +07:00
Lucas Larroche
b8ef9c49b8 chore: bump version to v2.0.2 2024-02-17 10:33:23 +07:00
Lucas Larroche
57b3076ca8 fix: modal close button 2024-02-17 10:32:11 +07:00
Lucas Larroche
506e82cb8f
Merge pull request #453 from picocss/dev
v2.0.1
2024-02-17 10:11:32 +07:00
Lucas Larroche
1e2eee8b3b chore: bump version to v2.0.1 2024-02-17 10:09:19 +07:00
Lucas Larroche
79bcb2bcda chore: update dependencies 2024-02-16 21:03:43 +07:00
Lucas Larroche
0df5d131ca
Merge pull request #444 from benizz0/dev
Fix search icon on search input
2024-02-16 20:59:07 +07:00
Lucas Larroche
75e49031ba Merge branch 'dev' of https://github.com/picocss/pico 2024-02-16 20:53:51 +07:00
Lucas Larroche
021144da04
Merge pull request #448 from Atmos4/main
Allow `button` as modal closing icon.
2024-02-16 20:46:18 +07:00
Lucas Larroche
ba7bb176f8 Merge branch 'dev' of https://github.com/picocss/pico 2024-02-16 20:45:24 +07:00
Lucas Larroche
8765ba79b6
Merge pull request #447 from picocss/ll/fix-remove-cursor-default
fix: remove cursor default
2024-02-16 20:36:07 +07:00
benizz0
f2d4f8fd52 yarn build 2024-02-14 19:46:01 +01:00
Atmos4
ddd9cc4772 feat: modal
Accept `button[rel=prev]` as modal closing item
2024-02-13 17:27:13 +01:00
Lucas Larroche
68367e2bd0 fix: remove cursor default 2024-02-13 23:12:45 +07:00
b.platroz
6d5a73f625 Minify 2024-02-12 14:32:54 +01:00
b.platroz
e6e970ea59 Compiled scss 2024-02-12 14:27:28 +01:00
b.platroz
4d23487777 fix scss search icon 2024-02-12 14:25:06 +01:00
Lucas Larroche
175b101aa8 docs: update CONTRIBUTING 2024-02-11 13:26:42 +07:00
Lucas Larroche
daf39794c6 docs: update README 2024-02-11 13:23:54 +07:00
Lucas Larroche
5907151a92 docs: update README 2024-02-11 12:36:32 +07:00
Lucas Larroche
2d56846d4b
Merge pull request #443 from picocss/v2
v2
2024-02-11 12:23:38 +07:00
Lucas Larroche
8068ff31a3 chore: bump version to v2.0.0 2024-02-11 12:22:39 +07:00
Lucas Larroche
8331d4e6d1 docs: update CONTRIBUTING 2024-02-11 12:20:24 +07:00
Lucas Larroche
0c4170f359 chore: update copyright date 2024-02-11 12:09:11 +07:00
Lucas Larroche
e45285bade docs: update README 2024-02-11 12:08:13 +07:00
Lucas Larroche
f2c415b8ec docs: update README 2024-02-11 12:01:52 +07:00
Lucas Larroche
a83b0c77e9 Merge branch 'main' of https://github.com/picocss/pico 2024-02-11 12:00:26 +07:00
Lucas Larroche
e78d4821d0 docs: update README 2024-02-11 12:00:15 +07:00
Lucas Larroche
f0044be7ba docs: update README 2024-02-11 11:52:40 +07:00
Lucas Larroche
fc36c54805 Merge branch 'main' of https://github.com/picocss/pico 2024-02-11 11:48:58 +07:00
Lucas Larroche
5f7e5dafe9 docs: update README 2024-02-11 11:48:17 +07:00
Lucas Larroche
beb0351ffe docs: update README 2024-02-11 11:45:39 +07:00
Lucas Larroche
946989a871
Merge pull request #261 from picocss/v2
v2.0.0
2024-02-11 10:19:45 +07:00
Lucas Larroche
1b3cf48d33 Merge branch 'master' into v2 2024-02-11 10:06:23 +07:00
Lucas Larroche
dc39e9bc1f chore: update dependencies 2024-02-10 10:44:39 +07:00
Lucas Larroche
537b445e05 chore: update dependencies 2024-02-04 20:53:56 +07:00
Lucas Larroche
9fa6aa5fab refactor: files structure 2024-01-29 23:31:37 +07:00
Lucas Larroche
bcac2dca3f refactor: shadow function 2024-01-29 23:16:47 +07:00
Lucas Larroche
020182a7e0 style: dark shadow 2024-01-29 23:16:27 +07:00
Lucas Larroche
39781572d3 chore: bump version to v2.0.0-rc4 2024-01-28 20:32:07 +07:00
Lucas Larroche
a94685f082 fix: build theme script 2024-01-28 20:28:27 +07:00
Lucas Larroche
b5fed6c364 chore: update dependencies 2024-01-28 20:23:29 +07:00
Lucas Larroche
83ae1df19e feat: update README 2024-01-28 20:14:56 +07:00
Lucas Larroche
a3b029f47d style: nav 2024-01-28 17:04:52 +07:00
Lucas Larroche
1284b371b6 style: switch 2024-01-28 11:15:13 +07:00
Lucas Larroche
33ef3f5f4f style: switch 2024-01-28 11:11:34 +07:00
Lucas Larroche
97f3f13aa5 refactor: group 2024-01-27 19:54:45 +07:00
Lucas Larroche
f958109248 feat: overflow-auto 2024-01-27 15:22:35 +07:00
Lucas Larroche
d07f4b4960 style: figure 2024-01-27 15:13:14 +07:00
Lucas Larroche
d3455eaca1 feat: remove horizontal scroller 2024-01-27 14:38:20 +07:00
Lucas Larroche
d1932eb325
Merge pull request #435 from picocss/ll/v2-parent-selector
feat: optional parent selector and pre-build color themes
2024-01-27 11:48:40 +07:00
Lucas Larroche
70118f3aa1 chore: update dependencies 2024-01-27 11:46:19 +07:00
Lucas Larroche
f7e63d69ae feat: add Pico conditional version 2024-01-27 11:26:25 +07:00
Lucas Larroche
0e17a72d52 fix: contributing links 2024-01-27 11:19:48 +07:00
Lucas Larroche
4c678f1286 chore: build 2024-01-27 10:31:24 +07:00
Lucas Larroche
1d7f9c5a0e chore: build 2024-01-25 22:23:02 +07:00
Lucas Larroche
06474e39fa Merge branch 'v2' into ll/v2-parent-selector 2024-01-25 22:22:05 +07:00
Lucas Larroche
75bafa4cb2
Merge pull request #436 from pauloxnet/patch-2
Update sans-serif fonts list
2024-01-25 22:20:38 +07:00
Lucas Larroche
766e6630d2 chore: build 2024-01-25 22:18:37 +07:00
Lucas Larroche
1a2fc6536c refactor: build theme script 2024-01-25 22:04:24 +07:00
Lucas Larroche
4eee189dab style: switch, dropdown, loading 2024-01-25 21:27:02 +07:00
Paolo Melchiorre
4a6804aeaf
Update sans-serif fonts list
Here is a reference that justify my changes: https://css-tricks.com/snippets/css/system-font-stack/
2024-01-25 12:23:11 +01:00
Lucas Larroche
04a7dc94ab feat: build color themes 2024-01-25 01:43:13 +07:00
Lucas Larroche
ef2100499b feat: optional parent selector 2024-01-25 01:42:54 +07:00
Lucas Larroche
9ea68c42e0 feat: remove form element disabled and border color 2024-01-24 19:29:33 +07:00
Lucas Larroche
72c4678cf7 chore: bump version to v2.0.0-rc3 2024-01-22 21:36:15 +07:00
Lucas Larroche
2041261f16 feat: spacings multipliers disabled by default 2024-01-22 21:32:26 +07:00
Lucas Larroche
6ddb506eb8 feat: spacings multipliers disabled by default 2024-01-22 10:02:17 +07:00
Lucas Larroche
875207f082 feat: remove spacings multipliers 2024-01-22 09:35:18 +07:00
Lucas Larroche
aaba94868f fix: semantic container 2024-01-21 14:43:19 +07:00
Lucas Larroche
4e45448e58 Merge branch 'v2' of https://github.com/picocss/pico into v2 2024-01-21 14:35:58 +07:00
Lucas Larroche
a4de96269c fix: semantic container 2024-01-21 14:35:31 +07:00
Lucas Larroche
d4b07fc1e5 fix: semantic container 2024-01-21 14:28:20 +07:00
Lucas Larroche
c58117a910 chore: update dependencies 2024-01-20 21:37:29 +07:00
Lucas Larroche
53c96ba46a fix: classless css 2024-01-15 21:44:23 +07:00
Lucas Larroche
25b505e206 fix: form helper text 2024-01-15 21:27:56 +07:00
Lucas Larroche
641483e42c fix: classless reset button 2024-01-14 23:25:55 +07:00
Lucas Larroche
5a97b6baac style: spacings 2024-01-14 19:35:49 +07:00
Lucas Larroche
5fc1da9b42 fix: outline buttons 2024-01-14 13:37:32 +07:00
Lucas Larroche
48c60e0ec3 style: article 2024-01-14 11:08:33 +07:00
Lucas Larroche
30cd2cec63 chore: update dependencies 2024-01-14 11:07:09 +07:00
Lucas Larroche
565bc16d4f chore: update dependencies 2024-01-13 11:44:39 +07:00
Lucas Larroche
145eeb7d1f fix: label color 2024-01-08 22:43:18 +07:00
Lucas Larroche
5dfdb2cf20 chore: bump version to v2.0.0-rc2 2024-01-07 18:07:38 +07:00
Lucas Larroche
69c431d82c chore: update dependencies 2024-01-07 18:04:49 +07:00
Lucas Larroche
7a2feabc12 style: fieldset 2024-01-07 17:39:24 +07:00
Lucas Larroche
9ef89ec116 Update pico.min.css 2024-01-07 17:18:56 +07:00
Lucas Larroche
7b29b2470f style: .grid 2024-01-07 17:18:44 +07:00
Lucas Larroche
d291480c7d feat: add themes 2024-01-06 21:09:13 +07:00
Lucas Larroche
97f20244e6 refactor: reduce [role="button"] specifity 2024-01-05 01:42:14 +07:00
Lucas Larroche
9742a993fc Merge branch 'v2' of https://github.com/picocss/pico into v2 2024-01-04 21:48:43 +07:00
Lucas Larroche
75f7ca32dd fix: aria-current and focus buttons
Fix for #416
2024-01-04 21:47:40 +07:00
Lucas Larroche
989af877ef fix: aria-current and focus buttons
Fix for #416
2024-01-04 21:32:34 +07:00
Lucas Larroche
9a18b46e12 fix: readonly input 2024-01-04 13:11:26 +07:00
Lucas Larroche
8f572c156c chore: update dependencies 2024-01-04 13:01:58 +07:00
Lucas Larroche
2ddb5486f2 chore: build 2024-01-01 21:50:32 +07:00
Lucas Larroche
b88a8bd9fb style: light mode card 2024-01-01 21:50:12 +07:00
Lucas Larroche
1252b7bbdb style: modal 2024-01-01 21:49:46 +07:00
Lucas Larroche
d749489943 refactor: typography 2024-01-01 21:49:39 +07:00
Lucas Larroche
922ed1b696 chore: update dependencies 2023-12-30 15:09:47 +07:00
Lucas Larroche
8b5408bb7e style: headings 2023-12-30 10:36:01 +07:00
Lucas Larroche
319e48ba91 chore: build 2023-12-28 20:38:56 +07:00
Lucas Larroche
02a9ca8664
Merge pull request #421 from asbjornu/v2-include-close-button-in-classless
feat: include the close icon styles in classless
2023-12-28 20:37:17 +07:00
Asbjørn Ulsberg
49d289b626
feat: include the close icon styles in classless 2023-12-28 14:33:38 +01:00
Lucas Larroche
357ab1f1a0 refactor: modal 2023-12-28 18:12:39 +07:00
Lucas Larroche
cb25830d3c chore: bump version to v2.0.0-rc1 2023-12-28 18:08:05 +07:00
Lucas Larroche
43782f10c6 chore: update browserslist config 2023-12-28 17:56:13 +07:00
Lucas Larroche
b067c8ed8e chore: update dependencies 2023-12-28 17:43:53 +07:00
Lucas Larroche
3c0de4b8c0 chore: build 2023-12-28 17:42:58 +07:00
Lucas Larroche
5e5c26e955 Merge branch 'v2' of https://github.com/picocss/pico into v2 2023-12-28 15:37:04 +07:00
Lucas Larroche
c7a077f1a3 refactor: update $css-var-prefix name 2023-12-28 15:36:56 +07:00
Lucas Larroche
2999a3c361 refactor: update $css-var-prefix name 2023-12-28 15:33:37 +07:00
Lucas Larroche
21f9a2be62 style: modal 2023-12-28 15:32:12 +07:00
Lucas Larroche
8adf1dca38 fix: package scripts 2023-12-28 14:55:11 +07:00
Lucas Larroche
f6ad4e2be4
Merge pull request #420 from picocss/ll/v2-css-var-prefix
refactor: css var prefix
2023-12-28 13:25:00 +07:00
Lucas Larroche
3c96e6043b refactor: update $css-var-prefix name 2023-12-28 13:21:52 +07:00
Lucas Larroche
2c97dc3ae5 chore: build 2023-12-28 13:04:05 +07:00
Lucas Larroche
2d62bbe483
Merge pull request #416 from brianespinosa/v2
fix: Make aria-current selector more specific on links
2023-12-28 12:50:43 +07:00
Lucas Larroche
39bea04676 chore: build 2023-12-28 12:48:55 +07:00
Lucas Larroche
f55523135c Merge branch 'v2' into pr/416 2023-12-28 12:48:15 +07:00
Lucas Larroche
bd5cbeee6c fix: breadcrumb 2023-12-28 12:23:23 +07:00
Lucas Larroche
6337166676 Merge branch 'v2' of https://github.com/picocss/pico into v2 2023-12-28 12:22:42 +07:00
Lucas Larroche
441d9301ed fix: breadcrumb 2023-12-28 12:20:34 +07:00
Lucas Larroche
f2a67f7b20 fix: breadcrumb 2023-12-28 12:09:06 +07:00
Lucas Larroche
7d4ee7c725 chore: build 2023-12-26 20:58:19 +07:00
Lucas Larroche
2689ec2373 style: group focus 2023-12-26 20:57:54 +07:00
Lucas Larroche
7dcedac497 fix: loading component 2023-12-26 20:57:28 +07:00
Lucas Larroche
30ebf59f4a fix: form buttons width 2023-12-26 20:57:09 +07:00
Lucas Larroche
058ab9dc0e style: validation icon colors 2023-12-26 20:55:58 +07:00
Lucas Larroche
45da5c96d7 style: button outline 2023-12-26 20:55:32 +07:00
Lucas Larroche
28529d49a2 chore: update node 2023-12-26 20:54:58 +07:00
Lucas Larroche
a3eb54eb87 chore: update dependencies 2023-12-24 10:41:54 +07:00
Brian Espinosa
55d5e9d879 fix: Make aria-current selector more specific on links 2023-10-20 12:10:00 -07:00
Lucas Larroche
8ba5740b8a chore: update jsdelivr links 2023-04-23 11:23:51 +07:00
Lucas Larroche
2e8cd6e786 chore: clean package.json 2023-04-23 10:53:13 +07:00
Lucas Larroche
5c22504843 feat: remove date input icon in Firefox
#348
2023-04-23 10:47:16 +07:00
Lucas Larroche
960e793bb2 feat: exclude html for aria-busy
#349
2023-04-23 10:44:33 +07:00
Lucas Larroche
7e22e16910 chore: update dependencies 2023-04-22 12:46:41 +07:00
Lucas Larroche
ed609b7219 Merge branch 'v2' of https://github.com/picocss/pico into v2 2023-04-11 20:17:36 +07:00
Lucas Larroche
9d594da89e Update README.md 2023-04-11 20:17:00 +07:00
Lucas Larroche
224a832f92 Update README.md 2023-04-11 20:16:14 +07:00
Lucas Larroche
f012ebc23e chore: update dependencies 2023-04-10 13:18:57 +07:00
Lucas Larroche
b2b74e680f chore: update README 2023-04-10 12:12:09 +07:00
Lucas Larroche
add74b3de6 Merge branch 'v2' of https://github.com/picocss/pico into v2 2023-04-10 12:02:57 +07:00
Lucas Larroche
b3dc4cdb97 chore: update README 2023-04-10 12:02:02 +07:00
Lucas Larroche
678a0394ef chore: update README 2023-04-10 11:59:32 +07:00
Lucas Larroche
662e12f007 refactor: system font stack 2023-04-10 11:02:22 +07:00
Lucas Larroche
1dfbf84833 refactor: group CSS vars 2023-04-10 10:48:10 +07:00
Lucas Larroche
4f2f597f9f feat: support for dropdown with label 2023-04-09 12:01:33 +07:00
Lucas Larroche
021899557b feat: support .grid + small
See #271
2023-04-09 11:54:55 +07:00
Lucas Larroche
a7567cc8b3 chore: update brand name 2023-04-09 11:32:32 +07:00
Lucas Larroche
7cfe8de756 chore: update dependencies 2023-04-09 10:15:01 +07:00
Lucas Larroche
f0a2480fc6 refactor: dropdown 2023-04-02 22:37:00 +07:00
Lucas Larroche
09dc2a75b5 style: grid 2023-04-02 17:40:20 +07:00
Lucas Larroche
d407df3c23 refactor: CSS vars 2023-04-02 11:04:23 +07:00
Lucas Larroche
435e731d82 Merge branch 'v2' of https://github.com/picocss/pico into v2 2023-04-02 10:37:35 +07:00
Lucas Larroche
c27bdad392 feat: group 2023-04-02 10:36:52 +07:00
Lucas Larroche
2c202a420d feat: group 2023-04-02 10:06:47 +07:00
Lucas Larroche
395ceca401 fix: revert aria-current='false' 2023-04-02 10:06:26 +07:00
Lucas Larroche
65bedda83a refactor: clean 2023-04-02 10:05:14 +07:00
Lucas Larroche
00f1486a04 style: lists 2023-04-01 13:09:35 +07:00
Lucas Larroche
3d27099a76 chore: update dependencies 2023-04-01 10:28:33 +07:00
Lucas Larroche
e43ed98d29 fix: aria-current links and buttons 2023-04-01 10:10:09 +07:00
Lucas Larroche
3644e4ccb5 fix: dropdown inside a nav 2023-04-01 10:09:45 +07:00
Lucas Larroche
cc481ab7b0 refactor: reorder CSS vars 2023-03-28 21:59:51 +07:00
Lucas Larroche
e4ddca156c chore: update copyright 2023-03-28 21:42:34 +07:00
Lucas Larroche
0fe9c4be83 feat: loading RTL support 2023-03-28 21:40:12 +07:00
Lucas Larroche
329793e828 refactor: tooltip animations 2023-03-28 21:28:51 +07:00
Lucas Larroche
0b081e3657 refactor: icons 2023-03-28 20:34:28 +07:00
Lucas Larroche
7fa3c4a099 refactor: icons and loading 2023-03-27 10:28:30 +07:00
Lucas Larroche
87321cbd83 chore: update dependencies 2023-03-25 19:43:33 +07:00
Lucas Larroche
ecf6c0a401 fix: tooltip 2023-03-25 19:41:13 +07:00
Lucas Larroche
f611e4e5d0 style: custom breadcrumb divider 2023-03-25 19:40:57 +07:00
Lucas Larroche
32f65f1f64 style: modal 2023-03-25 12:35:22 +07:00
Lucas Larroche
d7d11308af style: update breakpoints 2023-03-20 20:31:27 +07:00
Lucas Larroche
de6ba10757 chore: update dependencies 2023-03-19 11:06:01 +07:00
Lucas Larroche
aea9dd48a9 feat: remove support for submenu as nested list 2023-03-19 10:19:09 +07:00
Lucas Larroche
4eff8b48fa style: accordion without border-bottom 2023-03-19 10:04:19 +07:00
Lucas Larroche
8f26729a64 refactor: code font-size without :has 2023-03-19 10:03:32 +07:00
Lucas Larroche
dd799056c7 refactor: disabled checkboxes and radios without :has 2023-03-19 10:03:00 +07:00
Lucas Larroche
e022c7098e fix: figure margin bottom 2023-03-19 10:01:06 +07:00
Lucas Larroche
dbb9c25d78 style: dropdown label 2023-03-19 01:51:49 +07:00
Lucas Larroche
6c80b87a80 style: progress bar transition 2023-03-19 01:51:08 +07:00
Lucas Larroche
694a21b16f fix: typo 2023-03-18 13:00:50 +07:00
Lucas Larroche
0b3d7949e8 chore: build 2023-03-18 08:23:23 +07:00
Lucas Larroche
e8b71d0998 style: range 2023-03-18 08:22:43 +07:00
Lucas Larroche
7b84bad669 style: table 2023-03-18 08:21:37 +07:00
Lucas Larroche
d24f3c000c chore: build 2023-03-15 22:16:47 +07:00
Lucas Larroche
5fb36d98e7 refactor: clean comment 2023-03-15 22:16:28 +07:00
Lucas Larroche
ba388c9235 refactor: loading 2023-03-15 22:16:18 +07:00
Lucas Larroche
ea66c420ff style: Validation states 2023-03-15 22:16:03 +07:00
Lucas Larroche
5b96712843 style: Checkboxes, radios and switches 2023-03-15 22:15:25 +07:00
Lucas Larroche
fed92a6f92 style: code 2023-03-13 22:10:27 +07:00
Lucas Larroche
44366a33d5 style: textarea 2023-03-13 01:38:56 +07:00
Lucas Larroche
76a656a08b fix: table inside figure 2023-03-13 01:38:13 +07:00
Lucas Larroche
af050f9088 fix: button display 2023-03-12 12:12:18 +07:00
Lucas Larroche
b642fbc014 Merge branch 'v2' of https://github.com/picocss/pico into v2 2023-03-12 11:44:18 +07:00
Lucas Larroche
fb891bd865 fix: button display 2023-03-12 11:43:30 +07:00
Lucas Larroche
cd8b4049c4 fix: button display 2023-03-12 11:39:53 +07:00
Lucas Larroche
338305a2de chore: update dependencies 2023-03-12 09:56:59 +07:00
Lucas Larroche
79c7255419 feat: bring back fluid.classless version 2023-03-12 09:55:35 +07:00
Lucas Larroche
cd0aee31cf style: select[multiple] selected option 2023-03-08 11:47:37 +07:00
Lucas Larroche
5e04b841bd style: hr margin 2023-03-08 11:25:12 +07:00
Lucas Larroche
cf3b35b276 chore: update dependencies 2023-03-05 09:43:19 +07:00
Lucas Larroche
682296368b chore: build 2023-03-05 09:20:24 +07:00
Lucas Larroche
cf5b115dc2 refactor: add return line 2023-03-05 09:19:32 +07:00
Lucas Larroche
b02f10e9ac fix: breadcrumb separator 2023-03-05 09:18:59 +07:00
Lucas Larroche
dea5b7b449 style: headings line-height 2023-03-05 09:17:56 +07:00
Lucas Larroche
810f222a92 chore: update dependencies 2023-02-21 00:05:20 +07:00
Lucas Larroche
21edb4815b chore: build 2023-02-20 23:47:39 +07:00
Lucas Larroche
51674a8e9e
Merge pull request #323 from picocss/ll/v2-update-default-breakpoints
style: update `lg` and `xl` breakpoints
2023-02-20 23:46:48 +07:00
Lucas Larroche
d8a52f85a2
Merge pull request #322 from picocss/ll/v2-fix-hgroup
fix: hgroup
2023-02-20 23:45:47 +07:00
Lucas Larroche
79bc82eb49 style: update lg and xl breakpoints 2023-02-20 23:44:33 +07:00
Lucas Larroche
5f587e0e2b fix: hgroup 2023-02-20 23:40:31 +07:00
Lucas Larroche
020fa9a1f0 chore: build 2023-02-19 12:23:18 +07:00
Lucas Larroche
81dd19791c
Merge pull request #321 from picocss/ll/v2-refactor-heading
style: hgroup
2023-02-19 12:22:28 +07:00
Lucas Larroche
1e67708ff0 style: hgroup 2023-02-19 12:22:02 +07:00
Lucas Larroche
923957ccb9 chore: build 2023-02-19 10:30:07 +07:00
Lucas Larroche
32b91e171c
Merge pull request #320 from picocss/ll/v2-refactor-heading
refactor: hgroup
2023-02-19 10:29:18 +07:00
Lucas Larroche
b9008fff9b
Merge pull request #319 from picocss/ll/v2-refactor-input-file
refactor: input file
2023-02-19 10:28:46 +07:00
Lucas Larroche
ed8234c7ce refactor: remove .headings 2023-02-19 10:27:22 +07:00
Lucas Larroche
0e951141cd refactor: input file 2023-02-19 10:17:14 +07:00
Lucas Larroche
d8909184a1 chore: indent scss files 2023-02-15 00:14:05 +07:00
Lucas Larroche
95402d4217
Merge pull request #313 from picocss/ll/font-size-100-percent
Feat: set root font-size to 100%
2023-02-13 20:28:14 +07:00
Lucas Larroche
8b4f1527b1 feat: set root font size to 100% 2023-02-13 20:19:54 +07:00
Lucas Larroche
76fda2f6df style: code font-size 2023-02-13 17:51:05 +07:00
Lucas Larroche
13afcc90ab chore: build 2023-02-13 17:45:24 +07:00
Lucas Larroche
1c213b85dd
Merge pull request #312 from picocss/ll/styles-modal
style: modal
2023-02-13 17:44:00 +07:00
Lucas Larroche
c483cd099e style: modal 2023-02-12 08:36:44 +07:00
Lucas Larroche
4093e6ff16 chore: remove @picocss/colors 2023-02-04 13:49:05 +07:00
Lucas Larroche
1b38169c2b chore: build 2023-02-04 13:45:46 +07:00
Lucas Larroche
67c71ccdc8 chore: upgrade dependencies dependencies 2023-02-04 13:45:05 +07:00
Lucas Larroche
90ec552c77
Merge pull request #309 from picocss/ll/v2/add-color-utilities
feat: add color utilities
2023-02-04 13:36:05 +07:00
Lucas Larroche
19920bbe9b feat: add color utilities 2023-02-04 13:33:35 +07:00
Lucas Larroche
1fc835eb2b
Merge pull request #304 from picocss/ll/v2-fix-colors
Styles
2023-01-29 13:46:54 +07:00
Lucas Larroche
6c3e126943 style: selection and focus color 2023-01-28 12:22:55 +07:00
Lucas Larroche
dfa4041b77 chore: build 2023-01-01 14:03:50 +07:00
Lucas Larroche
321d1c8d36
Merge pull request #292 from picocss/ll/refactor-accordion-and-dropdown
Refactor accordion and dropdown
2023-01-01 14:02:19 +07:00
Lucas Larroche
3e91dc6984
Merge pull request #291 from picocss/ll/styles-and-fixes
Fixes and improvements
2023-01-01 14:01:17 +07:00
Lucas Larroche
51dd2293ca refactor: accordion and dropdown 2023-01-01 14:00:33 +07:00
Lucas Larroche
f11fbb8b93 chore: build dependencies 2023-01-01 13:58:55 +07:00
Lucas Larroche
7f9ffd252a feat: improve nav support for form elements 2023-01-01 13:49:42 +07:00
Lucas Larroche
a730228855 style: button text not selectable 2023-01-01 13:47:54 +07:00
Lucas Larroche
2645a769d8 style: change link :focus to :focus-visible 2023-01-01 13:46:46 +07:00
Lucas Larroche
678c41deb9 style: remove aria-invalid icon for select 2023-01-01 13:46:04 +07:00
Lucas Larroche
e11f160c13 refactor: rename watch script to dev 2023-01-01 13:45:16 +07:00
Lucas Larroche
f8b77beffc style: Improve default theme 2023-01-01 13:44:31 +07:00
Lucas Larroche
89dbc0254b Revert "style: Default dropdown text color"
This reverts commit 3b3cf51a32.
2022-12-29 18:23:50 +07:00
Lucas Larroche
8674218a73 chore: Build 2022-12-29 18:16:36 +07:00
Lucas Larroche
5a1a3852e2 style: Improve default theme 2022-12-29 18:10:07 +07:00
Lucas Larroche
e2f2eb2098 styles: Nav 2022-12-29 18:08:16 +07:00
Lucas Larroche
3b3cf51a32 style: Default dropdown text color 2022-12-29 18:00:46 +07:00
Lucas Larroche
6ab7c28189 fix: Dropdown item hover with labels 2022-12-29 18:00:21 +07:00
Lucas Larroche
4102702b05 fix: Dropdown focus styles 2022-12-29 17:59:44 +07:00
Lucas Larroche
477992f869 feat: Helper text color with aria-invalid 2022-12-29 17:55:50 +07:00
Lucas Larroche
f456cfbf33 style: Helper text spacings 2022-12-29 17:55:16 +07:00
Lucas Larroche
e9bdaf6745 feat: Display cancel button for input type search 2022-12-29 17:54:42 +07:00
Lucas Larroche
8f60b4f2ac refactor: Clean settings for classless version 2022-12-29 17:54:02 +07:00
Lucas Larroche
f8e5f28613 refactor: Buttons 2022-12-29 17:53:16 +07:00
Lucas Larroche
dccee093a6 refactor: clean comment 2022-12-29 17:52:08 +07:00
Lucas Larroche
f8a9293942 feat: Allow custom data-theme
#272
2022-12-29 17:51:38 +07:00
Lucas Larroche
7ea1f94316 fix: Dropdowns outline on focus 2022-12-29 17:48:18 +07:00
Lucas Larroche
584046e234 style: Typography margins 2022-12-29 17:47:56 +07:00
Lucas Larroche
091edf7ffd style: card margins 2022-12-29 17:43:18 +07:00
Lucas Larroche
e89ea1b32e style: remove accordion border bottom for dropdowns and buttons 2022-12-29 17:11:17 +07:00
Lucas Larroche
cb483ed557 refactor: @picocss/colors as dependency 2022-12-27 10:53:45 +07:00
Lucas Larroche
38e42399d5 chore: load path for @picocss/colors 2022-12-27 10:48:52 +07:00
Lucas Larroche
0e8a302cd6 chore: update caniuse-lite 2022-12-26 16:38:41 +07:00
Lucas Larroche
d54b993af5 refactor: clean comment 2022-12-26 13:38:05 +07:00
Lucas Larroche
b65f8c7639 chore: update dependencies 2022-12-26 13:37:20 +07:00
Lucas Larroche
8887e68cce chore: update dependencies 2022-12-26 13:36:41 +07:00
Lucas Larroche
74131c9b34
Merge pull request #290 from picocss/ll/fix-modal-prevent-scrolling-on-mobile
Fix: Prevent scrolling and interactions below a modal on mobile, by @rbf
2022-12-26 13:04:55 +07:00
Lucas Larroche
99f181e8ad chore: build 2022-12-26 13:03:20 +07:00
rbf
a696328621 fix(modal): prevent scrolling and interactions below a modal on mobile 2022-12-26 13:02:43 +07:00
Lucas Larroche
b082797555
Merge pull request #288 from picocss/ll/update-colors
Style: colors
2022-12-26 11:40:33 +07:00
Lucas Larroche
6ade871f3f style: update colors 2022-12-26 11:35:56 +07:00
Lucas Larroche
52e1072a08
Merge pull request #268 from picocss/ll/refactor-modules-and-css-vars
Refactor: modules and CSS vars
2022-10-23 11:03:35 +07:00
Lucas Larroche
ce2ed6826d refactor: modules and css vars 2022-10-23 10:47:50 +07:00
Lucas Larroche
2e4d6c66ec
Merge pull request #266 from picocss/ll/refactor-breakpoints
Refactor: Breakpoints
2022-10-22 15:50:04 +07:00
Lucas Larroche
b477bb6c96 refactor: breakpoints 2022-10-22 15:48:58 +07:00
Lucas Larroche
ab37deb10c
Merge pull request #265 from picocss/ll/chore-clean
Chore: clean
2022-10-22 13:40:47 +07:00
Lucas Larroche
3a7c775b9a Update pico.classless.scss 2022-10-22 13:39:36 +07:00
Lucas Larroche
a092934ae7
Merge pull request #264 from picocss/ll/prefix-css-vars
Refactor: Prefix CSS vars
2022-10-22 13:21:05 +07:00
Lucas Larroche
c5a1ffc733 refactor: prefix css vars 2022-10-22 13:11:51 +07:00
Lucas Larroche
cba8f385c2
Merge pull request #263 from picocss/ll/replace-imports-with-use
Replace `@import` with `@use`
2022-10-22 11:50:28 +07:00
Lucas Larroche
92f4e78df9 chore: update scripts 2022-10-22 11:44:56 +07:00
Lucas Larroche
28e2e87fa1 chore: improve .gitignore 2022-10-22 11:44:45 +07:00
Lucas Larroche
51a68ce0fc chore: replace @import with @use 2022-10-22 11:44:10 +07:00
Lucas Larroche
a6f0d0ca74
chore: lint with prettier (#262)
chore: lint with prettier on build
2022-10-15 23:26:09 +07:00
Lucas Larroche
670826069b chore: lint with prettier on build 2022-10-15 23:22:12 +07:00
Lucas Larroche
bf62c8ce09
chore: Remove source maps for minified files (#260)
chore: Remove source maps for minified files
2022-10-15 20:18:16 +07:00
Lucas Larroche
861a950b3e fix: autoprefix script 2022-10-15 20:17:01 +07:00
Lucas Larroche
355c673a26 chore: Remove source maps for minified files 2022-10-15 20:13:16 +07:00
Lucas Larroche
b075cc5c9e
Merge pull request #258 from picocss/ll/v2/remove-examples
chore: remove examples
2022-10-15 20:07:22 +07:00
Lucas Larroche
c9fd073a1f chore: remove examples 2022-10-15 19:55:30 +07:00
Lucas Larroche
317e83a56f
chore: remove docs and move to yarn (#257)
chore: remove docs and move to yarn
2022-10-15 18:00:17 +07:00
Lucas Larroche
b925edd95a fix: postcss.config.js for css files 2022-10-15 17:34:58 +07:00
Lucas Larroche
759296f211 chore: remove docs and move to yarn 2022-10-15 17:23:02 +07:00
410 changed files with 312900 additions and 24347 deletions

View file

@ -4,19 +4,19 @@ Thanks for your interest in contributing to Pico CSS! Please take a moment to re
## Bug reports
The [issue tracker](https://github.com/picocss/pico/issues) is the preferred channel for bug reports, but please respect the following restrictions:
The [issue tracker]((https://github.com/picocss/pico/issues)) is the preferred channel for bug reports, but please respect the following restrictions:
- Please do not use the issue tracker for personal support requests. [Open a question in our discussion forums](https://github.com/picocss/pico/discussions/categories/help) instead.
- Please do not use the issue tracker for feature requests. [Suggest any ideas you have using our discussion forums](https://github.com/picocss/pico/discussions/categories/ideas) instead.
- Please do not use the issue tracker for feature requests. Instead, use our discussion forums to [suggest any ideas](https://github.com/picocss/pico/discussions/categories/ideas) you have.
## Pull requests
Good pull requests, patches, improvements, and new features are a fantastic help.
**Please ask first before starting work on any significant new features.**
**Please ask before starting work on any significant new features.**
We recommend that you first [suggest your feature idea in our discussion forums](https://github.com/picocss/pico/discussions/categories/ideas).
[`dev`](https://github.com/picocss/pico/tree/dev) branch is open to pull requests.
[`dev`](https://github.com/picocss/pico/tree/dev) branch is open for pull requests on `v2`.
**Do not edit [`/css`](https://github.com/picocss/pico/tree/master/css) files directly.** Edit the source files in [`/scss`](https://github.com/picocss/pico/tree/master/scss), then recompile the [`/css`](https://github.com/picocss/pico/tree/master/css) files with `npm run build`.
[`v1-dev`](https://github.com/picocss/pico/tree/v1-dev) branch is open to pull requests on `v1`.
Do not edit [`/docs/*.html`](https://github.com/picocss/pico/tree/master/docs) files directly. Edit the source files in [`/docs/src`](https://github.com/picocss/pico/tree/master/docs/src), then recompile the docs files with `npm run build`.
**Do not edit [`/css`](https://github.com/picocss/pico/tree/master/css) files directly.** Edit the source files in [`/scss`](https://github.com/picocss/pico/tree/master/scss), then recompile the [`/css`](https://github.com/picocss/pico/tree/master/css) files with `yarn build`.

BIN
.github/examples.jpg vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

27
.github/logo-dark.svg vendored Normal file
View file

@ -0,0 +1,27 @@
<svg height="458" viewBox="0 0 1064 458" width="1064" xmlns="http://www.w3.org/2000/svg">
<style>
:root {
--pico-logo-wordmark: #fff;
--pico-logo-small-sparkles: #ff9500;
--pico-logo-big-sparkle: #ffbf00;
}
.pico-logo-wordmark {
fill: var(--pico-logo-wordmark);
}
.pico-logo-small-sparkles {
fill: var(--pico-logo-small-sparkles);
}
.pico-logo-big-sparkle {
fill: var(--pico-logo-big-sparkle);
}
</style>
<path d="m993.708 161.083c-1.475.567-2.641 1.733-3.208 3.208l-21.822 56.738c-1.836 4.774-8.59 4.774-10.426 0l-21.823-56.738c-.567-1.475-1.733-2.641-3.208-3.208l-56.738-21.823c-4.774-1.836-4.774-8.59 0-10.426l56.738-21.822c1.475-.567 2.641-1.733 3.208-3.208l21.823-56.7383c1.836-4.7737 8.59-4.7737 10.426 0l21.822 56.7383c.567 1.475 1.733 2.641 3.208 3.208l56.742 21.822c4.77 1.836 4.77 8.59 0 10.426z" class="pico-logo-big-sparkle" />
<path d="m834.63 86.9817c-1.836 4.7738-8.59 4.7738-10.426 0l-7.859-20.4337c-.567-1.475-1.733-2.6407-3.208-3.208l-20.433-7.8592c-4.774-1.836-4.774-8.59 0-10.426l20.433-7.8591c1.475-.5674 2.641-1.733 3.208-3.2081l7.859-20.4337c1.836-4.77377 8.59-4.77375 10.426 0l7.86 20.4337c.567 1.4751 1.733 2.6407 3.208 3.2081l20.433 7.8591c4.774 1.836 4.774 8.59 0 10.426l-20.433 7.8592c-1.475.5673-2.641 1.733-3.208 3.208z" class="pico-logo-small-sparkles" />
<path d="m879.209 230.899c-1.475.568-2.64 1.733-3.208 3.208l-7.859 20.434c-1.836 4.774-8.59 4.774-10.426 0l-7.859-20.434c-.567-1.475-1.733-2.64-3.208-3.208l-20.434-7.859c-4.773-1.836-4.773-8.59 0-10.426l20.434-7.859c1.475-.567 2.641-1.733 3.208-3.208l7.859-20.434c1.836-4.774 8.59-4.774 10.426 0l7.859 20.434c.568 1.475 1.733 2.641 3.208 3.208l20.434 7.859c4.774 1.836 4.774 8.59 0 10.426z" class="pico-logo-small-sparkles" />
<g class="pico-logo-wordmark">
<path d="m0 457.995v-282.83h59.1396l3.6208 37.172v245.658zm119.889-75.96c-16.629 0-30.5761-4.175-41.8408-12.525-11.2647-8.62-19.7132-20.876-25.3455-36.768-5.6324-15.892-8.4485-34.748-8.4485-56.566 0-22.088 2.8161-40.943 8.4485-56.566 5.6323-15.893 14.0808-28.014 25.3455-36.364 11.2647-8.62 25.2118-12.93 41.8408-12.93 18.774 0 35.001 4.31 48.679 12.93 13.679 8.35 24.139 20.471 31.38 36.364 7.242 15.623 10.863 34.478 10.863 56.566 0 21.818-3.621 40.674-10.863 56.566-7.241 15.892-17.701 28.148-31.38 36.768-13.678 8.35-29.905 12.525-48.679 12.525zm-16.093-58.182c8.046 0 15.154-2.02 21.323-6.061 6.168-4.04 11.13-9.562 14.885-16.566 3.755-7.272 5.632-15.623 5.632-25.05 0-9.428-1.743-17.643-5.23-24.647-3.486-7.273-8.448-12.929-14.885-16.97-6.169-4.04-13.276-6.06-21.323-6.06-8.0458 0-15.2874 2.02-21.7244 6.06-6.1687 4.041-10.9964 9.697-14.4831 16.97s-5.2301 15.488-5.2301 24.647c0 9.427 1.7434 17.778 5.2301 25.05 3.4867 7.004 8.3144 12.526 14.4831 16.566 6.1688 4.041 13.2763 6.061 21.3224 6.061z" />
<path d="m245.196 377.187v-202.022h62.76v202.022zm31.38-227.881c-9.387 0-17.702-3.502-24.943-10.505-6.974-7.273-10.46-15.623-10.46-25.051 0-9.966 3.486-18.3165 10.46-25.0505 7.241-7.0035 15.556-10.5052 24.943-10.5052 9.655 0 17.97 3.5017 24.943 10.5052 6.973 6.734 10.46 15.0845 10.46 25.0505 0 9.428-3.487 17.778-10.46 25.051-6.973 7.003-15.288 10.505-24.943 10.505z" />
<path d="m452.936 382.035c-21.457 0-40.634-4.444-57.531-13.333-16.629-9.159-29.637-21.684-39.024-37.576-9.387-16.162-14.081-34.479-14.081-54.95 0-20.741 4.694-39.058 14.081-54.95 9.387-15.893 22.261-28.283 38.622-37.172 16.629-9.159 35.671-13.738 57.128-13.738 20.652 0 39.56 5.253 56.726 15.758 17.165 10.505 29.502 25.724 37.012 45.657l-59.542 20.202c-2.95-6.465-7.912-11.717-14.885-15.758-6.705-4.309-14.215-6.464-22.53-6.464-8.314 0-15.69 2.02-22.127 6.06-6.168 3.771-11.13 9.159-14.885 16.162-3.487 7.004-5.23 15.084-5.23 24.243 0 9.158 1.743 17.239 5.23 24.242 3.755 6.734 8.851 12.122 15.288 16.162 6.705 4.041 14.215 6.061 22.529 6.061 8.315 0 15.824-2.155 22.529-6.465 6.706-4.31 11.667-9.966 14.886-16.97l59.542 20.202c-7.778 20.203-20.25 35.691-37.415 46.465-16.897 10.775-35.672 16.162-56.323 16.162z" />
<path d="m672.537 382.035c-21.188 0-39.962-4.444-56.323-13.333-16.093-9.159-28.832-21.684-38.22-37.576-9.119-15.893-13.678-34.209-13.678-54.95s4.559-39.058 13.678-54.95c9.119-15.893 21.725-28.283 37.818-37.172 16.36-9.159 34.866-13.738 55.518-13.738 21.189 0 39.829 4.579 55.922 13.738 16.36 8.889 29.1 21.279 38.219 37.172 9.119 15.892 13.679 34.209 13.679 54.95s-4.56 39.057-13.679 54.95c-9.119 15.892-21.725 28.417-37.817 37.576-15.824 8.889-34.196 13.333-55.117 13.333zm-.402-59.798c8.314 0 15.422-1.886 21.322-5.657 6.169-4.04 10.997-9.428 14.484-16.162 3.486-7.003 5.23-15.084 5.23-24.242 0-9.159-1.878-17.105-5.633-23.839-3.486-7.003-8.314-12.39-14.483-16.162-6.169-4.04-13.276-6.06-21.322-6.06s-15.154 2.02-21.323 6.06c-6.168 3.772-10.996 9.159-14.483 16.162-3.487 6.734-5.23 14.68-5.23 23.839 0 8.889 1.743 16.835 5.23 23.838 3.487 7.004 8.315 12.526 14.483 16.566 6.437 3.771 13.679 5.657 21.725 5.657z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

27
.github/logo-light.svg vendored Normal file
View file

@ -0,0 +1,27 @@
<svg height="458" viewBox="0 0 1064 458" width="1064" xmlns="http://www.w3.org/2000/svg">
<style>
:root {
--pico-logo-wordmark: #2a3140;
--pico-logo-small-sparkles: #ffbf00;
--pico-logo-big-sparkle: #ff9500;
}
.pico-logo-wordmark {
fill: var(--pico-logo-wordmark);
}
.pico-logo-small-sparkles {
fill: var(--pico-logo-small-sparkles);
}
.pico-logo-big-sparkle {
fill: var(--pico-logo-big-sparkle);
}
</style>
<path d="m993.708 161.083c-1.475.567-2.641 1.733-3.208 3.208l-21.822 56.738c-1.836 4.774-8.59 4.774-10.426 0l-21.823-56.738c-.567-1.475-1.733-2.641-3.208-3.208l-56.738-21.823c-4.774-1.836-4.774-8.59 0-10.426l56.738-21.822c1.475-.567 2.641-1.733 3.208-3.208l21.823-56.7383c1.836-4.7737 8.59-4.7737 10.426 0l21.822 56.7383c.567 1.475 1.733 2.641 3.208 3.208l56.742 21.822c4.77 1.836 4.77 8.59 0 10.426z" class="pico-logo-big-sparkle" />
<path d="m834.63 86.9817c-1.836 4.7738-8.59 4.7738-10.426 0l-7.859-20.4337c-.567-1.475-1.733-2.6407-3.208-3.208l-20.433-7.8592c-4.774-1.836-4.774-8.59 0-10.426l20.433-7.8591c1.475-.5674 2.641-1.733 3.208-3.2081l7.859-20.4337c1.836-4.77377 8.59-4.77375 10.426 0l7.86 20.4337c.567 1.4751 1.733 2.6407 3.208 3.2081l20.433 7.8591c4.774 1.836 4.774 8.59 0 10.426l-20.433 7.8592c-1.475.5673-2.641 1.733-3.208 3.208z" class="pico-logo-small-sparkles" />
<path d="m879.209 230.899c-1.475.568-2.64 1.733-3.208 3.208l-7.859 20.434c-1.836 4.774-8.59 4.774-10.426 0l-7.859-20.434c-.567-1.475-1.733-2.64-3.208-3.208l-20.434-7.859c-4.773-1.836-4.773-8.59 0-10.426l20.434-7.859c1.475-.567 2.641-1.733 3.208-3.208l7.859-20.434c1.836-4.774 8.59-4.774 10.426 0l7.859 20.434c.568 1.475 1.733 2.641 3.208 3.208l20.434 7.859c4.774 1.836 4.774 8.59 0 10.426z" class="pico-logo-small-sparkles" />
<g class="pico-logo-wordmark">
<path d="m0 457.995v-282.83h59.1396l3.6208 37.172v245.658zm119.889-75.96c-16.629 0-30.5761-4.175-41.8408-12.525-11.2647-8.62-19.7132-20.876-25.3455-36.768-5.6324-15.892-8.4485-34.748-8.4485-56.566 0-22.088 2.8161-40.943 8.4485-56.566 5.6323-15.893 14.0808-28.014 25.3455-36.364 11.2647-8.62 25.2118-12.93 41.8408-12.93 18.774 0 35.001 4.31 48.679 12.93 13.679 8.35 24.139 20.471 31.38 36.364 7.242 15.623 10.863 34.478 10.863 56.566 0 21.818-3.621 40.674-10.863 56.566-7.241 15.892-17.701 28.148-31.38 36.768-13.678 8.35-29.905 12.525-48.679 12.525zm-16.093-58.182c8.046 0 15.154-2.02 21.323-6.061 6.168-4.04 11.13-9.562 14.885-16.566 3.755-7.272 5.632-15.623 5.632-25.05 0-9.428-1.743-17.643-5.23-24.647-3.486-7.273-8.448-12.929-14.885-16.97-6.169-4.04-13.276-6.06-21.323-6.06-8.0458 0-15.2874 2.02-21.7244 6.06-6.1687 4.041-10.9964 9.697-14.4831 16.97s-5.2301 15.488-5.2301 24.647c0 9.427 1.7434 17.778 5.2301 25.05 3.4867 7.004 8.3144 12.526 14.4831 16.566 6.1688 4.041 13.2763 6.061 21.3224 6.061z" />
<path d="m245.196 377.187v-202.022h62.76v202.022zm31.38-227.881c-9.387 0-17.702-3.502-24.943-10.505-6.974-7.273-10.46-15.623-10.46-25.051 0-9.966 3.486-18.3165 10.46-25.0505 7.241-7.0035 15.556-10.5052 24.943-10.5052 9.655 0 17.97 3.5017 24.943 10.5052 6.973 6.734 10.46 15.0845 10.46 25.0505 0 9.428-3.487 17.778-10.46 25.051-6.973 7.003-15.288 10.505-24.943 10.505z" />
<path d="m452.936 382.035c-21.457 0-40.634-4.444-57.531-13.333-16.629-9.159-29.637-21.684-39.024-37.576-9.387-16.162-14.081-34.479-14.081-54.95 0-20.741 4.694-39.058 14.081-54.95 9.387-15.893 22.261-28.283 38.622-37.172 16.629-9.159 35.671-13.738 57.128-13.738 20.652 0 39.56 5.253 56.726 15.758 17.165 10.505 29.502 25.724 37.012 45.657l-59.542 20.202c-2.95-6.465-7.912-11.717-14.885-15.758-6.705-4.309-14.215-6.464-22.53-6.464-8.314 0-15.69 2.02-22.127 6.06-6.168 3.771-11.13 9.159-14.885 16.162-3.487 7.004-5.23 15.084-5.23 24.243 0 9.158 1.743 17.239 5.23 24.242 3.755 6.734 8.851 12.122 15.288 16.162 6.705 4.041 14.215 6.061 22.529 6.061 8.315 0 15.824-2.155 22.529-6.465 6.706-4.31 11.667-9.966 14.886-16.97l59.542 20.202c-7.778 20.203-20.25 35.691-37.415 46.465-16.897 10.775-35.672 16.162-56.323 16.162z" />
<path d="m672.537 382.035c-21.188 0-39.962-4.444-56.323-13.333-16.093-9.159-28.832-21.684-38.22-37.576-9.119-15.893-13.678-34.209-13.678-54.95s4.559-39.058 13.678-54.95c9.119-15.893 21.725-28.283 37.818-37.172 16.36-9.159 34.866-13.738 55.518-13.738 21.189 0 39.829 4.579 55.922 13.738 16.36 8.889 29.1 21.279 38.219 37.172 9.119 15.892 13.679 34.209 13.679 54.95s-4.56 39.057-13.679 54.95c-9.119 15.892-21.725 28.417-37.817 37.576-15.824 8.889-34.196 13.333-55.117 13.333zm-.402-59.798c8.314 0 15.422-1.886 21.322-5.657 6.169-4.04 10.997-9.428 14.484-16.162 3.486-7.003 5.23-15.084 5.23-24.242 0-9.159-1.878-17.105-5.633-23.839-3.486-7.003-8.314-12.39-14.483-16.162-6.169-4.04-13.276-6.06-21.322-6.06s-15.154 2.02-21.323 6.06c-6.168 3.772-10.996 9.159-14.483 16.162-3.487 6.734-5.23 14.68-5.23 23.839 0 8.889 1.743 16.835 5.23 23.838 3.487 7.004 8.315 12.526 14.483 16.566 6.437 3.771 13.679 5.657 21.725 5.657z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

1
.github/logo.svg vendored
View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0 0h1000v1000H0z" fill="#1b2a32"/><path d="M633.43 429.23c0 118.38-49.76 184.72-138.87 184.72-53 0-92.04-25.37-108.62-67.32h-2.6v203.12H250V249.7h133.67v64.72h2.28c17.24-43.9 55.3-69.92 107-69.92 90.4 0 140.48 66.02 140.48 184.73zm-136.6 0c0-49.76-22.1-81.96-56.9-81.96s-56.9 32.2-57.24 82.28c.33 50.4 22.1 81.63 57.24 81.63 35.12 0 56.9-31.87 56.9-81.95zM682.5 547.5c0-37.32 30.18-67.5 67.5-67.5s67.5 30.18 67.5 67.5S787.32 615 750 615s-67.5-30.18-67.5-67.5z" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 555 B

37
.gitignore vendored
View file

@ -1,5 +1,32 @@
node_modules/
tests/
.nvmrc
.prettierrc.js
*.DS_Store
# OS or Editor folders
._*
.cache
.DS_Store
.idea
.project
.settings
.tmproj
*.esproj
*.sublime-project
*.sublime-workspace
nbproject
Thumbs.db
/.vscode/
# Numerous always-ignore extensions
*.diff
*.err
*.log
*.orig
*.rej
*.swo
*.swp
*.vi
*.zip
*~
# Folders to ignore
/node_modules/
# Pico
.pico

3
.prettierrc Normal file
View file

@ -0,0 +1,3 @@
{
"printWidth": 100
}

View file

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019-2023 Pico
Copyright (c) 2019-2024 Pico
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

251
README.md
View file

@ -1,99 +1,127 @@
<p align="center">
<a href="https://picocss.com/">
<img src=".github/logo.svg" width="64" height="64">
<p>
<a href="https://picocss.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-light.svg">
<img alt="Pico CSS" src="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-light.svg" width="auto" height="60">
</picture>
</a>
</p>
<h3 align="center">Pico CSS</h3>
[![Github release](https://img.shields.io/github/v/release/picocss/pico?color=0172ad&logo=github&logoColor=white)](https://github.com/picocss/pico/releases/latest)
[![npm version](https://img.shields.io/npm/v/@picocss/pico?color=0172ad)](https://www.npmjs.com/package/@picocss/pico)
[![License](https://img.shields.io/badge/license-MIT-%230172ad)](https://github.com/picocss/pico/blob/master/LICENSE.md)
[![X (formerly Twitter)](https://img.shields.io/twitter/url/https/twitter.com/picocss.svg?style=social&label=Follow%20%40picocss)](https://x.com/picocss)
<p align="center">
<strong>Minimal CSS Framework for semantic HTML</strong><br>
Elegant styles for all native HTML elements without <code>.classes</code> and dark mode automatically enabled.<br><br>
<a href="https://github.com/picocss/examples">Examples</a> ·
<a href="https://picocss.com/docs/v1/">Documentation</a>
</p>
## Minimal CSS Framework for Semantic HTML
## Pico CSS
A minimalist and lightweight starter kit that prioritizes semantic syntax, making every HTML element responsive and elegant by default.
[![Standard gzipped CSS](https://img.badgesize.io/picocss/pico/master/css/pico.min.css?compression=gzip&color=1095c1&label=Standard%20CSS)](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css)
[![Classless gzipped CSS](https://img.badgesize.io/picocss/pico/master/css/pico.classless.min.css?compression=gzip&color=1095c1&label=Classless%20CSS)](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css)
[![Github release](https://img.shields.io/github/v/release/picocss/pico?color=1095c1&logo=github&logoColor=white)](https://github.com/picocss/pico/releases/latest)
[![npm version](https://img.shields.io/npm/v/@picocss/pico?color=1095c1)](https://www.npmjs.com/package/@picocss/pico)
[![License](https://img.shields.io/badge/license-MIT-%231095c1)](https://github.com/picocss/pico/blob/master/LICENSE.md)
[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/picocss.svg?style=social&label=Follow%20%40picocss)](https://twitter.com/picocss)
Write HTML, Add Pico CSS, and Voilà!
https://user-images.githubusercontent.com/23470684/126863110-94061cf1-36ea-4697-94bd-2e1071a95a2f.mp4
## Whats new in v2?
**Class-light and semantic**
Pico uses simple native HTML tags as much as possible. Less than 10 .classes are used in Pico.
Pico v2.0 features better accessibility, easier customization with SASS, a complete color palette, a new group component, and 20 precompiled color themes totaling over 100 combinations accessible via CDN.
**Great styles with just one CSS file**
No dependencies, package manager, external files, or JavaScript.
[Read more](https://picocss.com/docs/v2)
**Responsive everything**
Elegant and consistent adaptive spacings and typography on all devices.
## A Superpowered HTML Reset
**Light or Dark mode**
Shipped with two beautiful color themes, automatically enabled according to the user preference.
With just the right amount of everything, Pico is great starting point for a clean and lightweight design system.
- Class-light and Semantic
- Great Styles with Just CSS
- Responsive Everything
- Light or Dark Mode
- Easy Customization
- Optimized Performance
## Table of contents
- [Usage](#usage)
- [Quick start](#quick-start)
- [Class-less version](#class-less-version)
- [Examples](#examples)
- [Limitations](#limitations)
- [Documentation](#documentation)
- [Browser Support](#browser-support)
- [Contributing](#contributing)
- [Copyright and license](#copyright-and-license)
## Usage
## Quick start
There are 4 ways to get started with Pico CSS:
There are 4 ways to get started with pico.css:
**Install manually**
### Install manually
[Download Pico](https://github.com/picocss/pico/archive/refs/heads/v1-dev.zip) and link `/css/pico.min.css` in the `<head>` of your website.
[Download Pico](https://github.com/picocss/pico/archive/refs/heads/main.zip) and link `/css/pico.min.css` in the `<head>` of your website.
```html
<link rel="stylesheet" href="css/pico.min.css" />
<link rel="stylesheet" href="css/pico.min.css">
```
**Install from CDN**
### Usage from CDN
Alternatively, you can use [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@picocss/pico) to link pico.css.
```html
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css"
/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
```
**Install with NPM**
### Install with NPM
```shell
npm install @picocss/pico
```
**Install with Composer**
Or
```shell
yarn add @picocss/pico
```
Then, import Pico into your SCSS file with [@use](https://sass-lang.com/documentation/at-rules/use):
```SCSS
@use "pico";
```
### Install with Composer
```shell
composer require picocss/pico
```
### Starter HTML template
```HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<link rel="stylesheet" href="css/pico.min.css">
<title>Hello world!</title>
</head>
<body>
<main class="container">
<h1>Hello world!</h1>
</main>
</body>
</html>
```
## Class-less version
Pico provides a `.classless` version ([example](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-classless)).
Pico provides a `.classless` version.
In this version, `header`, `main` and `footer` act as containers.
In this version, `<header>`, `<main>`, and `<footer>` inside `<body>` act as containers to define a centered or a fluid viewport.
Use the default `.classless` version if you need centered viewports:
```html
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css"
/>
```
@ -102,22 +130,23 @@ Or use the `.fluid.classless` version if you need a fluid container:
```html
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.fluid.classless.min.css"
/>
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.fluid.classless.min.css"
>
```
Then just write pure HTML, and it should look great:
```html
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css"
/>
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css"
>
<title>Hello, world!</title>
</head>
<body>
@ -128,82 +157,77 @@ Then just write pure HTML, and it should look great:
</html>
```
## Examples
Minimalist templates to discover Pico in action:
[![Examples](.github/examples.jpg)](https://github.com/picocss/examples)
- **[Preview](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-preview)**
A starter example with most of the Pico components and styles.
- **[Right-to-left (RTL) preview](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-preview-rtl)**
A starter example in Arabic with most of the Pico components and styles.
- **[Classless](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-classless)**
A pure semantic HTML markup, without `.classes`.
- **[Basic template](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-basic-template)**
A basic custom template for Pico using only CSS custom properties (variables).
- **[Company](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-company)**
A classic company or blog layout with a sidebar.
- **[Google Amp](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-google-amp)**
A simple layout for Google Amp, with inlined CSS.
- **[Sign in](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-sign-in)**
A minimalist layout for Login pages.
- **[Pico + Bootstrap grid system](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-bootstrap-grid)**
Custom CSS build with the Bootstrap grid system to manage complex grid layouts in Pico.
All examples are open-sourced in [picocss/examples](https://github.com/picocss/examples).
## Limitations
Pico can be used without custom CSS for quick or small projects. However, its designed as a starting point, like a “reset CSS on steroids”. As Pico does not integrate any helpers or utilities `.classes`, this minimal CSS framework requires SCSS or CSS knowledge to build large projects.
Pico CSS can be used without custom CSS for quick or small projects. However, its designed as a starting point, like a “reset CSS on steroids”. As Pico does not integrate any helpers or utilities `.classes`, this minimal CSS framework requires SCSS or CSS knowledge to build large projects.
[Read more](https://picocss.com/docs/usage-scenarios)
## Documentation
**Getting started**
- [Usage](https://picocss.com/docs/v1/)
- [Themes](https://picocss.com/docs/v1/themes.html)
- [Customization](https://picocss.com/docs/v1/customization.html)
- [Class-less version](https://picocss.com/docs/v1/classless.html)
- [RTL](https://picocss.com/docs/v1/rtl.html)
- [Quick start](https://picocss.com/docs)
- [Version picker `New`](https://picocss.com/docs/version-picker)
- [Color schemes](https://picocss.com/docs/color-schemes)
- [Class-less version](https://picocss.com/docs/classless)
- [Conditional styling `New`](https://picocss.com/docs/conditional)
- [RTL](https://picocss.com/docs/rtl)
**Customization**
- [CSS Variables](https://picocss.com/docs/css-variables)
- [Sass](https://picocss.com/docs/sass)
- [Colors `New`](https://picocss.com/docs/colors)
**Layout**
- [Containers](https://picocss.com/docs/v1/containers.html)
- [Grids](https://picocss.com/docs/v1/grid.html)
- [Horizontal scroller](https://picocss.com/docs/v1/scroller.html)
- [Container](https://picocss.com/docs/container)
- [Landmarks & section](https://picocss.com/docs/landmarks-section)
- [Grid](https://picocss.com/docs/grid)
- [Overflow auto `New`](https://picocss.com/docs/overflow-auto)
**Elements**
**Content**
- [Typography](https://picocss.com/docs/v1/typography.html)
- [Buttons](https://picocss.com/docs/v1/buttons.html)
- [Forms](https://picocss.com/docs/v1/forms.html)
- [Tables](https://picocss.com/docs/v1/tables.html)
- [Typography](https://picocss.com/docs/typography)
- [Link](https://picocss.com/docs/link)
- [Button](https://picocss.com/docs/button)
- [Table](https://picocss.com/docs/table)
**Forms**
- [Overview](https://picocss.com/docs/forms)
- [Input](https://picocss.com/docs/forms/input)
- [Textarea](https://picocss.com/docs/forms/textarea)
- [Select](https://picocss.com/docs/forms/select)
- [Checkboxes](https://picocss.com/docs/forms/checkboxes)
- [Radios](https://picocss.com/docs/forms/radios)
- [Switch](https://picocss.com/docs/forms/switch)
- [Range](https://picocss.com/docs/forms/range)
**Components**
- [Accordions](https://picocss.com/docs/v1/accordions.html)
- [Cards](https://picocss.com/docs/v1/cards.html)
- [Dropdowns](https://picocss.com/docs/v1/dropdowns.html)
- [Modal](https://picocss.com/docs/v1/modal.html)
- [Navs](https://picocss.com/docs/v1/navs.html)
- [Progress](https://picocss.com/docs/v1/progress.html)
- [Accordion](https://picocss.com/docs/accordion)
- [Card](https://picocss.com/docs/card)
- [Dropdown](https://picocss.com/docs/dropdown)
- [Group `New`](https://picocss.com/docs/group)
- [Loading](https://picocss.com/docs/loading)
- [Modal](https://picocss.com/docs/modal)
- [Nav](https://picocss.com/docs/nav)
- [Progress](https://picocss.com/docs/progress)
- [Tooltip](https://picocss.com/docs/tooltip)
**Utilities**
**About**
- [Loading](https://picocss.com/docs/v1/loading.html)
- [Tooltips](https://picocss.com/docs/v1/tooltips.html)
- [Whats new in v2?](https://picocss.com/docs/v2)
- [Mission](https://picocss.com/docs/mission)
- [Usage scenarios](https://picocss.com/docs/usage-scenarios)
- [Brand](https://picocss.com/docs/brand)
- [Built With](https://picocss.com/docs/built-with)
## Browser support
## Browser Support
Pico is designed and tested for the latest stable Chrome, Firefox, Edge, and Safari releases. It does not support any version of IE, including IE 11.
Pico CSS is designed and tested for the latest stable Chrome, Firefox, Edge, and Safari releases. It does not support any version of IE, including IE 11.
## Contributing
@ -212,16 +236,3 @@ If you are interested in contributing to Pico CSS, please read our [contributing
## Copyright and license
Licensed under the [MIT License](https://github.com/picocss/pico/blob/master/LICENSE.md).
**Relevant third-party tools and resources we depend on:**
Website and docs:
- [TypeIt](https://typeitjs.com/): JavaScript animated typing utility (Licensed [GPL-3.0](https://github.com/alexmacarthur/typeit/blob/master/LICENSE))
- [Font Awesome](https://fontawesome.com/): Icons (Licensed [CC BY 4.0](https://fontawesome.com/license/free))
Pico Library:
- [Feather](https://feathericons.com/) Icons (Licensed [MIT](https://github.com/feathericons/feather/blob/master/LICENSE))
- [Normalize.css](https://necolas.github.io/normalize.css/): CSS reset (Licensed [MIT](https://github.com/necolas/normalize.css/blob/master/LICENSE.md))
- [Sanitize.css](https://csstools.github.io/sanitize.css/): Cross-browser default styling (Licensed [CC0 1.0 Universal](https://github.com/csstools/sanitize.css/blob/main/LICENSE.md))

2835
css/pico.amber.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.amber.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2835
css/pico.blue.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.blue.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.amber.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.amber.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.blue.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.blue.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

2458
css/pico.classless.cyan.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.cyan.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.classless.fuchsia.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.green.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.green.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.grey.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.grey.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.classless.indigo.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.jade.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.jade.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.lime.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.lime.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.classless.orange.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.pink.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.pink.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.classless.pumpkin.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.classless.purple.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.red.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.red.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.sand.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.sand.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.slate.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.slate.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.classless.violet.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.classless.yellow.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2458
css/pico.classless.zinc.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.classless.zinc.min.css vendored Normal file

File diff suppressed because one or more lines are too long

4010
css/pico.colors.css Normal file

File diff suppressed because it is too large Load diff

4
css/pico.colors.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.conditional.amber.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

4
css/pico.conditional.blue.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2835
css/pico.conditional.css Normal file

File diff suppressed because it is too large Load diff

Some files were not shown because too many files have changed in this diff Show more