⚡ feat: more stuff
This commit is contained in:
47
tailwind-typography-styles.cjs
Normal file
47
tailwind-typography-styles.cjs
Normal file
@@ -0,0 +1,47 @@
|
||||
module.exports = (_theme) => ({
|
||||
DEFAULT: {
|
||||
css: {
|
||||
color: false,
|
||||
fontWeight: 300,
|
||||
"@apply text-on-primary": "",
|
||||
|
||||
a: {
|
||||
color: false,
|
||||
fontWeight: 400,
|
||||
"@apply text-accent": "",
|
||||
},
|
||||
"a:hover, a:focus": {
|
||||
textDecoration: "underline",
|
||||
"@apply text-accent-strong": "",
|
||||
},
|
||||
|
||||
strong: {
|
||||
color: false,
|
||||
fontWeight: 400,
|
||||
},
|
||||
|
||||
h1: {
|
||||
color: false,
|
||||
},
|
||||
h2: {
|
||||
color: false,
|
||||
},
|
||||
h3: {
|
||||
color: false,
|
||||
},
|
||||
h4: {
|
||||
color: false,
|
||||
},
|
||||
|
||||
"h1, h2, h3, h4": {
|
||||
"@apply font-heading": "",
|
||||
},
|
||||
|
||||
"h1 a, h2 a, h3 a, h4 a": {
|
||||
fontWeight: 500,
|
||||
textDecoration: "none",
|
||||
"@apply text-on-primary": "",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user