We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Oruga version: [0.3.3] Vuejs version: [2.6.12] OS/Browser: Chrome
Cant change using scss variable
i'm using nuxt and import like this
import Vue from 'vue' import Oruga from '@oruga-ui/oruga' import '@oruga-ui/oruga/dist/oruga-full-vars.css' Vue.use(Oruga)
then i created index.scss file to customize. i can do it using css variable like this:
index.scss
:root { --oruga-pagination-margin: 1em; }
but when i using scss variable, it wont work:
$pagination-margin: 1em;
How to override style using scss variable, there is no docs for this https://oruga.io/documentation/#using-css-or-sass-scss-variables
The text was updated successfully, but these errors were encountered:
I've solved myself, here the step:
sass
node-sass
@import "./variables"; @import "node_modules/@oruga-ui/oruga/src/scss/oruga-full.scss";
Is my step correct? you should add this step to docs.
Sorry, something went wrong.
Yes it's correct! We'll add an example in the docs
@bagaskarala thanks for your suggestion, these steps will be added to documentation asap!
9ede86f
astagi
No branches or pull requests
Overview of the problem
Oruga version: [0.3.3]
Vuejs version: [2.6.12]
OS/Browser: Chrome
Description
Cant change using scss variable
Steps to reproduce
i'm using nuxt and import like this
then i created
index.scss
file to customize. i can do it using css variable like this:but when i using scss variable, it wont work:
How to override style using scss variable, there is no docs for this
https://oruga.io/documentation/#using-css-or-sass-scss-variables
The text was updated successfully, but these errors were encountered: