-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(changelog): Clean up some styling (#10848)
- Loading branch information
Showing
5 changed files
with
47 additions
and
147 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,68 @@ | ||
const defaultTheme = require("tailwindcss/defaultTheme"); | ||
const defaultTheme = require('tailwindcss/defaultTheme'); | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ["./src/**/*.{js,ts,jsx,tsx}"], | ||
content: ['./src/**/*.{js,ts,jsx,tsx}'], | ||
theme: { | ||
extend: { | ||
animation: { | ||
"fade-in": "fadeIn 0.35s ease-in-out", | ||
"fade-in-left": "fadeInLeft 0.55s ease-in-out", | ||
"fade-in-right": "fadeInRight 0.55s ease-in-out", | ||
'fade-in': 'fadeIn 0.35s ease-in-out', | ||
'fade-in-left': 'fadeInLeft 0.55s ease-in-out', | ||
'fade-in-right': 'fadeInRight 0.55s ease-in-out', | ||
}, | ||
boxShadow: { | ||
DEFAULT: "var(--shadow-6)", | ||
DEFAULT: 'var(--shadow-6)', | ||
}, | ||
keyframes: () => ({ | ||
fadeIn: { | ||
"0%": { opacity: 0 }, | ||
"100%": { opacity: 1 }, | ||
'0%': {opacity: 0}, | ||
'100%': {opacity: 1}, | ||
}, | ||
fadeInLeft: { | ||
"0%": { opacity: 0, transform: "translateX(-20px)" }, | ||
"100%": { opacity: 1, transform: "translateX(0)" }, | ||
'0%': {opacity: 0, transform: 'translateX(-20px)'}, | ||
'100%': {opacity: 1, transform: 'translateX(0)'}, | ||
}, | ||
fadeInRight: { | ||
"0%": { opacity: 0, transform: "translateX(20px)" }, | ||
"100%": { opacity: 1, transform: "translateX(0)" }, | ||
'0%': {opacity: 0, transform: 'translateX(20px)'}, | ||
'100%': {opacity: 1, transform: 'translateX(0)'}, | ||
}, | ||
}), | ||
fontFamily: { | ||
sans: [ | ||
"var(--font-rubik)", | ||
"-apple-system", | ||
"BlinkMacSystemFont", | ||
"Segoe UI", | ||
"Helvetica", | ||
"Arial", | ||
'var(--font-rubik)', | ||
'-apple-system', | ||
'BlinkMacSystemFont', | ||
'Segoe UI', | ||
'Helvetica', | ||
'Arial', | ||
...defaultTheme.fontFamily.sans, | ||
], | ||
mono: "var(--font-family-monospace)", | ||
mono: [ | ||
'Roboto Mono', | ||
'SFMono-Regular', | ||
'Consolas', | ||
'Liberation Mono', | ||
'Menlo', | ||
'Courier', | ||
'monospace', | ||
], | ||
}, | ||
colors: { | ||
primary: "#362d59", | ||
pruple: "#8d5494", | ||
darkPurple: "#1F1633", | ||
"accent-purple": "#6A5FC1", | ||
"accent-md-violet": "#584774", | ||
red: "#e1567c", | ||
gold: "#F1B71C", | ||
primary: '#362d59', | ||
pruple: '#8d5494', | ||
darkPurple: '#1F1633', | ||
'accent-purple': '#6A5FC1', | ||
'accent-md-violet': '#584774', | ||
red: '#e1567c', | ||
gold: '#F1B71C', | ||
}, | ||
}, | ||
}, | ||
plugins: [ | ||
require("@tailwindcss/typography"), | ||
require("@tailwindcss/forms")({ | ||
strategy: "class", | ||
require('@tailwindcss/typography'), | ||
require('@tailwindcss/forms')({ | ||
strategy: 'class', | ||
}), | ||
], | ||
blocklist: ["collapse"], | ||
blocklist: ['collapse'], | ||
}; |