Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
c9401214
Commit
c9401214
authored
Nov 25, 2017
by
Tim Neutkens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix linting
parent
52bf00ed
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
52 additions
and
85 deletions
+52
-85
Post.js
examples/with-apollo-and-redux/components/Post.js
+1
-2
PostList.js
examples/with-apollo-and-redux/components/PostList.js
+1
-1
index.js
examples/with-apollo-and-redux/pages/index.js
+0
-2
server.js
examples/with-apollo-and-redux/server.js
+0
-1
head.js
examples/with-tailwindcss/components/head.js
+16
-16
nav.js
examples/with-tailwindcss/components/nav.js
+2
-4
_document.js
examples/with-tailwindcss/pages/_document.js
+4
-4
index.js
examples/with-tailwindcss/pages/index.js
+3
-4
postcss.config.js
examples/with-tailwindcss/styles/config/postcss.config.js
+2
-2
tailwind.config.js
examples/with-tailwindcss/styles/config/tailwind.config.js
+23
-49
No files found.
examples/with-apollo-and-redux/components/Post.js
View file @
c9401214
...
@@ -7,7 +7,7 @@ function Post ({ id, data: { loading, error, Post } }) {
...
@@ -7,7 +7,7 @@ function Post ({ id, data: { loading, error, Post } }) {
<
section
>
<
section
>
<
div
key
=
{
Post
.
id
}
>
<
div
key
=
{
Post
.
id
}
>
<
h1
>
{
Post
.
title
}
<
/h1
>
<
h1
>
{
Post
.
title
}
<
/h1
>
<
p
>
ID
:
{
Post
.
id
}
<
br
/>
URL
:
{
Post
.
url
}
<
/p
>
<
p
>
ID
:
{
Post
.
id
}
<
br
/>
URL
:
{
Post
.
url
}
<
/p
>
<
PostUpvoter
id
=
{
Post
.
id
}
votes
=
{
Post
.
votes
}
/
>
<
PostUpvoter
id
=
{
Post
.
id
}
votes
=
{
Post
.
votes
}
/
>
<
/div
>
<
/div
>
<
/section
>
<
/section
>
...
@@ -26,7 +26,6 @@ const post = gql`
...
@@ -26,7 +26,6 @@ const post = gql`
}
}
`
`
// The `graphql` wrapper executes a GraphQL query and makes the results
// The `graphql` wrapper executes a GraphQL query and makes the results
// available on the `data` prop of the wrapped component (PostList)
// available on the `data` prop of the wrapped component (PostList)
// Tip: ownProps is parent component's props
// Tip: ownProps is parent component's props
...
...
examples/with-apollo-and-redux/components/PostList.js
View file @
c9401214
...
@@ -16,7 +16,7 @@ function PostList ({ data: { loading, error, allPosts, _allPostsMeta }, loadMore
...
@@ -16,7 +16,7 @@ function PostList ({ data: { loading, error, allPosts, _allPostsMeta }, loadMore
<
li
key
=
{
post
.
id
}
>
<
li
key
=
{
post
.
id
}
>
<
div
>
<
div
>
<
span
>
{
index
+
1
}.
<
/span
>
<
span
>
{
index
+
1
}.
<
/span
>
<
Link
href
=
{{
pathname
:
'/blog/'
+
post
.
id
}}
><
a
>
{
post
.
title
}
<
/a></
Link
>
<
Link
href
=
{{
pathname
:
'/blog/'
+
post
.
id
}}
><
a
>
{
post
.
title
}
<
/a></
Link
>
<
PostUpvoter
id
=
{
post
.
id
}
votes
=
{
post
.
votes
}
/
>
<
PostUpvoter
id
=
{
post
.
id
}
votes
=
{
post
.
votes
}
/
>
<
/div
>
<
/div
>
<
/li
>
<
/li
>
...
...
examples/with-apollo-and-redux/pages/index.js
View file @
c9401214
import
App
from
'../components/App'
import
App
from
'../components/App'
import
Header
from
'../components/Header'
import
Header
from
'../components/Header'
import
Submit
from
'../components/Submit'
import
PostList
from
'../components/PostList'
import
withData
from
'../lib/withData'
import
withData
from
'../lib/withData'
export
default
withData
((
props
)
=>
(
export
default
withData
((
props
)
=>
(
...
...
examples/with-apollo-and-redux/server.js
View file @
c9401214
...
@@ -37,4 +37,3 @@ app.prepare().then(() => {
...
@@ -37,4 +37,3 @@ app.prepare().then(() => {
console
.
log
(
`> Ready on http://localhost:
${
port
}
`
)
console
.
log
(
`> Ready on http://localhost:
${
port
}
`
)
})
})
})
})
examples/with-tailwindcss/components/head.js
View file @
c9401214
...
@@ -7,23 +7,23 @@ const defaultOGImage = ''
...
@@ -7,23 +7,23 @@ const defaultOGImage = ''
const
Head
=
(
props
)
=>
(
const
Head
=
(
props
)
=>
(
<
NextHead
>
<
NextHead
>
<
meta
charset
=
"UTF-8"
/>
<
meta
charset
=
'UTF-8'
/>
<
title
>
{
props
.
title
||
''
}
<
/title
>
<
title
>
{
props
.
title
||
''
}
<
/title
>
<
meta
name
=
"description"
content
=
{
props
.
description
||
defaultDescription
}
/
>
<
meta
name
=
'description'
content
=
{
props
.
description
||
defaultDescription
}
/
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
/>
<
meta
name
=
'viewport'
content
=
'width=device-width, initial-scale=1'
/>
<
link
rel
=
"icon"
sizes
=
"192x192"
href
=
"/static/touch-icon.png"
/>
<
link
rel
=
'icon'
sizes
=
'192x192'
href
=
'/static/touch-icon.png'
/>
<
link
rel
=
"apple-touch-icon"
href
=
"/static/touch-icon.png"
/>
<
link
rel
=
'apple-touch-icon'
href
=
'/static/touch-icon.png'
/>
<
link
rel
=
"mask-icon"
href
=
"/static/favicon-mask.svg"
color
=
"#49B882"
/>
<
link
rel
=
'mask-icon'
href
=
'/static/favicon-mask.svg'
color
=
'#49B882'
/>
<
link
rel
=
"icon"
href
=
"/static/favicon.ico"
/>
<
link
rel
=
'icon'
href
=
'/static/favicon.ico'
/>
<
meta
property
=
"og:url"
content
=
{
props
.
url
||
defaultOGURL
}
/
>
<
meta
property
=
'og:url'
content
=
{
props
.
url
||
defaultOGURL
}
/
>
<
meta
property
=
"og:title"
content
=
{
props
.
title
||
''
}
/
>
<
meta
property
=
'og:title'
content
=
{
props
.
title
||
''
}
/
>
<
meta
property
=
"og:description"
content
=
{
props
.
description
||
defaultDescription
}
/
>
<
meta
property
=
'og:description'
content
=
{
props
.
description
||
defaultDescription
}
/
>
<
meta
name
=
"twitter:site"
content
=
{
props
.
url
||
defaultOGURL
}
/
>
<
meta
name
=
'twitter:site'
content
=
{
props
.
url
||
defaultOGURL
}
/
>
<
meta
name
=
"twitter:card"
content
=
"summary_large_image"
/>
<
meta
name
=
'twitter:card'
content
=
'summary_large_image'
/>
<
meta
name
=
"twitter:image"
content
=
{
props
.
ogImage
||
defaultOGImage
}
/
>
<
meta
name
=
'twitter:image'
content
=
{
props
.
ogImage
||
defaultOGImage
}
/
>
<
meta
property
=
"og:image"
content
=
{
props
.
ogImage
||
defaultOGImage
}
/
>
<
meta
property
=
'og:image'
content
=
{
props
.
ogImage
||
defaultOGImage
}
/
>
<
meta
property
=
"og:image:width"
content
=
"1200"
/>
<
meta
property
=
'og:image:width'
content
=
'1200'
/>
<
meta
property
=
"og:image:height"
content
=
"630"
/>
<
meta
property
=
'og:image:height'
content
=
'630'
/>
<
/NextHead
>
<
/NextHead
>
)
)
...
...
examples/with-tailwindcss/components/nav.js
View file @
c9401214
import
Head
from
'./head'
import
Link
from
'next/link'
import
Link
from
'next/link'
const
links
=
[
const
links
=
[
{
href
:
'https://github.com/segmentio/create-next-app'
,
label
:
'Github'
}
{
href
:
'https://github.com/segmentio/create-next-app'
,
label
:
'Github'
}
].
map
(
link
=>
{
].
map
(
link
=>
{
...
@@ -12,7 +10,7 @@ const Nav = () => (
...
@@ -12,7 +10,7 @@ const Nav = () => (
<
nav
>
<
nav
>
<
ul
>
<
ul
>
<
li
>
<
li
>
<
Link
prefetch
href
=
"/"
>
<
Link
prefetch
href
=
'/'
>
<
a
>
Home
<
/a
>
<
a
>
Home
<
/a
>
<
/Link
>
<
/Link
>
<
/li
>
<
/li
>
...
@@ -21,7 +19,7 @@ const Nav = () => (
...
@@ -21,7 +19,7 @@ const Nav = () => (
({
key
,
href
,
label
})
=>
(
({
key
,
href
,
label
})
=>
(
<
li
key
=
{
key
}
>
<
li
key
=
{
key
}
>
<
Link
href
=
{
href
}
>
<
Link
href
=
{
href
}
>
<
a
className
=
"btn-blue"
>
{
label
}
<
/a
>
<
a
className
=
'btn-blue'
>
{
label
}
<
/a
>
<
/Link
>
<
/Link
>
<
/li
>
<
/li
>
)
)
...
...
examples/with-tailwindcss/pages/_document.js
View file @
c9401214
import
Document
,
{
Head
,
Main
,
NextScript
}
from
'next/document'
import
Document
,
{
Head
,
Main
,
NextScript
}
from
'next/document'
class
MyDocument
extends
Document
{
class
MyDocument
extends
Document
{
static
getInitialProps
({
renderPage
})
{
static
getInitialProps
({
renderPage
})
{
const
{
html
,
head
,
errorHtml
,
chunks
}
=
renderPage
()
const
{
html
,
head
,
errorHtml
,
chunks
}
=
renderPage
()
return
{
html
,
head
,
errorHtml
,
chunks
}
return
{
html
,
head
,
errorHtml
,
chunks
}
}
}
render
()
{
render
()
{
return
(
return
(
<
html
>
<
html
>
<
Head
>
<
Head
>
<
link
rel
=
"stylesheet"
href
=
"/static/css/bundle.css"
/>
<
link
rel
=
'stylesheet'
href
=
'/static/css/bundle.css'
/>
<
/Head
>
<
/Head
>
<
body
>
<
body
>
{
this
.
props
.
customValue
}
{
this
.
props
.
customValue
}
...
@@ -23,4 +23,4 @@ class MyDocument extends Document {
...
@@ -23,4 +23,4 @@ class MyDocument extends Document {
}
}
}
}
export
default
MyDocument
;
export
default
MyDocument
examples/with-tailwindcss/pages/index.js
View file @
c9401214
import
Link
from
'next/link'
import
Head
from
'../components/head'
import
Head
from
'../components/head'
import
Nav
from
'../components/nav'
import
Nav
from
'../components/nav'
export
default
()
=>
(
export
default
()
=>
(
<
div
>
<
div
>
<
Head
title
=
"Home"
/>
<
Head
title
=
'Home'
/>
<
Nav
/>
<
Nav
/>
<
div
className
=
"hero"
>
<
div
className
=
'hero'
>
<
h1
className
=
"title"
>
Next
.
js
+
Tailwind
css
<
/h1
>
<
h1
className
=
'title'
>
Next
.
js
+
Tailwind
css
<
/h1
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
)
)
examples/with-tailwindcss/styles/config/postcss.config.js
View file @
c9401214
var
tailwindcss
=
require
(
'tailwindcss'
)
;
var
tailwindcss
=
require
(
'tailwindcss'
)
module
.
exports
=
{
module
.
exports
=
{
plugins
:
[
plugins
:
[
require
(
'postcss-easy-import'
),
require
(
'postcss-easy-import'
),
tailwindcss
(
'./styles/config/tailwind.config.js'
),
tailwindcss
(
'./styles/config/tailwind.config.js'
),
require
(
'autoprefixer'
),
require
(
'autoprefixer'
),
require
(
'cssnano'
)
,
require
(
'cssnano'
)
]
]
}
}
examples/with-tailwindcss/styles/config/tailwind.config.js
View file @
c9401214
...
@@ -12,7 +12,6 @@ we've done our very best to explain each section.
...
@@ -12,7 +12,6 @@ we've done our very best to explain each section.
View the full documentation at https://tailwindcss.com.
View the full documentation at https://tailwindcss.com.
|-------------------------------------------------------------------------------
|-------------------------------------------------------------------------------
| The default config
| The default config
|-------------------------------------------------------------------------------
|-------------------------------------------------------------------------------
...
@@ -24,8 +23,7 @@ View the full documentation at https://tailwindcss.com.
...
@@ -24,8 +23,7 @@ View the full documentation at https://tailwindcss.com.
|
|
*/
*/
var
defaultConfig
=
require
(
'tailwindcss/defaultConfig'
)()
// var defaultConfig = require('tailwindcss/defaultConfig')()
/*
/*
|-------------------------------------------------------------------------------
|-------------------------------------------------------------------------------
...
@@ -126,7 +124,7 @@ var colors = {
...
@@ -126,7 +124,7 @@ var colors = {
'pink'
:
'#f66d9b'
,
'pink'
:
'#f66d9b'
,
'pink-light'
:
'#fa7ea8'
,
'pink-light'
:
'#fa7ea8'
,
'pink-lighter'
:
'#ffbbca'
,
'pink-lighter'
:
'#ffbbca'
,
'pink-lightest'
:
'#ffebef'
,
'pink-lightest'
:
'#ffebef'
}
}
module
.
exports
=
{
module
.
exports
=
{
...
@@ -146,7 +144,6 @@ module.exports = {
...
@@ -146,7 +144,6 @@ module.exports = {
colors
:
colors
,
colors
:
colors
,
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Screens https://tailwindcss.com/docs/responsive-design
| Screens https://tailwindcss.com/docs/responsive-design
...
@@ -170,10 +167,9 @@ module.exports = {
...
@@ -170,10 +167,9 @@ module.exports = {
'sm'
:
'576px'
,
'sm'
:
'576px'
,
'md'
:
'768px'
,
'md'
:
'768px'
,
'lg'
:
'992px'
,
'lg'
:
'992px'
,
'xl'
:
'1200px'
,
'xl'
:
'1200px'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Fonts https://tailwindcss.com/docs/fonts
| Fonts https://tailwindcss.com/docs/fonts
...
@@ -204,7 +200,7 @@ module.exports = {
...
@@ -204,7 +200,7 @@ module.exports = {
'Fira Sans'
,
'Fira Sans'
,
'Droid Sans'
,
'Droid Sans'
,
'Helvetica Neue'
,
'Helvetica Neue'
,
'sans-serif'
,
'sans-serif'
],
],
'serif'
:
[
'serif'
:
[
'Constantia'
,
'Constantia'
,
...
@@ -216,7 +212,7 @@ module.exports = {
...
@@ -216,7 +212,7 @@ module.exports = {
'Bitstream Vera Serif'
,
'Bitstream Vera Serif'
,
'Liberation Serif'
,
'Liberation Serif'
,
'Georgia'
,
'Georgia'
,
'serif'
,
'serif'
],
],
'mono'
:
[
'mono'
:
[
'Menlo'
,
'Menlo'
,
...
@@ -224,11 +220,10 @@ module.exports = {
...
@@ -224,11 +220,10 @@ module.exports = {
'Consolas'
,
'Consolas'
,
'Liberation Mono'
,
'Liberation Mono'
,
'Courier New'
,
'Courier New'
,
'monospace'
,
'monospace'
]
]
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Text sizes https://tailwindcss.com/docs/text-sizing
| Text sizes https://tailwindcss.com/docs/text-sizing
...
@@ -257,10 +252,9 @@ module.exports = {
...
@@ -257,10 +252,9 @@ module.exports = {
'2xl'
:
'1.5rem'
,
// 24px
'2xl'
:
'1.5rem'
,
// 24px
'3xl'
:
'1.875rem'
,
// 30px
'3xl'
:
'1.875rem'
,
// 30px
'4xl'
:
'2.25rem'
,
// 36px
'4xl'
:
'2.25rem'
,
// 36px
'5xl'
:
'3rem'
,
// 48px
'5xl'
:
'3rem'
// 48px
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Font weights https://tailwindcss.com/docs/font-weight
| Font weights https://tailwindcss.com/docs/font-weight
...
@@ -284,10 +278,9 @@ module.exports = {
...
@@ -284,10 +278,9 @@ module.exports = {
'semibold'
:
600
,
'semibold'
:
600
,
'bold'
:
700
,
'bold'
:
700
,
'extrabold'
:
800
,
'extrabold'
:
800
,
'black'
:
900
,
'black'
:
900
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Leading (line height) https://tailwindcss.com/docs/line-height
| Leading (line height) https://tailwindcss.com/docs/line-height
...
@@ -304,10 +297,9 @@ module.exports = {
...
@@ -304,10 +297,9 @@ module.exports = {
'none'
:
1
,
'none'
:
1
,
'tight'
:
1.25
,
'tight'
:
1.25
,
'normal'
:
1.5
,
'normal'
:
1.5
,
'loose'
:
2
,
'loose'
:
2
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Tracking (letter spacing) https://tailwindcss.com/docs/letter-spacing
| Tracking (letter spacing) https://tailwindcss.com/docs/letter-spacing
...
@@ -323,10 +315,9 @@ module.exports = {
...
@@ -323,10 +315,9 @@ module.exports = {
tracking
:
{
tracking
:
{
'tight'
:
'-0.05em'
,
'tight'
:
'-0.05em'
,
'normal'
:
'0'
,
'normal'
:
'0'
,
'wide'
:
'0.05em'
,
'wide'
:
'0.05em'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Text colors https://tailwindcss.com/docs/text-color
| Text colors https://tailwindcss.com/docs/text-color
...
@@ -342,7 +333,6 @@ module.exports = {
...
@@ -342,7 +333,6 @@ module.exports = {
textColors
:
colors
,
textColors
:
colors
,
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Background colors https://tailwindcss.com/docs/background-color
| Background colors https://tailwindcss.com/docs/background-color
...
@@ -358,7 +348,6 @@ module.exports = {
...
@@ -358,7 +348,6 @@ module.exports = {
backgroundColors
:
colors
,
backgroundColors
:
colors
,
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Border widths https://tailwindcss.com/docs/border-width
| Border widths https://tailwindcss.com/docs/border-width
...
@@ -377,10 +366,9 @@ module.exports = {
...
@@ -377,10 +366,9 @@ module.exports = {
'0'
:
'0'
,
'0'
:
'0'
,
'2'
:
'2px'
,
'2'
:
'2px'
,
'4'
:
'4px'
,
'4'
:
'4px'
,
'8'
:
'8px'
,
'8'
:
'8px'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Border colors https://tailwindcss.com/docs/border-color
| Border colors https://tailwindcss.com/docs/border-color
...
@@ -400,7 +388,6 @@ module.exports = {
...
@@ -400,7 +388,6 @@ module.exports = {
borderColors
:
Object
.
assign
({
default
:
colors
[
'grey-light'
]
},
colors
),
borderColors
:
Object
.
assign
({
default
:
colors
[
'grey-light'
]
},
colors
),
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Border radius https://tailwindcss.com/docs/border-radius
| Border radius https://tailwindcss.com/docs/border-radius
...
@@ -422,10 +409,9 @@ module.exports = {
...
@@ -422,10 +409,9 @@ module.exports = {
'sm'
:
'.125rem'
,
'sm'
:
'.125rem'
,
default
:
'.25rem'
,
default
:
'.25rem'
,
'lg'
:
'.5rem'
,
'lg'
:
'.5rem'
,
'full'
:
'9999px'
,
'full'
:
'9999px'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Width https://tailwindcss.com/docs/width
| Width https://tailwindcss.com/docs/width
...
@@ -477,7 +463,6 @@ module.exports = {
...
@@ -477,7 +463,6 @@ module.exports = {
'screen'
:
'100vw'
'screen'
:
'100vw'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Height https://tailwindcss.com/docs/height
| Height https://tailwindcss.com/docs/height
...
@@ -513,7 +498,6 @@ module.exports = {
...
@@ -513,7 +498,6 @@ module.exports = {
'screen'
:
'100vh'
'screen'
:
'100vh'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Minimum width https://tailwindcss.com/docs/min-width
| Minimum width https://tailwindcss.com/docs/min-width
...
@@ -530,10 +514,9 @@ module.exports = {
...
@@ -530,10 +514,9 @@ module.exports = {
minWidth
:
{
minWidth
:
{
'0'
:
'0'
,
'0'
:
'0'
,
'full'
:
'100%'
,
'full'
:
'100%'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Minimum height https://tailwindcss.com/docs/min-height
| Minimum height https://tailwindcss.com/docs/min-height
...
@@ -554,7 +537,6 @@ module.exports = {
...
@@ -554,7 +537,6 @@ module.exports = {
'screen'
:
'100vh'
'screen'
:
'100vh'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Maximum width https://tailwindcss.com/docs/max-width
| Maximum width https://tailwindcss.com/docs/max-width
...
@@ -580,10 +562,9 @@ module.exports = {
...
@@ -580,10 +562,9 @@ module.exports = {
'3xl'
:
'80rem'
,
'3xl'
:
'80rem'
,
'4xl'
:
'90rem'
,
'4xl'
:
'90rem'
,
'5xl'
:
'100rem'
,
'5xl'
:
'100rem'
,
'full'
:
'100%'
,
'full'
:
'100%'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Maximum height https://tailwindcss.com/docs/max-height
| Maximum height https://tailwindcss.com/docs/max-height
...
@@ -600,10 +581,9 @@ module.exports = {
...
@@ -600,10 +581,9 @@ module.exports = {
maxHeight
:
{
maxHeight
:
{
'full'
:
'100%'
,
'full'
:
'100%'
,
'screen'
:
'100vh'
,
'screen'
:
'100vh'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Padding https://tailwindcss.com/docs/padding
| Padding https://tailwindcss.com/docs/padding
...
@@ -627,10 +607,9 @@ module.exports = {
...
@@ -627,10 +607,9 @@ module.exports = {
'3'
:
'0.75rem'
,
'3'
:
'0.75rem'
,
'4'
:
'1rem'
,
'4'
:
'1rem'
,
'6'
:
'1.5rem'
,
'6'
:
'1.5rem'
,
'8'
:
'2rem'
,
'8'
:
'2rem'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Margin https://tailwindcss.com/docs/margin
| Margin https://tailwindcss.com/docs/margin
...
@@ -655,10 +634,9 @@ module.exports = {
...
@@ -655,10 +634,9 @@ module.exports = {
'3'
:
'0.75rem'
,
'3'
:
'0.75rem'
,
'4'
:
'1rem'
,
'4'
:
'1rem'
,
'6'
:
'1.5rem'
,
'6'
:
'1.5rem'
,
'8'
:
'2rem'
,
'8'
:
'2rem'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Negative margin https://tailwindcss.com/docs/negative-margin
| Negative margin https://tailwindcss.com/docs/negative-margin
...
@@ -682,10 +660,9 @@ module.exports = {
...
@@ -682,10 +660,9 @@ module.exports = {
'3'
:
'0.75rem'
,
'3'
:
'0.75rem'
,
'4'
:
'1rem'
,
'4'
:
'1rem'
,
'6'
:
'1.5rem'
,
'6'
:
'1.5rem'
,
'8'
:
'2rem'
,
'8'
:
'2rem'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Shadows https://tailwindcss.com/docs/shadows
| Shadows https://tailwindcss.com/docs/shadows
...
@@ -707,10 +684,9 @@ module.exports = {
...
@@ -707,10 +684,9 @@ module.exports = {
'md'
:
'0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)'
,
'md'
:
'0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)'
,
'lg'
:
'0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)'
,
'lg'
:
'0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)'
,
'inner'
:
'inset 0 2px 4px 0 rgba(0,0,0,0.06)'
,
'inner'
:
'inset 0 2px 4px 0 rgba(0,0,0,0.06)'
,
'none'
:
'none'
,
'none'
:
'none'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Z-index https://tailwindcss.com/docs/z-index
| Z-index https://tailwindcss.com/docs/z-index
...
@@ -731,10 +707,9 @@ module.exports = {
...
@@ -731,10 +707,9 @@ module.exports = {
'20'
:
20
,
'20'
:
20
,
'30'
:
30
,
'30'
:
30
,
'40'
:
40
,
'40'
:
40
,
'50'
:
50
,
'50'
:
50
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Opacity https://tailwindcss.com/docs/opacity
| Opacity https://tailwindcss.com/docs/opacity
...
@@ -753,10 +728,9 @@ module.exports = {
...
@@ -753,10 +728,9 @@ module.exports = {
'25'
:
'.25'
,
'25'
:
'.25'
,
'50'
:
'.5'
,
'50'
:
'.5'
,
'75'
:
'.75'
,
'75'
:
'.75'
,
'100'
:
'1'
,
'100'
:
'1'
},
},
/*
/*
|-----------------------------------------------------------------------------
|-----------------------------------------------------------------------------
| Options https://tailwindcss.com/docs/configuration#options
| Options https://tailwindcss.com/docs/configuration#options
...
@@ -769,7 +743,7 @@ module.exports = {
...
@@ -769,7 +743,7 @@ module.exports = {
options
:
{
options
:
{
prefix
:
''
,
prefix
:
''
,
important
:
false
,
important
:
false
}
,
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment