Comments (3)
Hello! I think that I should elaborate more about this.
It would be very hard to maintain two versions of styles. That means we should make every change in both versions and test it then. it is a lot of work and we can't handle it.
@benhowes Also I understand your concern. It is good to have style sources and override variables to create a custom theme for the component.
You can look for some way to convert LESS to SASS on-the-fly. Take a look on https://github.com/ekryski/less2sass, or how Bootstrap maintains their own converter for SASS version.
Finally, if you don't want to change variables, you can include output css into your SASS file and it will work.
from slider.
Keep it simple.
Less is not the best, but enough.
from slider.
Thanks @just-boris! I've got it all sorted in my case using the SASS version I made, which is :global
'd in my sass/webpack loader.
Not too fussed either way, I just posted it on the off-chance that it would help someone else in the future.
from slider.
Related Issues (20)
- 设置allowCross, Range组件handle位置不能正确更新
- OnMouseUp never called if <Slider> is a child of a parent component with an "OnMouseUp"
- 为什么不能自定义拖拽的icon??
- How to detect click on bar vs drag
- rc slider generates 4mb build
- Why onAfterChange deprecated? HOT 3
- stopPropagation breaks blur() events elsewhere
- Analysis: 30% of dependency updates in this repository can be merged.
- Suggestion: Inverted Range Slider
- Suggestion/Bug: Unable to drag the handle if the initial click was not on the handle itself. HOT 3
- Windows: Cannot install v10.3.0 w/ Yarn in nodeLinker: node-modules mode HOT 4
- Update type for SliderStyles
- onChange in Range Slider for count=3 fired with old (incorrect/outdated) values when MouseUp is not detected HOT 1
- "pushable" attribute did not take effect HOT 1
- Slider can only move by one step
- Hierarchy issues when a handle is dragged
- Something weird going on - slider with marks HOT 1
- MUI Slider will not move (from UI) if value property is set
- Using styles.( track | handle ) can't replace ( track | handle )Styles property
- Add support for id property HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slider.