-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
89 lines (86 loc) · 5.15 KB
/
tailwind.config.js
File metadata and controls
89 lines (86 loc) · 5.15 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// This file is automatically generated.
// Do not edit this file, it will be overwritten
//
// If you want to modify it, follow instructions from
// https://docs.decidim.org/en/develop/customize/styles
//
const { inherit, current, transparent, white, neutral } = require("tailwindcss/colors")
const withOpacity =
(variable) =>
({ opacityValue }) =>
opacityValue === undefined
? `rgb(var(${variable}))`
: `rgb(var(${variable}) / ${opacityValue})`;
module.exports = {
// This content is generated automatically by decidim:webpacker:install task, it
// should not be updated manually.
// The array must contain all the decidim modules active in the application
content: ['/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-core','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-comments','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-accountability','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-admin','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-api','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-assemblies','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-blogs','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-budgets','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-debates','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-forms','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-generators','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-meetings','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-pages','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-participatory_processes','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-proposals','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-sortitions','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-surveys','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-system','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-verifications','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-module-alternative_landing-19c7299ca5d4','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/gems/decidim-amazon_translate-0.3.2','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/gems/decidim-decidim_awesome-0.12.0','/home/piero/.local/share/mise/installs/ruby/3.2.8/lib/ruby/gems/3.2.0/bundler/gems/decidim-484139e696ec/decidim-dev','.'].flatMap(directory => [
`${directory}/app/views/**/*.html.erb`,
`${directory}/app/cells/**/*.{rb,erb}`,
`${directory}/app/helpers/**/*.rb`,
`${directory}/app/packs/**/*.js`,
`${directory}/lib/**/*.rb`
]),
// Comment out the next line to disable purging the tailwind styles
// safelist: [{ pattern: /.*/ }],
theme: {
colors: {
inherit,
current,
transparent,
white,
neutral,
primary: withOpacity("--primary-rgb"),
secondary: withOpacity("--secondary-rgb"),
tertiary: withOpacity("--tertiary-rgb"),
success: "#28A745",
alert: "#ED1C24",
warning: "#FFB703",
black: "#1E1E1E",
gray: {
DEFAULT: "#6B7280CC", // 80% opacity
2: "#3E4C5C",
3: "#E1E5EF",
4: "#242424",
5: "#F6F8FA",
6: "#D3D5D9"
},
background: {
DEFAULT: "#F3F4F7",
2: "#FAFBFC",
3: "#EFEFEF",
4: "#E4EEFF99", // 60% opacity
5: "#E9E9E9"
}
},
container: {
center: true,
padding: {
DEFAULT: "1rem",
lg: "4rem"
}
},
fontFamily: {
sans: ["Neue Haas Unica Pro", "ui-sans-serif", "system-ui", "sans-serif"],
},
fontSize: {
xs: ["0.8125rem", "1rem"],
sm: ["0.875rem", "1.125rem"],
md: ["1rem", "1.25rem"],
lg: ["1.125rem", "1.4375rem"],
xl: ["1.25rem", "1.5625rem"],
"2xl": ["1.5rem", "1.875rem"],
"3xl": ["2rem", "2.5rem"],
"4xl": ["2.25rem", "2.8125rem"],
"5xl": ["3rem", "3.75rem"],
"headerMenu": ["2.75rem", "1.1"]
},
extend: {
transitionProperty: {
'top': 'top',
},
}
},
plugins: [require("@tailwindcss/typography")]
}