-
Notifications
You must be signed in to change notification settings - Fork 9
/
tailwind.config.js
59 lines (56 loc) · 1.52 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
const colors = require('tailwindcss/colors');
const svelteUx = require('svelte-ux/plugins/tailwind.cjs');
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./src/**/*.{html,js,svelte,ts}',
'./node_modules/layerchart/**/*.{svelte,js}',
'./node_modules/svelte-ux/**/*.{svelte,js}'
],
theme: {
extend: {
fontFamily: {
serif: ['LibreCaslonCondensed', 'serif'],
flourish: ['Nymphette']
},
colors: {
yellowPrimary: '#E8C85A',
orangePrimary: '#E8845A',
bluePrimary: '#4D80E6',
greenPrimary: '#92DE86',
sagePrimary: '#949B80',
redPrimary: '#B56666',
purplePrimary: '#4F4E8D',
offWhite: '#f4f4f4'
}
}
},
ux: {
themes: {
light: {
'color-scheme': 'light',
primary: 'hsl(213.0769 31.9672% 52.1569%)',
secondary: 'hsl(210 34.0426% 63.1373%)',
accent: 'hsl(193.3333 43.3735% 67.451%)',
neutral: 'hsl(220 16.4835% 35.6863%)',
info: 'hsl(311.0526 20.2128% 63.1373%)',
success: 'hsl(92.4 27.7778% 64.7059%)',
warning: 'hsl(40 70.5882% 73.3333%)',
danger: 'hsl(354.2553 42.3423% 56.4706%)',
'surface-100': 'hsl(217.5 26.6667% 94.1176%)',
'surface-200': 'hsl(218.1818 26.8293% 91.9608%)',
'surface-300': 'hsl(218.8235 27.8689% 88.0392%)',
yellow: '#E8C85A',
orange: '#E8845A',
blue: '#4D80E6',
green: '#92DE86',
sage: '#949B80',
red: '#B56666',
purple: '#4F4E8D'
}
}
},
plugins: [
svelteUx // uses hsl() color space by default. To use oklch(), use: svelteUx({ colorSpace: 'oklch' }),
]
};