mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
efc86d8524
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2289 Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com> Co-authored-by: Martin Mark <1396255+m-rgba@users.noreply.github.com> Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com> GitOrigin-RevId: 0cb7c1ae082e05dd647edd5bd35d3632764d36ac
60 lines
1.4 KiB
JavaScript
60 lines
1.4 KiB
JavaScript
const colors = require('tailwindcss/colors');
|
|
|
|
module.exports = {
|
|
purge: ['./src/**/*.{js,jsx,ts,tsx,html,md,mdx}'],
|
|
darkMode: false, // or 'media' or 'class'
|
|
// jit: true,
|
|
mode: 'jit',
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
yellow: colors.amber,
|
|
gray: colors.blueGray,
|
|
primary: {
|
|
light: '#fad170',
|
|
DEFAULT: '#f9c548',
|
|
dark: '#d5ae52',
|
|
darker: '#ae8e3e',
|
|
},
|
|
cloud: {
|
|
DEFAULT: '#1eb4d4',
|
|
dark: '#197b98',
|
|
darker: '#074c4c',
|
|
},
|
|
secondary: {
|
|
light: '#eef4f7',
|
|
DEFAULT: '#297393',
|
|
dark: '#14394a',
|
|
},
|
|
legacybg: {
|
|
DEFAULT: '#f8fafb',
|
|
},
|
|
muted: {
|
|
DEFAULT: '#475569',
|
|
},
|
|
},
|
|
fontFamily: {
|
|
sans: ['Gudea', 'ui-sans-serif', 'system-ui'],
|
|
},
|
|
spacing: {
|
|
xs: '0.571rem',
|
|
sm: '0.857rem',
|
|
md: '1.429rem',
|
|
lg: '2.286rem',
|
|
xl: '2.857rem',
|
|
input: '2.5rem',
|
|
btn: '2.5rem',
|
|
btnsm: '2rem',
|
|
formlabel: '0.571rem',
|
|
},
|
|
fontSize: {
|
|
sm: ['0.875rem', { lineHeight: '1.25rem' }],
|
|
base: ['1rem', { lineHeight: '1.5rem' }],
|
|
lg: ['1.143rem', { lineHeight: '1.429rem' }],
|
|
xl: ['1.714rem', { lineHeight: '2.143rem' }],
|
|
},
|
|
},
|
|
},
|
|
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
|
|
};
|