diff --git a/assets/icons/internal/tick.png b/assets/icons/internal/tick.png new file mode 100644 index 0000000..f6771da Binary files /dev/null and b/assets/icons/internal/tick.png differ diff --git a/assets/less/modules/inputs.import.less b/assets/less/modules/inputs.import.less index 071c041..70e4e42 100644 --- a/assets/less/modules/inputs.import.less +++ b/assets/less/modules/inputs.import.less @@ -119,7 +119,7 @@ nav { top: 4px; left: 3px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); width: 20px; height: 20px; } @@ -134,7 +134,7 @@ nav { top: 4px; left: 2px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); background-position:-20px; width: 22px; height: 22px; @@ -161,7 +161,7 @@ nav { left: 4px; top: 4px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); background-position:-23px; } @@ -174,7 +174,7 @@ nav { left: 3px; top: 4px; content:""; - background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); + background:url(@checkbox-icon); } } diff --git a/assets/less/variables.import.less b/assets/less/variables.import.less index 0cacf35..bb9d9cf 100644 --- a/assets/less/variables.import.less +++ b/assets/less/variables.import.less @@ -110,6 +110,8 @@ @icon-font-name: "flat-ui-icons-regular"; @icon-font-svg-id: "flat-ui-icons-regular"; +@checkbox-icon: "../icons/internal/tick.png" + //** Icon sizes for use in components @icon-normal: 16px; @icon-medium: 18px; @@ -190,7 +192,7 @@ @input-line-height-large: 1.235; // ~21px @input-line-height-huge: 1.318; // ~29px -@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px +@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px @input-bg: @inverse; @input-bg-disabled: mix(@gray, white, 10%); @@ -219,7 +221,7 @@ @input-line-height-large: 1.235; // ~21px @input-line-height-huge: 1.318; // ~29px -@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px +@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px @input-bg: @inverse; @input-bg-disabled: mix(@gray, white, 10%); diff --git a/smart.json b/smart.json index 27d3aad..8eb413b 100644 --- a/smart.json +++ b/smart.json @@ -3,7 +3,7 @@ "description": "Less-only Flat UI that doesn't require javascript", "homepage": "https://github.com/Rnhmjoj/flatter-ui", "author": "Michele Guerini Rocco ", - "version": "0.1.6", + "version": "0.1.7", "git": "https://github.com/rnhmjoj/flatter-ui.git", "packages": {} }