Skip to content

Commit 1d85154

Browse files
committed
+ change background text & color
1 parent 28d7da9 commit 1d85154

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

src/app/globals.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ body {
3434
}
3535

3636
.default-line-color {
37-
background: theme("colors.system.purple50");
37+
background: theme("colors.system.slate50");
3838
}
3939

4040
.change-line-color {

src/app/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function Home() {
7979
</div>
8080

8181
<div className="hidden sm:flex absolute top-[120%] left-0 w-full">
82-
<div className="flex w-full text-gray-400 p-4 rounded border border-system-purple20 bg-system-purple80 bg-opacity-10 gap-6">
82+
<div className="flex w-full text-gray-400 p-4 rounded border border-system-slate20 bg-system-slate80 bg-opacity-10 gap-6">
8383
<div className="flex flex-col items-start justify-start w-3/4">
8484
<h3 className="text-lg">
8585
{sortingAlgorithmsData[selectedAlgorithm].title}

src/components/Input/Select.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const Select = ({
1818
disabled={isDisabled}
1919
onChange={onChange}
2020
defaultValue={defaultValue}
21-
className="block appearance-none h-8 w-full bg-system-purple10 border-system-purple20 border px-4 py-1 pr-8 rounded-lg shadow leading-tight focus:outline-none focus:shadow-outline text-gray-300"
21+
className="block appearance-none h-8 w-full bg-system-slate10 border-system-slate20 border px-4 py-1 pr-8 rounded-lg shadow leading-tight focus:outline-none focus:shadow-outline text-gray-300"
2222
>
2323
{options.map((option) => (
2424
<option key={option.value} value={option.value}>

tailwind.config.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ const config: Config = {
1515
},
1616
colors: {
1717
system: {
18-
purple10: "#240643",
19-
purple15: "#300b60",
20-
purple20: "#401075",
21-
purple30: "#5a1ba9",
22-
purple40: "#7526e3",
23-
purple50: "#9050e9",
24-
purple60: "#ad7bee",
25-
purple65: "#b78def",
26-
purple70: "#c29ef1",
27-
purple80: "#d7bff2",
28-
purple90: "#ece1f9",
29-
purple95: "#f6f2fb",
18+
slate10: "#240643",
19+
slate15: "#300b60",
20+
slate20: "#401075",
21+
slate30: "#5a1ba9",
22+
slate40: "#7526e3",
23+
slate50: "#9050e9",
24+
slate60: "#ad7bee",
25+
slate65: "#b78def",
26+
slate70: "#c29ef1",
27+
slate80: "#d7bff2",
28+
slate90: "#ece1f9",
29+
slate95: "#f6f2fb",
3030

3131
green10: "#071b12",
3232
green15: "#0c2912",

0 commit comments

Comments
 (0)