Skip to content

Commit

Permalink
reducing base font size for headers for md screens
Browse files Browse the repository at this point in the history
  • Loading branch information
mdyoung3 committed Mar 13, 2024
1 parent 7f6d281 commit 503b518
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/styles/tailwind/plugins/base/base.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* SUL custom base styles
*/

module.exports = function () {
return function ({ addBase }) {
addBase({
Expand All @@ -12,7 +8,7 @@ module.exports = function () {
fontSize: '2.31em',
letterSpacing: '-0.02em',
'@screen md': {
fontSize: '2.99em',
fontSize: '2.69em',
},
'@screen lg': {
fontSize: '3.81em',
Expand All @@ -22,7 +18,7 @@ module.exports = function () {
fontSize: '1.75em',
letterSpacing: '-0.016em',
'@screen md': {
fontSize: '2.07em',
fontSize: '1.86em',
},
'@screen lg': {
fontSize: '2.44em',
Expand All @@ -32,7 +28,7 @@ module.exports = function () {
fontSize: '1.52em',
letterSpacing: '-0.014em',
'@screen md': {
fontSize: '1.73em',
fontSize: '1.56em',
},
'@screen lg': {
fontSize: '1.95em',
Expand All @@ -42,7 +38,7 @@ module.exports = function () {
fontSize: '1.32em',
letterSpacing: '-0.012em',
'@screen md': {
fontSize: '1.44em',
fontSize: '1.3em',
},
'@screen lg': {
fontSize: '1.56em',
Expand All @@ -52,12 +48,12 @@ module.exports = function () {
fontSize: '1.15em',
letterSpacing: '-0.01em',
'@screen md': {
fontSize: '1.2em',
fontSize: '1.08em',
},
'@screen lg': {
fontSize: '1.25em',
},
},
});
};
};
};

0 comments on commit 503b518

Please sign in to comment.