Skip to content

Commit

Permalink
fix: add font weight range & remove default button style
Browse files Browse the repository at this point in the history
  • Loading branch information
aube-dev committed Aug 16, 2024
1 parent 2d24590 commit 3942a96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/common/Button/Button.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { getMediaQuery, rgba } from '@/utils/style';

export const buttonBase = style({
cursor: 'pointer',
appearance: 'none',
WebkitAppearance: 'none',
':disabled': {
cursor: 'not-allowed',
},
Expand Down
2 changes: 2 additions & 0 deletions app/root.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import SUITVariable from '@/assets/SUIT-Variable.woff2';

globalFontFace('SUIT-Variable', {
src: `url(${SUITVariable}) format('woff2')`,
/** @link https://stackoverflow.com/questions/77467442/font-weight-too-bold-on-mobile */
fontWeight: '100 900',
});

globalStyle('*, *::before, *::after', {
Expand Down

0 comments on commit 3942a96

Please sign in to comment.