-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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
Make size border configurable #36
Comments
That's actually what I originally wanted it already written in scss for this reason, but couldn't find much documentation on how to implement it. What is the syntax of the manifest file? For the sometimes 'px' sometimes 'em': |
The "documentation" is in the wiki, down in the comments: https://vaadin.com/wiki/-/wiki/Main/Packaging+SCSS+or+CSS+in+an+add-on For the vaadin team developers seems to be what browsers are to you ;-) |
Hi jarek, i've found some time to work on this, but I ran into the problem that the vaadin sass compile seems to not work with Do you have any knowledge about that - my scss knowlage is quite small... |
How are you using the &? |
Thank you for the hard work btw. |
I try to use your scss as a "addon-theme" which gets compiled by the vaadin sass compiler |
Yes I remember that vaadin a compiler had an issue with this. There is a ticket about it somewhere let me try and find it |
No good news - the "solution" would be to "refactor" the styles to remove the |
Awesome! :| well ill have to find someway of replacing them |
Another idea:
The advantage would be to not messing up the code with removing the |
I like the way you think! |
Ok I just pushed the changes. There is a workaround.scss that has 3 variables
as of now they need to be |
Hi Jarek, it starts to get frustrating - vaadin sass sems to not support variables in media queries... It seems to be a sass 3.2 feature and it looks like the vaadin compiler is not really up to date vaadin/sass-compiler#308 |
That is ridiculous, hopefully soon they will allow this, |
It would be nice to have the values configurable which decide if you are in XS, SM, MD or LG mode.
For this I would suggest to extract the values to variables like
$xs-max-width
and don't include the compiles css into the addon, but add aVaadin-Stylesheets
entry to theMANIFEST.MF
By the way: is there a reason that sometimes
px
is used as a unit and sometimesem
?The text was updated successfully, but these errors were encountered: