Here are some color palettes you can try. You can click each color palette to see how it looks.
5px
4px
4px
700
500
You can choose either CSS variables or utility classes. Using CSS variables means using single class for both light mode and dark mode styling e.g. text-text
. Using utility classes means using double classes e.g.text-text dark:text-darkText
.
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--main: #88aaee;
--overlay: rgba(0, 0, 0, 0.8); /* background color overlay for alert dialogs, modals, etc. */
--bg: #dfe5f2;
--bw: #fff; /* white and secondary black e.g. utility class variant would be: bg-[#fff] dark:bg-[#212121] */
--blank: #000; /* blank black and white */
--border: #000;
--text: #000;
--mtext: #000; /* text that is placed on background with main color e.g. text color of default button */
--ring: #000;
--ring-offset: #fff;
--border-radius: 5px;
--box-shadow-x: 4px;
--box-shadow-y: 4px;
--reverse-box-shadow-x: -4px;
--reverse-box-shadow-y: -4px;
--base-font-weight: 500;
--heading-font-weight: 700;
--shadow: var(--box-shadow-x) var(--box-shadow-y) 0px 0px var(--border);
}
.dark {
--bg: #272933;
--bw: #212121;
--blank: #fff;
--border: #000;
--text: #e6e6e6;
--mtext: #000;
--ring: #fff;
--ring-offset: #000;
--shadow: var(--box-shadow-x) var(--box-shadow-y) 0px 0px var(--border);
}
theme
section inside your tailwind configtheme: {
extend: {
colors: {
main: 'var(--main)',
overlay: 'var(--overlay)',
bg: 'var(--bg)',
bw: 'var(--bw)',
blank: 'var(--blank)',
text: 'var(--text)',
mtext: 'var(--mtext)',
border: 'var(--border)',
ring: 'var(--ring)',
ringOffset: 'var(--ring-offset)',
secondaryBlack: '#212121',
},
borderRadius: {
base: '5px'
},
boxShadow: {
shadow: 'var(--shadow)'
},
translate: {
boxShadowX: '4px',
boxShadowY: '4px',
reverseBoxShadowX: '-4px',
reverseBoxShadowY: '-4px',
},
fontWeight: {
base: '500',
heading: '700',
},
},
},
On resources page you have a small list of free fonts you can use for your next neobrutalism project.
Edit this page