mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui-default: init
将ui-default合并至主存储库便于维护
This commit is contained in:
1 parent
6317c9057f
commit
5faa54c7ca
564 files changed
+23083
-14
No files matched your search
@@ -0,0 +1,6 @@
|
||||
$icon-font-name = '{{ options.fontName }}'
|
||||
|
||||
{% for icon in glyphs %}
|
||||
$icon-{{ icon.name }} = '\{{ icon.unicode[0].charCodeAt(0).toString(16)|upper }}'
|
||||
$icon-{{ icon.name }}-file = '{{ icon.name }}.svg'
|
||||
{% endfor %}
|
||||
@@ -0,0 +1,25 @@
|
||||
@font-face
|
||||
font-family: $icon-font-name
|
||||
src: url('./{{ options.fontName }}.eot')
|
||||
src: url('./{{ options.fontName }}.eot#iefix') format('embedded-opentype'),
|
||||
url('./{{ options.fontName }}.woff2') format('woff2'),
|
||||
url('./{{ options.fontName }}.woff') format('woff'),
|
||||
url('./{{ options.fontName }}.ttf') format('truetype')
|
||||
font-weight: normal
|
||||
font-style: normal
|
||||
|
||||
.icon
|
||||
font-family: $icon-font-name !important
|
||||
speak: none
|
||||
font-style: normal
|
||||
font-weight: normal
|
||||
font-variant: normal
|
||||
text-transform: none
|
||||
line-height: 1
|
||||
-webkit-font-smoothing: antialiased
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
|
||||
{% for icon in glyphs %}
|
||||
.icon-{{ icon.name }}:before
|
||||
content: $icon-{{ icon.name }}
|
||||
{% endfor %}
|
||||
Reference in new issue
Block a user