Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHe Yeshuang <yeshuanghe@gmail.com>2020-04-06 17:54:44 +0300
committerHe Yeshuang <yeshuanghe@gmail.com>2020-04-06 17:54:44 +0300
commit22b5a0b263677802a7fb10021731204c0343f887 (patch)
tree0cf75faf2a58d5f3b10b1ad346db6463016805dc /tailwind.config.js
parentfe83bb0c219f013cae0e73af6d22e59047ea8b0c (diff)
now we dont need big config
Diffstat (limited to 'tailwind.config.js')
-rw-r--r--tailwind.config.js121
1 files changed, 0 insertions, 121 deletions
diff --git a/tailwind.config.js b/tailwind.config.js
index 78a53e3..dc887bf 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -9,127 +9,6 @@ module.exports = {
'lg': '0 2px 10px rgba(0, 0, 0, 0.5)',
},
textStyles: theme => ({ // defaults to {}
- heading: {
- output: false, // this means there won't be a "heading" component in the CSS, but it can be extended
- fontWeight: theme('fontWeight.bold'),
- lineHeight: theme('lineHeight.tight'),
- },
- h1: {
- extends: 'heading', // this means all the styles in "heading" will be copied here; "extends" can also be an array to extend multiple text styles
- fontSize: theme('fontSize.5xl'),
- '@screen sm': {
- fontSize: theme('fontSize.6xl'),
- },
- },
- h2: {
- extends: 'heading',
- fontSize: theme('fontSize.4xl'),
- '@screen sm': {
- fontSize: theme('fontSize.5xl'),
- },
- },
- h3: {
- extends: 'heading',
- fontSize: theme('fontSize.4xl'),
- },
- h4: {
- extends: 'heading',
- fontSize: theme('fontSize.3xl'),
- },
- h5: {
- extends: 'heading',
- fontSize: theme('fontSize.2xl'),
- },
- h6: {
- extends: 'heading',
- fontSize: theme('fontSize.xl'),
- },
- link: {
- fontWeight: theme('fontWeight.bold'),
- color: theme('colors.java.500'),
- '&:hover': {
- color: theme('colors.java.700'),
- // color: theme('colors.blue-stone.500'),
- textDecoration: 'underline',
- },
- },
- richText: {
- fontWeight: theme('fontWeight.normal'),
- fontSize: theme('fontSize.base'),
- lineHeight: theme('lineHeight.relaxed'),
- '> * + *': {
- marginTop: '1rem',
- },
- 'h1': {
- extends: 'h1',
- },
- 'h2': {
- extends: 'h2',
- },
- 'h3': {
- extends: 'h3',
- },
- 'h4': {
- extends: 'h4',
- },
- 'h5': {
- extends: 'h5',
- },
- 'h6': {
- extends: 'h6',
- },
- 'ul': {
- listStyleType: 'square',
- listStylePosition:'inside'
- },
- 'ol': {
- listStyleType: 'lower-greek',
- listStylePosition:'inside'
- },
- 'li > ol, li > ul': {
- marginLeft: theme("spacing.2")
- },
- '.footnotes ol':{
- listStyleType: 'decimal',
- listStylePosition:'outside'
- },
- 'mark':{
- backgroundColor:theme("colors.java.300"),
- borderBottomWidth:"2px",
- borderBottomColor:theme("colors.java.600"),
- padding: "2px",
- margin: "0 5px"
- },
- "table":{
- tableLayout:"auto"
- },
- "th,td":{
- borderBottomWidth: "1px",
- borderBottomColor: theme("colors.java.600"),
- paddingTop: "0.5rem",
- paddingBottom: "0.5rem",
- paddingLeft: "1rem",
- paddingRight: "1rem"
- },
- th:{
- backgroundColor:theme("colors.java.100"),
- borderTopWidth: "1px",
- borderTopColor: theme("colors.java.600"),
- },
- 'a': {
- extends: 'link',
- },
- 'b, strong': {
- fontWeight: theme('fontWeight.bold'),
- },
- 'i, em': {
- fontStyle: 'italic',
- },
- 'sub, sup':{
- fontSize: theme('fontSize.xs'),
- verticalAlign:'baseline'
- },
- },
}),
extend: {
colors: { // color scheme: