Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @picocss/pico to v2 #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@picocss/pico (source) 1.5.13 -> 2.0.6 age adoption passing confidence

Release Notes

picocss/pico (@​picocss/pico)

v2.0.6

Compare Source

Fix:

Full changelog

v2.0.5

Compare Source

Fixes:

A huge thank you to the contributors ❤️

Full changelog

v2.0.4

Compare Source

Fixes
Chore
  • Update dependencies

A huge thank you to the contributors ❤️

Full changelog

v2.0.3

Compare Source

Feature
Fixes
Chore
  • Update dependencies

A huge thank you to the contributors ❤️

Full changelog

v2.0.2

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source

✨🚀 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.

😎 New look and feel

All colors have been carefully and manually redefined for a more contrasted, neutral (less bluish) look and feel.

The default color theme is much more accessible. Most colors now follow the WCAG 2.1 AAA standard, and some secondary muted colors follow the WCAG 2.1 AA standard.

Focus states have been improved for more consistency and contrast, and spacings have been reduced for a sleeker and more neutral style.

✨ Easier customization

We have refactored all .scss files to make it easier for you to compile your version of Pico with SASS. All modules can now be enabled or disabled using @​use.

We added more CSS variables, now totaling over 130, to easily create a unique look and feel, enhancing design flexibility.

🎨 Color palette

Pico v2 comes with 380 manually crafted colors to help you personalize your brand design system. The colors can be imported into any .scss file, and a new stylesheet with all the color utilities is provided.

📐 Better breakpoints

We have updated the breakpoints to follow the width of standard devices and added a new breakpoint for larger screens.

🧩 Group component

With group (role="group"), you can now stack forms elements and buttons horizontally.

🖌️ Conditional Styling

Conditional Styling is a powerful feature that allows you to apply styles selectively by wrapping elements in .pico containers, which is ideal for mixed-style environments. This method restricts styling to designated sections, making it particularly useful for combining multiple stylesheets or components seamlessly.

🌈 Version picker

Play with the Version Picker, which offers 20 precompiled color themes accessible via CDN for all Pico versions. The total number of combinations is over 100.

⚠️ Breaking changes

CSS Vars

All CSS custom properties are prefixed with pico- to avoid collisions with other CSS frameworks or your vars. We also added new CSS variables and renamed some to follow a consistent pattern {component}-{state}-{property}.

SCSS files

We renamed and moved many .scss files. If you import Pico modules, you need to update your paths.

Buttons

Buttons are not width: 100%; by default anymore. Only form buttons are full-width to be consistent with other form elements.

Table

The .striped class is now used for the striped table’s style.

Dropdowns

While accordions are still classless, dropdowns now use .dropdown. We also removed the experimental syntax that allowed dropdowns in the nav using nested lists.

Grid

Grid columns now collapse on small devices (<768px).

Figure

We removed the overflow-x: auto; from <figure> and introduced a new utility class, .overflow-auto, to enable horizontal scrolling on any element.

A huge thank you to all the contributors ❤️

Full changelog

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/picocss-pico-2.x branch 2 times, most recently from 23d83b9 to cd9ba6f Compare February 17, 2024 09:56
@renovate renovate bot force-pushed the renovate/picocss-pico-2.x branch 3 times, most recently from 0777f0c to d5aaa71 Compare March 3, 2024 18:13
@renovate renovate bot force-pushed the renovate/picocss-pico-2.x branch from d5aaa71 to ad633e9 Compare October 7, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants