Pico 2 ✨ #355
Replies: 11 comments 4 replies
-
In the following weeks, I will work on the examples:
|
Beta Was this translation helpful? Give feedback.
-
@lucaslarroche Is V2 still on the way at all? |
Beta Was this translation helpful? Give feedback.
-
Oh, that is a really nice release. I'll probably keep a fork with that change anyway since I don't plan on supporting IE. |
Beta Was this translation helpful? Give feedback.
-
This release looks to be a real step up and thank you for this amazing library. Can you provide a timeline for its release? |
Beta Was this translation helpful? Give feedback.
-
BTW have you considered adding tabs as a component to v2? An example can be found here https://erikpoehler.com/2022/12/15/picocss-content-tabs/. It would make a great addition to Pico's components. |
Beta Was this translation helpful? Give feedback.
-
I would love to see a responsive hamburger menu. Indeed I made a hamburger menu for PicoCSS v1 you could reference. |
Beta Was this translation helpful? Give feedback.
-
Also, this might be too "radical" for inclusion in PicoCSS...though have you seen this cool "re-working" of the idea of "containers"? I was rather impressed. |
Beta Was this translation helpful? Give feedback.
-
Hey @lucaslarroche, what a great job you did with this v2 release...I love it, simply amazing! |
Beta Was this translation helpful? Give feedback.
-
Hey @lucaslarroche |
Beta Was this translation helpful? Give feedback.
-
I'm enjoying Pico v1 classless <3 |
Beta Was this translation helpful? Give feedback.
-
Gongrats on the launch! It looks great. I'm putting 2.0 into https://www.peterbe.com as we speak. |
Beta Was this translation helpful? Give feedback.
-
The first alpha version for Pico 2 is here:
v2.0.0-alpha1
!This version significantly improves the look and feel, accessibility, and customization options. Pico v2 features a new color palette with 380 manually crafted colors, new breakpoints, and a new group component for stacking form elements and buttons horizontally.
Here are all the links to discover Pico 2
alpha1
:Feel free to comment here, or to open PRs again v2 or the documentation.
😎 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, with most colors now following the WCAG 2.1 AAA standard. Some secondary muted colors follow the WCAG 2.1 AA standard.
Focus states have been improved for more consistency and contrast.
🛠️ Easier customization
We have refactored all
.scss
files to make it easier for you to compile your own version of Pico with SASS. All modules can now be enabled or disabled using @use and vars.🎨 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.
🧩 New group component
With group (
role="group"
), you can now stack forms elements and buttons horizontally.💥 Breaking changes
CSS Vars
All CSS custom properties are prefixed with
pico-
to avoid collisions with other CSS frameworks or your own 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
).Beta Was this translation helpful? Give feedback.
All reactions