What about the Version 2? #246
Replies: 18 comments 34 replies
-
I can made some easy tasks like :
And maybe some others if i found time. Do you have another features to add to v2 ? I'll fork the repo this week to start. |
Beta Was this translation helpful? Give feedback.
-
I really like these features :
Why is that? I use
Note: I use pico.css as in my website without nay tool like npm, yarn, … so it would be great to let people to continue to use it in this way also in version 2. |
Beta Was this translation helpful? Give feedback.
-
Yeah, a heading for a heading is pretty semantically odd. If you wanted to segment a heading into a lead in word or two, and a "lesser" portion that acted like a caption to that heading, there are other ways to structure that which might make the meaning clearer. Looking at the example you linked to, I am imagining that this was born out of a desire to use headers as structural tags rather than pure outline elements.
Semantically, these are two separate thoughts, but one adds context to the other.
<h1>Products</h1>
<p>Learn more about everything we make</p>
<h2>Hand Tools</h2>
<p>Here are all our bench tools: ...
... more H2 and P follow
Or, if you wanted to have a style-able break between the parts of a single thought, you might do something like this:
<h1>
Products
<small>
for every workshop
</small>
</h1>
...
I may be totally off-base, but that was my reaction to this tag that I honestly have never encountered in the wild before. I'd be interested to hear how you have used it, and how you interpreted its meaning in your work.
Walter
… On Oct 4, 2022, at 7:53 AM, Lucas Larroche ***@***.***> wrote:
hgroup is fully supported, but according to the W3C, "it is better to avoid using this tag".
Not sure what to do here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
To increase the contrast of the text on my site I had to customize the main colors differently on the dark and the light theme. Using only one main color the contrast was worse on the dark theme and better on the light theme or vice versa. |
Beta Was this translation helpful? Give feedback.
-
ℹ️ I opened a new branch |
Beta Was this translation helpful? Give feedback.
-
I appreciate all the positive discourse around colour contrast. It's very important to also consider:
Changing designs that are low contrast to high contrast should not be regarded as a "breaking change"—it's a patch. Low-contrast elements should be considered as a bug, and adding high contrast to them is a fix. 😃 |
Beta Was this translation helpful? Give feedback.
-
Use |
Beta Was this translation helpful? Give feedback.
-
Hi, As an idea for the documentation, I'd love to have a section with some very common, but more complex components built with PicoCSS, such as a hero section with image or an icon box. Additional CSS that might be needed could be shown alongside the components to point out how little is needed to build these essential components. |
Beta Was this translation helpful? Give feedback.
-
It would be lovely to have some more examples of how theming can look . DaisyUI makes a good example of this. A bit of extra work for sure, but I think it would improve adoption. |
Beta Was this translation helpful? Give feedback.
-
Have a look at the "free" layout parts of the https://every-layout.dev/ collection:
They use some clever CSS techniques to make layout effortless and easy adjustable and might be a great place to start from for a V2. |
Beta Was this translation helpful? Give feedback.
-
The first alpha version for Pico 2 is here. |
Beta Was this translation helpful? Give feedback.
-
$primary-500: #E65A00;
$primary-600: #C54100;
$primary-700: #A52D00;
// Import full Pico source code
@import "./node_modules/@picocss/pico/scss/pico.scss";
$primary-500: #E65A00;
$primary-600: #C54100;
$primary-700: #A52D00;
// Import full Pico source code
@use "./node_modules/@picocss/pico/scss/pico.scss"; |
Beta Was this translation helpful? Give feedback.
-
Making the nav responsive would be nice. I assumed everything is. (Esp. nice for classless users who use it as is.) A sort of whitespace var for more compact sites could be useful. (Defaults are rather generous.) |
Beta Was this translation helpful? Give feedback.
-
For my project I am looking for a recursive Accordions (a tree) |
Beta Was this translation helpful? Give feedback.
-
Could you please explain how you make the side navbar you did on the doc section ? |
Beta Was this translation helpful? Give feedback.
-
I absolutely love v2, its much more feature rich and customizable but is still very minimal. The only issue I have is with the dropdown. Using <select class="dropdown" required>
<option selected disabled value="">Select</option>
<option>Solid</option>
<option>Liquid</option>
<option>Gas</option>
<option>Plasma</option>false
</select> Also, I think it would be nice to have an easy utility class library to use with pico. Right now I import the one from bootstrap, but the spacings are defined differently. Maybe a standalone companion library to pico with same spacings and consistent configuration options such as |
Beta Was this translation helpful? Give feedback.
-
@lucaslarroche is this project abandoned? |
Beta Was this translation helpful? Give feedback.
-
What about dropping the classless approach? It basically strips out some features like grid, dropdown and some classes like .secondary etc. If it is about saving some KBs you are probably better off with making use of the new modular approach and compile your own Pico and omit the stuff you don't need. |
Beta Was this translation helpful? Give feedback.
-
It might be time to think about version 2, and be able to make deep changes (breaking changes).
Here's what I'm thinking:
@use
everywhere in the SCSS files (vs@import
),--pico-background-color
vs--background-color
), the prefix would be configurable,--range-thumb-color
should not be present if the range component has not been imported),hgroup
which is not valid anymore,What do you think?
What would you like to see in version 2?
Beta Was this translation helpful? Give feedback.
All reactions