Replies: 2 comments
-
Possibly related to #533 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think I figurted it out, according to the docs on conditional styling, we can use // Pico lightweight version
@use "../../node_modules/@picocss/pico/scss/index" with (
$enable-semantic-container: true,
$semantic-root-element: "#nffaac",
$parent-selector: "#nffaac", //this is making all the difference
$enable-classes: true,
$modules: (
"themes/default": true,
"content/code": false,
"forms/input-color": false,
"forms/input-date": false,
"forms/input-file": false,
"forms/input-range": false,
"forms/input-search": false,
"components/accordion": false,
"components/card": false,
"components/dropdown": false,
"components/loading": false,
"components/modal": false,
"components/nav": false,
"components/progress": false,
"components/tooltip": true,
"utilities/accessibility": false,
"utilities/reduce-motion": false)); As a result, I know see the following in the DOM when I inspect my input eleement
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My Setup
But when I use Dev Tools to inspect my input element, The _basics.scss file from picoss is still only applying the following to my input element...
I'm expecting it to be applied like the following but its not....
How can I adjust the sass logic this way a parent element is applied to the selector(s) (i.e. the above example).
Beta Was this translation helpful? Give feedback.
All reactions