Skip to content

Commit

Permalink
add how to learn js
Browse files Browse the repository at this point in the history
  • Loading branch information
vre2h committed Jan 6, 2022
1 parent 297a419 commit 01266b6
Show file tree
Hide file tree
Showing 4 changed files with 728 additions and 16 deletions.
2 changes: 1 addition & 1 deletion components/ColoredBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function ColoredBar({ children }) {
style={{
backgroundColor: colors[idx],
}}
className="py-1 inline-block text-sm text-center text-white px-1 rounded-sm"
className="py-1 inline-block text-sm text-center px-1 rounded-sm"
>
{children}
</span>
Expand Down
2 changes: 1 addition & 1 deletion components/ColoredTag.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function ColoredTag({ children }) {
style={{
backgroundColor: colors[idx],
}}
className="inline-block text-sm text-white px-1 mr-1 rounded-sm"
className="inline-block text-gray-700 text-dark px-1 mr-1 rounded"
>
{children}
</span>
Expand Down
27 changes: 13 additions & 14 deletions constants/colors.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
export const colors = [
"#ffe27b",
"#ffc98a",
"#c3f9b2",
"#b0d9ff",
"#ec4899",
"rgb(187, 247, 208)",
"rgb(254, 240, 138)",
"rgb(134, 239, 172)",
"rgb(153, 246, 228)",
"rgb(103, 232, 249)",
"rgb(147, 197, 253)",
"rgb(167, 139, 250)",
"rgb(251, 207, 232)",
"rgb(192, 132, 252)",
"#e9d6cf",
"#fbedd5",
"#e6e6e5",
"#d7d7d6",
"#e1d3fa",
"#fbd3e6",
"#daecda",
"#eedfda",
"#fdecc8",
"#e7ddee",
"#d2e4ef",
"#f1f0f0",
"#f9dec9",
];
Loading

0 comments on commit 01266b6

Please sign in to comment.