Skip to content

Commit

Permalink
fix(ui): stop XL font responsiveness (#1990)
Browse files Browse the repository at this point in the history
* fix(ui): stop XL size text responsiveness

* chore: changeset
  • Loading branch information
VanishMax authored Jan 23, 2025
1 parent 241bf3d commit f3ee52a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 41 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-emus-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@penumbra-zone/ui': patch
---

Stop XL screen size responsiveness
86 changes: 45 additions & 41 deletions packages/ui/src/theme/font-sizes.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,56 +131,60 @@

/* EXTRA LARGE SCREENS */

@screen xl {
.text-textXs {
font-size: 0.875rem;
}
/*
TODO: create a mechanism to turn font responsiveness on/off
*/

.text-textSm {
font-size: 1rem;
}
/*@screen xl {*/
/* .text-textXs {*/
/* font-size: 0.875rem;*/
/* }*/

.text-textBase {
font-size: 1.125rem;
}
/* .text-textSm {*/
/* font-size: 1rem;*/
/* }*/

.text-textLg {
font-size: 1.25rem;
}
/* .text-textBase {*/
/* font-size: 1.125rem;*/
/* }*/

.text-textXl {
font-size: 1.375rem;
}
/* .text-textLg {*/
/* font-size: 1.25rem;*/
/* }*/

.text-text2xl {
font-size: 1.6875rem;
}
/* .text-textXl {*/
/* font-size: 1.375rem;*/
/* }*/

.text-text3xl {
font-size: 2.125rem;
}
/* .text-text2xl {*/
/* font-size: 1.6875rem;*/
/* }*/

.text-text4xl {
font-size: 2.5rem;
}
/* .text-text3xl {*/
/* font-size: 2.125rem;*/
/* }*/

.text-text5xl {
font-size: 3.375rem;
}
/* .text-text4xl {*/
/* font-size: 2.5rem;*/
/* }*/

.text-text6xl {
font-size: 4.25rem;
}
/* .text-text5xl {*/
/* font-size: 3.375rem;*/
/* }*/

.text-text7xl {
font-size: 5.0625rem;
}
/* .text-text6xl {*/
/* font-size: 4.25rem;*/
/* }*/

.text-text8xl {
font-size: 6.75rem;
}
/* .text-text7xl {*/
/* font-size: 5.0625rem;*/
/* }*/

.text-text9xl {
font-size: 9rem;
}
}
/* .text-text8xl {*/
/* font-size: 6.75rem;*/
/* }*/

/* .text-text9xl {*/
/* font-size: 9rem;*/
/* }*/
/*}*/

0 comments on commit f3ee52a

Please sign in to comment.