Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"cross-env": "^5.1.3",
"laravel-mix": "^2.0.0",
"tailwindcss": "^0.4.1",
"tailwindcss": "^0.6.3",
"vue": "^2.5.13"
}
}
2 changes: 0 additions & 2 deletions src/js/components/Episode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ export default {
</script>

<style module>
@tailwind utilities;

.playButton {
@apply font-bold text-white;
}
Expand Down
2 changes: 0 additions & 2 deletions src/js/components/PodcastDescription.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
</script>

<style module>
@tailwind utilities;

.podcastDescription {
@apply p-4;
}
Expand Down
2 changes: 0 additions & 2 deletions src/js/components/PodcastWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ export default {
</script>

<style module>
@tailwind utilities;

.player {
@apply antialiased text-white bg-green-dark font-sans rounded shadow-md;
}
Expand Down
96 changes: 87 additions & 9 deletions tailwind.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ View the full documentation at https://tailwindcss.com.
|
*/

let defaultConfig = require('tailwindcss/defaultConfig')()
// let defaultConfig = require('tailwindcss/defaultConfig')()


/*
Expand Down Expand Up @@ -360,6 +360,26 @@ module.exports = {
backgroundColors: colors,


/*
|-----------------------------------------------------------------------------
| Background sizes https://tailwindcss.com/docs/background-size
|-----------------------------------------------------------------------------
|
| Here is where you define your background sizes. We provide some common
| values that are useful in most projects, but feel free to add other sizes
| that are specific to your project here as well.
|
| Class name: .bg-{size}
|
*/

backgroundSize: {
'auto': 'auto',
'cover': 'cover',
'contain': 'contain',
},


/*
|-----------------------------------------------------------------------------
| Border widths https://tailwindcss.com/docs/border-width
Expand Down Expand Up @@ -399,7 +419,7 @@ module.exports = {
|
*/

borderColors: Object.assign({ default: colors['grey-light'] }, colors),
borderColors: global.Object.assign({ default: colors['grey-light'] }, colors),


/*
Expand Down Expand Up @@ -454,6 +474,7 @@ module.exports = {
'2': '0.5rem',
'3': '0.75rem',
'4': '1rem',
'5': '1.25rem',
'6': '1.5rem',
'8': '2rem',
'10': '2.5rem',
Expand Down Expand Up @@ -501,6 +522,7 @@ module.exports = {
'2': '0.5rem',
'3': '0.75rem',
'4': '1rem',
'5': '1.25rem',
'6': '1.5rem',
'8': '2rem',
'10': '2.5rem',
Expand Down Expand Up @@ -627,8 +649,15 @@ module.exports = {
'2': '0.5rem',
'3': '0.75rem',
'4': '1rem',
'5': '1.25rem',
'6': '1.5rem',
'8': '2rem',
'10': '2.5rem',
'12': '3rem',
'16': '4rem',
'20': '5rem',
'24': '6rem',
'32': '8rem',
},


Expand All @@ -655,8 +684,15 @@ module.exports = {
'2': '0.5rem',
'3': '0.75rem',
'4': '1rem',
'5': '1.25rem',
'6': '1.5rem',
'8': '2rem',
'10': '2.5rem',
'12': '3rem',
'16': '4rem',
'20': '5rem',
'24': '6rem',
'32': '8rem',
},


Expand All @@ -682,8 +718,15 @@ module.exports = {
'2': '0.5rem',
'3': '0.75rem',
'4': '1rem',
'5': '1.25rem',
'6': '1.5rem',
'8': '2rem',
'10': '2.5rem',
'12': '3rem',
'16': '4rem',
'20': '5rem',
'24': '6rem',
'32': '8rem',
},


Expand All @@ -708,6 +751,7 @@ module.exports = {
'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)',
'inner': 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
'outline': '0 0 0 3px rgba(52,144,220,0.5)',
'none': 'none',
},

Expand Down Expand Up @@ -804,7 +848,12 @@ module.exports = {
| Here is where you control which modules are generated and what variants are
| generated for each of those modules.
|
| Currently supported variants: 'responsive', 'hover', 'focus', 'group-hover'
| Currently supported variants:
| - responsive
| - hover
| - focus
| - active
| - group-hover
|
| To disable a module completely, use `false` instead of an array.
|
Expand All @@ -813,11 +862,12 @@ module.exports = {
modules: {
appearance: ['responsive'],
backgroundAttachment: ['responsive'],
backgroundColors: ['responsive', 'hover'],
backgroundColors: ['responsive', 'hover', 'focus'],
backgroundPosition: ['responsive'],
backgroundRepeat: ['responsive'],
backgroundSize: ['responsive'],
borderColors: ['responsive', 'hover'],
borderCollapse: [],
borderColors: ['responsive', 'hover', 'focus'],
borderRadius: ['responsive'],
borderStyle: ['responsive'],
borderWidths: ['responsive'],
Expand All @@ -826,7 +876,7 @@ module.exports = {
flexbox: ['responsive'],
float: ['responsive'],
fonts: ['responsive'],
fontWeights: ['responsive', 'hover'],
fontWeights: ['responsive', 'hover', 'focus'],
height: ['responsive'],
leading: ['responsive'],
lists: ['responsive'],
Expand All @@ -837,18 +887,20 @@ module.exports = {
minWidth: ['responsive'],
negativeMargin: ['responsive'],
opacity: ['responsive'],
outline: ['focus'],
overflow: ['responsive'],
padding: ['responsive'],
pointerEvents: ['responsive'],
position: ['responsive'],
resize: ['responsive'],
shadows: ['responsive'],
shadows: ['responsive', 'hover', 'focus'],
svgFill: [],
svgStroke: [],
tableLayout: ['responsive'],
textAlign: ['responsive'],
textColors: ['responsive', 'hover'],
textColors: ['responsive', 'hover', 'focus'],
textSizes: ['responsive'],
textStyle: ['responsive', 'hover'],
textStyle: ['responsive', 'hover', 'focus'],
tracking: ['responsive'],
userSelect: ['responsive'],
verticalAlign: ['responsive'],
Expand All @@ -859,6 +911,28 @@ module.exports = {
},


/*
|-----------------------------------------------------------------------------
| Plugins https://tailwindcss.com/docs/plugins
|-----------------------------------------------------------------------------
|
| Here is where you can register any plugins you'd like to use in your
| project. Tailwind's built-in `container` plugin is enabled by default to
| give you a Bootstrap-style responsive container component out of the box.
|
| Be sure to view the complete plugin documentation to learn more about how
| the plugin system works.
|
*/

plugins: [
require('tailwindcss/plugins/container')({
// center: true,
// padding: '1rem',
}),
],


/*
|-----------------------------------------------------------------------------
| Advanced Options https://tailwindcss.com/docs/configuration#options
Expand All @@ -875,4 +949,8 @@ module.exports = {
separator: ':',
},

experiments: {
shadowLookup: true
}

}
Loading