Skip to content

Commit 3dc7deb

Browse files
committed
Added icon showcase to test www
1 parent 23ed09a commit 3dc7deb

File tree

5 files changed

+1299
-33
lines changed

5 files changed

+1299
-33
lines changed

src/components/Icon/IconName.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@ export type IconName =
33
| 'alert-circle'
44
| 'alert-triangle'
55
| 'archive'
6-
| 'arrow-back'
6+
| 'arrow-left'
77
| 'arrow-circle-down'
88
| 'arrow-circle-left'
99
| 'arrow-circle-right'
1010
| 'arrow-circle-up'
11+
| 'sort-down'
1112
| 'arrow-down'
12-
| 'arrow-downward'
13-
| 'arrow-forward'
14-
| 'arrow-ios-back'
15-
| 'arrow-ios-downward'
16-
| 'arrow-ios-forward'
17-
| 'arrow-ios-upward'
18-
| 'arrow-left'
1913
| 'arrow-right'
14+
| 'arrow-alt-left'
15+
| 'arrow-alt-down'
16+
| 'arrow-alt-right'
17+
| 'arrow-alt-up'
18+
| 'sort-left'
19+
| 'sort-right'
20+
| 'sort-up'
2021
| 'arrow-up'
21-
| 'arrow-upward'
22-
| 'arrowhead-down'
23-
| 'arrowhead-left'
24-
| 'arrowhead-right'
25-
| 'arrowhead-up'
22+
| 'chevron-double-down'
23+
| 'chevron-double-left'
24+
| 'chevron-double-right'
25+
| 'chevron-double-up'
2626
| 'at'
2727
| 'attach-2'
2828
| 'attach'
@@ -166,11 +166,11 @@ export type IconName =
166166
| 'pause-circle'
167167
| 'people'
168168
| 'percent'
169-
| 'person-add'
170-
| 'person-delete'
171-
| 'person-done'
172-
| 'person'
173-
| 'person-remove'
169+
| 'user-add'
170+
| 'user-delete'
171+
| 'user-done'
172+
| 'user'
173+
| 'user-remove'
174174
| 'phone-call'
175175
| 'phone-missed'
176176
| 'phone-off'
@@ -207,8 +207,8 @@ export type IconName =
207207
| 'shopping-cart'
208208
| 'shuffle-2'
209209
| 'shuffle'
210-
| 'skip-back'
211-
| 'skip-forward'
210+
| 'step-backward'
211+
| 'step-forward'
212212
| 'slash'
213213
| 'smartphone'
214214
| 'smiling-face'

src/style/base/_typography.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,6 @@
9595
url('../fonts/icons/cui-icons.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
9696
}
9797

98-
.cui-icon {
99-
font: {
100-
family: 'Cui-Icons';
101-
weight: normal;
102-
}
103-
104-
line-height: 1.2rem;
105-
-moz-osx-font-smoothing: grayscale;
106-
-webkit-font-smoothing: antialiased;
107-
}
108-
10998
h1 {
11099
font-size: 2rem;
111100
color: mixins.color('gray', 900);

src/style/components/_icons.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
.cui-icon-activity:before {
1212

1313
}
14+
15+
@for $i from 1 through 12 {
16+
&.cui-icon-size-#{$i} {
17+
font-size: #{$i * variables.$base-gutter-steps}rem;
18+
}
19+
}
1420
}
1521

1622
@each $name, $icon in variables.$icons {

src/style/layout/_helpers.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,23 @@
6565
.background-primary-light {
6666
background: var(--primary-color-light-background);
6767
}
68+
69+
.d-flex {
70+
display: flex;
71+
}
72+
73+
.d-inline-flex {
74+
display: inline-flex;
75+
}
76+
77+
.align-items-center {
78+
align-items: center;
79+
}
80+
81+
.justify-content-center {
82+
justify-content: center;
83+
}
84+
85+
.flex-direction-column {
86+
flex-direction: column;
87+
}

0 commit comments

Comments
 (0)