Skip to content

Commit 108afce

Browse files
committed
CSS - Add webkit-font-smoothing
1 parent 7af8afc commit 108afce

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88
## Unreleased
9+
- [Pink-Cupcake] CSS: Add webkit-font-smoothing
910

1011
## 6.0.0-beta.6 - 2025-11-23
1112
- Update Docker Readme

packages/theme-pink-cupcake/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88
## [6.0.0-beta.7](https://github.com/userfrosting/theme-pink-cupcake/compare/6.0.0-beta.6...6.0.0-beta.7)
9+
- CSS: Add webkit-font-smoothing
910

1011
## [6.0.0-beta.6](https://github.com/userfrosting/theme-pink-cupcake/compare/6.0.0-beta.5...6.0.0-beta.6)
1112
- Fix fontsource resources not being found when importing the main Less file in skeleton
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.hook-base-body() {
2+
-webkit-font-smoothing: antialiased;
3+
-moz-osx-font-smoothing: grayscale;
4+
}

packages/theme-pink-cupcake/src/less/components/navbar.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313

1414
// Custom hooks
1515
// ========================================================================
16+
.hook-navbar() {
17+
-webkit-font-smoothing: auto;
18+
-moz-osx-font-smoothing: auto;
19+
}
20+
1621
// Custom hover color for nav items
1722
.hook-navbar-nav-item-hover() {
1823
background-color: @navbar-nav-item-hover-background-color;

packages/theme-pink-cupcake/src/less/main.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// UIkit components customization
55
@import 'components/variables.less';
6+
@import 'components/base.less';
67
@import 'components/breadcrumb.less';
78
@import 'components/alert.less';
89
@import 'components/form.less'; // Before: Icon, Form Range

0 commit comments

Comments
 (0)