This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
rebuilding-acquia/tailwind.js

72 lines
1.5 KiB
JavaScript
Raw Normal View History

2018-12-21 21:58:12 +00:00
let defaultConfig = require('tailwindcss/defaultConfig')()
2019-02-04 22:39:55 +00:00
var colors = {
...defaultConfig.colors,
2018-12-26 12:36:48 +00:00
'inherit': 'inherit',
2018-12-21 21:58:12 +00:00
'black': '#22292f',
2019-02-04 22:39:55 +00:00
'blue': '#018dc7',
'blue-dark': '#0e68a7',
'blue-darker': '#002d64',
'blue-light': '#29aae1',
'green': '#398002',
2018-12-22 00:27:09 +00:00
'grey': '#B7B7B7',
2019-02-04 22:39:55 +00:00
'grey-dark': '#888888',
2019-02-08 13:55:29 +00:00
'grey-darker': '#555555',
2019-02-04 22:39:55 +00:00
'grey-darkest': '#333333',
2018-12-22 00:27:09 +00:00
'grey-light': '#DDDDDD',
2018-12-21 21:58:12 +00:00
'grey-lighter': '#eeeeee',
'grey-lightest': '#f8fafc',
2019-02-04 22:39:55 +00:00
'orange': '#FA9903',
'orange-light': '#FFB401',
2018-12-21 21:58:12 +00:00
'purple': '#991FAF',
'red-dark': '#cc1f1a',
'teal': '#3F7B8F',
2019-02-04 22:39:55 +00:00
'transparent': 'transparent',
'white': '#ffffff',
2018-12-26 01:17:10 +00:00
'yellow-lightest': '#FAF8DF'
2018-12-21 21:58:12 +00:00
}
module.exports = {
2019-02-04 22:39:55 +00:00
...defaultConfig,
2018-12-21 21:58:12 +00:00
colors: colors,
2019-02-04 22:39:55 +00:00
textColors: colors,
backgroundColors: colors,
borderColors: Object.assign({ default: colors['grey-light'] }, colors),
2018-12-21 21:58:12 +00:00
fonts: {
2019-02-04 22:39:55 +00:00
...defaultConfig.fonts,
2018-12-21 21:58:12 +00:00
'sans': [
'Proxima Nova',
'system-ui',
'BlinkMacSystemFont',
'-apple-system',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
'sans-serif',
],
},
2019-02-08 12:38:05 +00:00
textSizes: {
...defaultConfig.textSizes,
'2xs': '.625rem', // 10px
},
2018-12-21 21:58:12 +00:00
borderWidths: {
2019-02-04 22:39:55 +00:00
...defaultConfig.borderWidths,
2018-12-21 21:58:12 +00:00
'6': '6px',
'10': '10px',
},
margin: {
2019-02-04 22:39:55 +00:00
...defaultConfig.margin,
2018-12-25 23:20:12 +00:00
'48': '10rem',
'64': '16rem',
2018-12-21 21:58:12 +00:00
},
plugins: [
2019-02-04 22:39:55 +00:00
require('tailwindcss/plugins/container')(),
2018-12-25 20:43:37 +00:00
require('tailwindcss-visuallyhidden')(),
2018-12-21 21:58:12 +00:00
],
}