picocss / pico

Minimal CSS Framework for semantic HTML
https://picocss.com
MIT License
13.75k stars 404 forks source link

no styling possible under svelte #588

Closed HalloWelt42 closed 2 months ago

HalloWelt42 commented 3 months ago

it is apparently not possible in picocss to define your own styles with svelte, because picocss always overwrites everything, no matter what and where it is defined. elements such as h1-h6 or variables of picocss cannot be overwritten. in the browser, the hierarchy is always in favour of picocss.

this makes cuotom styling impossible.

HalloWelt42 commented 2 months ago

ok, the problem was caused by myself. the order of the imports was the problem

import '@picocss/pico/css/pico.css' import './app.css'