Skip to content

Commit d7bb89f

Browse files
committed
Icons sizes
1 parent b68898e commit d7bb89f

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

dist/textpattern/jquery-ui.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,18 @@ a.ui-state-default:focus {
298298
text-indent: -9999px;
299299
}
300300

301+
.ui-icon-medium {
302+
width: 24px;
303+
height: 24px;
304+
background-size: 24px 24px;
305+
}
306+
307+
.ui-icon-large {
308+
width: 32px;
309+
height: 32px;
310+
background-size: 32px 32px;
311+
}
312+
301313
body.darkmode .ui-icon,
302314
body.darkmode .no-ui-button .ui-button .ui-icon {
303315
filter: brightness(3) sepia(1) hue-rotate(168deg) saturate(33%);

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
"webpack": "5.9.0",
3434
"webpack-cli": "4.2.0"
3535
},
36-
"optionalDependencies": {
37-
"fibers": "5.0.0"
38-
},
3936
"browserslist": [
4037
"> 0.5%",
4138
"Firefox ESR",

scss/modules/jquery-ui/_icons.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@
2727
text-indent: -9999px;
2828
}
2929

30+
.ui-icon-medium {
31+
width: 24px;
32+
height: 24px;
33+
background-size: 24px 24px;
34+
}
35+
36+
.ui-icon-large {
37+
width: 32px;
38+
height: 32px;
39+
background-size: 32px 32px;
40+
}
41+
3042
@include setup.dark-mode {
3143
.ui-icon,
3244
.no-ui-button .ui-button .ui-icon {

0 commit comments

Comments
 (0)