Comments (4)
ChocolateChip-UI uses LESS for changing color values in the resulting CSS. Converting the SVGs to 64bit will disable that ability to change the colors of any SVG images. That said, I'm using CSSMin with Grunt to minify the CSS files. You can run it in the terminal to minify your files.
Is your server automatically running YUI on the CSS files in your project when it serves it up? If so, I'd look at finding a way to disable that and use the default minified CSS files created with the build script. Please look at the README, and feel free to pop open the Gruntfile to see the various ways you can build the CSS from the LESS files.
You could do something like:
// Build all three themes by process the LESS and minifying it:
grunt less cssmin
By default grunt, and grunt chuijquery will build the complete framework along with minified CSS files.
from chocolatechip-ui.
I'm using chui for a deeply embedded project with just a few kb of ROM (stm32f103), that's why I tried to squeeze it as much as possible. I think I will now go for CSSMin.
Thank you for pointing me to this!
from chocolatechip-ui.
Hey buddy,
So I looked at doing 64 bit encoding, that didn’t work. What I was able to do is do url encoding. That worked. Unfortunately, I could have any CSS animation code in the SVG that was url encoded, so I had to change the way the busy control works on iOS and Android. If you check out commit 0aa1810 you can see how the CSS is. I’m pretty sure this will solve the issue you were having with YUI compressor.
On Dec 12, 2013, at 1:15 PM, mholtzberg [email protected] wrote:
Hi,
the YUI compressor removes the whitespaces from the URL encoded SVGs which seems legitimate since whitespaces aren't allowed in URLs.
What do you think about encoding them base64?Max
—
Reply to this email directly or view it on GitHub.
from chocolatechip-ui.
Thank you,
works like a charm!
from chocolatechip-ui.
Related Issues (20)
- Example navigation-backto: scroll always results entering detail page HOT 2
- Grid do not work on Safari (iPad) HOT 2
- Chocolatechipjs in its own repo HOT 2
- Back button not rendering correctly on WP8 HOT 3
- Phonegap iOS scrolling singletap hadling issues HOT 23
- $.UIEditList callback function when an item is deleted HOT 6
- data-goto not functioning in Firefox 34, 35 HOT 7
- Chocolatechip-ui app freezes after iOS unlock HOT 2
- Keyboard autofocus being triggered on input fields
- data-goto syntax in docs is wrong HOT 1
- Where do I find example for buttons? HOT 2
- Cannot read property 'classList' of null HOT 4
- chui 3.5.5 does not work on Android Jellybean (4.2) HOT 12
- chocolatechip-ui.json purpose? HOT 3
- $.UIDeletable cannot read property 'on' of undefined HOT 13
- $.UIGoToArticle() loses history between tabs HOT 12
- wp8 nokia lumia 520 "back button issue" HOT 5
- Low Memory Warnings HOT 6
- Error when using $.UIGoToArticle HOT 9
- Tabbar on Android - with scrolled content double click needed HOT 11
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 chocolatechip-ui.