瀏覽代碼

Font-smoothing

soyjavi 13 年之前
父節點
當前提交
cf2cca945d

+ 1 - 1
example/components/lungo.brownie

@@ -1 +1 @@
-Subproject commit bec1cbe9b7ca0033f6c5a69cdfc28a49aa6efd3b
+Subproject commit 97078fc45ca43887adfcd4c0ff9aa7e09729b62b

+ 13 - 0
example/components/lungo.icon/component.json

@@ -0,0 +1,13 @@
+{
+  "name": "lungo.icon",
+  "description": "Lungo Icon Repository",
+  "version": "2.2.0",
+  "homepage": "http://lungo.tapquo.com",
+  "author": {
+    "name": "Tapquo S.L.",
+    "site": "http://tapquo.com"},
+  "main": ["./lungo.icon.css"],
+  "keywords": [ "mobile" ],
+  "dependencies": { "lungo": "~2.2.0" },
+  "license": [ {"type": "GPLv3"}, {"type": "Commercial"}]
+}

文件差異過大導致無法顯示
+ 251 - 0
example/components/lungo.icon/lungo.icon.css


+ 1 - 1
example/components/quojs

@@ -1 +1 @@
-Subproject commit 82a2bef7554ae550a713e505b0f3f2d48bb5bc13
+Subproject commit c6e6cc087674878097bc99c273c7b27c1e0c1aff

+ 0 - 3
src/stylesheets/lungo.widget.form.styl

@@ -28,7 +28,6 @@ form, .form
     font-family: inherit
     -webkit-appearance: none
     -webkit-user-select: text
-    -webkit-font-smoothing: antialiased
     border: 0
     &:focus
       outline: none !important
@@ -132,8 +131,6 @@ form, .form
     appearance: none
     -webkit-appearance: none
     -webkit-user-select: text
-    -webkit-font-smoothing: antialiased
-
     border-radius: FORM_RADIO_BUTTON
     cursor: pointer
     height: (FORM_RADIO_BUTTON + 2)

+ 3 - 0
src/stylesheets/theme/theme.base.styl

@@ -16,6 +16,9 @@ body
   font-weight: bold
   letter-spacing: -0.05em
 
+  & *
+    -webkit-font-smoothing: antialiased
+
   & .text
     &.thin
       font-weight: 300

+ 1 - 1
src/stylesheets/theme/theme.widget.button.styl

@@ -11,12 +11,12 @@ article
   & .button, button
     border-radius BORDER_radius
     box-shadow: inset 0 -1px rgba(0,0,0,0.1), 0 1px rgba(0,0,0,0.075)
+    box-shadow: inset 0 -1px rgba(0,0,0,0.1)
 
     &, & abbr
       color: #fff
       font-weight: 600
       text-shadow:  0 1px rgba(0,0,0,0.1)
-      -webkit-font-smoothing: antialiased
 
     &:hover
       box-shadow: inset 0 0 5em rgba(0,0,0,0.1), inset 0 -1px rgba(0,0,0,0.15), 0 1px rgba(0,0,0,0.075)