-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
141 lines (140 loc) · 4.36 KB
/
tailwind.config.ts
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
import type { Config } from "tailwindcss";
export default <Partial<Config>>{
content: ["*.{html,ts,js,vue}"],
theme: {
extend: {
fontFamily: {
sans: ["BCSans", "Verdana", "Arial", "sans-serif"],
},
colors: {
bcGovColor: {
// these colors are as defined in styleguide:
// https://preview.uxpin.com/73eb31e6346bc2863a066f02218a3af289325619#/pages/138840439/simulate/sitemap?mode=i
// for more details see previous link
// last updated on (2023-10-16)
// PRIMARY COLOURS
footer: "#003366",
header: "#003366",
navDivider: "#FCBA19",
// LINK COLOURS
activeBlue: "#1669BB",
// TEXT/NON-CLICKABLE COLOURS
darkGray: "#212529",
midGray: "#495057",
lightGray: "#757575",
nonClickable: "#38598A",
// BACKGROUND COLOURS
white: "#FFFFFF",
gray1: "#F1F3F5",
gray2: "#E2E8EE",
lightBlue: "#E4EDF7",
// LINES
hairlinesOnWhite: "#DEE2E6",
specialityDottedLines: "#899EB2",
formFieldLines: "#6F7780",
// RESULT COLOURS
caution: "#F8661A", // use on Caution Icon or Large 19px bold+ text only (on white backgrounds only). Not for small text.
error: "#d3272c", // ok for error text or icons)
},
outcomes: {
approved: "#2E8540",
error: "#D3272C",
caution: "#F8661A", // caution icon or large text
},
// aka "gray"... nuxt-ui renames gray to cool
// due to the fact that it is using gray itself
// so, we need to set bcGray and apply it to the gray in nuxt-ui
bcGovGray: {
50: "#f8f9fa",
100: "#f1f3f5",
200: "#e9ecef",
300: "#dee2e6",
400: "#ced4da",
500: "#adb5bd",
600: "#868e96",
700: "#495057",
800: "#343a40",
900: "#212529",
},
bcGovBlue: {
50: "#e0e7ed",
100: "#b3c2d1",
200: "#8099b3",
300: "#4d7094",
350: "#38598a",
400: "#26527d",
500: "#1669bb", // '#003366',
600: "#002e5e",
700: "#002753",
800: "#002049",
900: "#001438",
},
bcGovGreen: {
// generated on http://mcg.mbitson.com/#!?mcgpalette0=%232e8540 using #2E8540 as base
50: "#E6F0E8",
100: "#C0DAC6",
200: "#97C2A0",
300: "#6DAA79",
400: "#4D975D",
500: "#2E8540",
600: "#297D3A",
700: "#237232",
800: "#1D682A",
900: "#12551C",
A100: "#8EFF9D",
A200: "#5BFF70",
A400: "#28FF44",
A700: "#0EFF2E",
},
bcGovRed: {
// generated on http://mcg.mbitson.com/#!?mcgpalette0=%232e8540 using #D3272C as base
50: "#FAE5E6",
100: "#F2BEC0",
200: "#E99396",
300: "#E0686B",
400: "#DA474C",
500: "#D3272C",
600: "#CE2327",
700: "#C81D21",
800: "#C2171B",
900: "#B70E10",
A100: "#FFE5E5",
A200: "#FFB2B3",
A400: "#FF7F80",
A700: "#FF6567",
},
bcGovOrange: {
// generated on http://mcg.mbitson.com/#!?mcgpalette0=%232e8540 using #F8661A as base
50: "#FEEDE4",
100: "#FDD1BA",
200: "#FCB38D",
300: "#FA945F",
400: "#F97D3C",
500: "#F8661A",
600: "#F75E17",
700: "#F65313",
800: "#F5490F",
900: "#F33808",
A100: "#FFFFFF",
A200: "#FFECE8",
A400: "#FFC1B5",
A700: "#FFAB9C",
},
},
// @ts-ignore: ignore theme as any
typography: ({ theme }) => ({
bcGov: {
css: {
"--tw-prose-body": theme("colors.bcGovGray.700"),
"--tw-prose-headings": theme("colors.bcGovGray.900"),
"--tw-prose-counters": theme("colors.bcGovGray.900"),
"--tw-prose-bullets": theme("colors.bcGovGray.900"),
"--tw-prose-code": theme("colors.bcGovGray.900"),
"--tw-prose-pre-code": theme("colors.bcGovGray.900"),
"--tw-prose-pre-bg": theme("colors.bcGovColor.white"),
},
},
}),
},
},
};