style(tailwind.config.js): added dark theme for attribution
This commit is contained in:
parent
4a9d1c7c54
commit
6afebffe1f
1 changed files with 30 additions and 26 deletions
|
|
@ -1,10 +1,7 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
import plugin from "tailwindcss/plugin";
|
||||
module.exports = {
|
||||
content: [
|
||||
"./index.html",
|
||||
"./src/**/*.{js,ts,tsx,jsx}",
|
||||
],
|
||||
content: ["./index.html", "./src/**/*.{js,ts,tsx,jsx}"],
|
||||
darkMode: "class",
|
||||
important: true,
|
||||
theme: {
|
||||
|
|
@ -55,32 +52,39 @@ module.exports = {
|
|||
margin: 0,
|
||||
},
|
||||
},
|
||||
'.password':{
|
||||
"-webkit-text-security":"disc",
|
||||
"font-family": "text-security-disc"
|
||||
|
||||
".password": {
|
||||
"-webkit-text-security": "disc",
|
||||
"font-family": "text-security-disc",
|
||||
},
|
||||
'.stop': {
|
||||
'-webkit-animation-play-state': 'paused',
|
||||
'-moz-animation-play-state': 'paused',
|
||||
'animation-play-state': 'paused',
|
||||
".stop": {
|
||||
"-webkit-animation-play-state": "paused",
|
||||
"-moz-animation-play-state": "paused",
|
||||
"animation-play-state": "paused",
|
||||
},
|
||||
'.custom-scroll':{
|
||||
'&::-webkit-scrollbar': {
|
||||
'width': '8px',
|
||||
".custom-scroll": {
|
||||
"&::-webkit-scrollbar": {
|
||||
width: "8px",
|
||||
},
|
||||
'&::-webkit-scrollbar-track': {
|
||||
'backgroundColor': '#f1f1f1',
|
||||
"&::-webkit-scrollbar-track": {
|
||||
backgroundColor: "#f1f1f1",
|
||||
},
|
||||
'&::-webkit-scrollbar-thumb': {
|
||||
'backgroundColor': '#ccc',
|
||||
'borderRadius': '999px',
|
||||
"&::-webkit-scrollbar-thumb": {
|
||||
backgroundColor: "#ccc",
|
||||
borderRadius: "999px",
|
||||
},
|
||||
'&::-webkit-scrollbar-thumb:hover': {
|
||||
'backgroundColor': '#bbb'
|
||||
}
|
||||
},
|
||||
})
|
||||
}),require('@tailwindcss/line-clamp'),require('@tailwindcss/typography'),
|
||||
"&::-webkit-scrollbar-thumb:hover": {
|
||||
backgroundColor: "#bbb",
|
||||
},
|
||||
},
|
||||
".dark .theme-attribution .react-flow__attribution": {
|
||||
backgroundColor: "rgba(255, 255, 255, 0.2)",
|
||||
},
|
||||
".dark .theme-attribution .react-flow__attribution a": {
|
||||
color: "black",
|
||||
},
|
||||
});
|
||||
}),
|
||||
require("@tailwindcss/line-clamp"),
|
||||
require("@tailwindcss/typography"),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue