Comments (12)
Thanks for reporting, we'll take a look and figure out the best way to handle this. At least the markup/visual representation should definitely use the actual color, whereas in the designer tool the $main-font-color value should still be $dark-grey
.
from sc5-styleguide.
Thanks for your prompt reply! Yes, the markup / visual representation is the issue. I would agree that designer tool value should stay $dark-grey. Looking forward to your fix on this one - thanks so much again!
from sc5-styleguide.
+1
from sc5-styleguide.
+1
from sc5-styleguide.
+1
Although I must admit, I have chained LESS variables that are working properly, somehow.
The following definitions resolve to the value of the right-hand vars,
@mi-color-product-productname1: @mi-color-corp-green2;
@mi-color-product-productname2: @mi-color-corp-blue;
@mi-color-product-productname3: @mi-color-corp-plum;
@mi-color-product-productname4: @mi-color-corp-yellow;
Wondering if I'm just getting lucky with the way the variables are sorted prior to replacement in the Angular filter, 'setVariables'...?
BTW: Making the LESS variables work requires the fix proposed in issue #546.
from sc5-styleguide.
+1
from sc5-styleguide.
+1
from sc5-styleguide.
+1
from sc5-styleguide.
I am using LESS Variables as well and only some of my variables are chaining correctly while others are not. I have used KSS previously and am familiar with the syntax so not sure what else could be wrong.
@cognivator was there anything you did in specific to get this working for your less variables?
from sc5-styleguide.
Has anyone here added bootstrap-sass to the SC5 styleguide and use its components to document them.
from sc5-styleguide.
Iām pretty sure this is related to #782 as well.
from sc5-styleguide.
After some poking I can tell that versions below 0.3.36 seem to have various problems with multiple dashes, hyphens and variable name length. For 0.3.36 at least problems with multiple hyphens and defined variable name being shorter than the one in the definition seem to be resolved.
Anybody still seeing this with 1.x?
from sc5-styleguide.
Related Issues (20)
- Generate static docs
- Error in Demo Build HOT 3
- Wrapper markup PUG
- Search not working to well HOT 1
- Unable to parse custom variables
- Line comments in default CSS results in parse error
- App styles not working after updating to version 2.0.4 HOT 12
- Test suite fails to run without mocha dependency HOT 1
- Markdown code block html entities HOT 2
- Element states like :hover doesn't work
- namespaced positions.
- Please publish v2.1.0 to npm HOT 5
- customColors option is breaking Gulp watch
- gulp-util is deprecated, consider replacing it to support Gulp v4 HOT 2
- After 2.1.0 update - ERROR: Unable to exclude default styles HOT 7
- Broken background-image paths
- Find DOM element with jQuery
- Prevent source files being copied inside of the destination folder
- failing unit tests
- (security alert) morgan needs to be updated
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 sc5-styleguide.