Skip to content

Commit ef72e93

Browse files
committed
chore(ui): create QIcon stylesheet files
1 parent 8fe5fc7 commit ef72e93

File tree

7 files changed

+9
-11
lines changed

7 files changed

+9
-11
lines changed

ui/dev/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ import '../src/css/index.sass'
2020
import './app.styl'
2121
// import iconSet from '../icon-set/fontawesomeV5'
2222

23+
import '@quasar/extras/roboto-font/roboto-font.css'
24+
25+
import '@quasar/extras/material-icons/material-icons.css'
2326
import '@quasar/extras/fontawesome-v5/fontawesome-v5.css'
2427
import '@quasar/extras/mdi-v4/mdi-v4.css'
2528
import '@quasar/extras/ionicons-v4/ionicons-v4.css'

ui/dev/spa.index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<base href="/">
1010
<title>Quasar Development</title>
1111
<link rel="icon" href="https://cdn.quasar.dev/img/quasar-logo.png" type="image/x-icon">
12-
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Material+Icons&Roboto:100,300,400,500,700,900">
1312
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/animate.css@^3.5.2/animate.min.css">
1413
</head>
1514
<body class="demo-site">

ui/dev/ssr.index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<base href="{{ baseHref }}">
1111
<title>Quasar Development</title>
1212
<link rel="icon" href="https://cdn.quasar.dev/img/quasar-logo.png" type="image/x-icon">
13-
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Material+Icons&Roboto:100,300,400,500,700,900">
1413
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/animate.css@^3.5.2/animate.min.css">
1514
</head>
1615
<body class="demo-site {{ Q_BODY_CLASSES }}" {{ Q_BODY_ATTRS}}>
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.q-icon
2+
overflow: hidden
23
line-height: 1
34
width: 1em
45
height: 1em
@@ -10,9 +11,6 @@
1011
text-align: center
1112
position: relative
1213

13-
font-display: block // flash of invisible text until the font loads
14-
// https://font-display.glitch.me/
15-
1614
fill: currentColor // for svg paths
1715

1816
&:before
@@ -38,4 +36,3 @@
3836
align-items: center
3937
justify-content: center
4038
vertical-align: middle
41-
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.q-icon
2+
overflow: hidden
23
line-height: 1
34
width: 1em
45
height: 1em
@@ -10,9 +11,6 @@
1011
text-align: center
1112
position: relative
1213

13-
font-display: block // flash of invisible text until the font loads
14-
// https://font-display.glitch.me/
15-
1614
fill: currentColor // for svg paths
1715

1816
&:before

ui/src/css/index.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import './variables.sass'
22
@import './normalize.sass'
3-
@import './critical.sass'
3+
4+
@import '../components/icon/QIcon.sass'
45

56
/* Mixins */
67
@import '../mixins/panel.sass'

ui/src/css/index.styl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import './variables.styl'
22
@import './normalize.styl'
3-
@import './critical.styl'
3+
4+
@import '../components/icon/QIcon.styl'
45

56
/* Mixins */
67
@import '../mixins/panel.styl'

0 commit comments

Comments
 (0)