Skip to content

Commit

Permalink
chore: migrates to oklch
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Nov 13, 2023
1 parent 542c895 commit 8717533
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 31 deletions.
4 changes: 2 additions & 2 deletions assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
--base-color: 0 0% 97%;
--base-darker-color: 0 0% 90%;
--base-content-color: 0 0% 21%;
--primary-color: 171 100% 41%;
--primary-color: 76.96% 0.143 176.65;
--primary-focus-color: 171 100% 31%;
--secondary-color: 34 95% 53%;
--secondary-focus-color: 34 95% 43%;
Expand All @@ -16,7 +16,7 @@
--base-color: 0 0% 7%;
--base-darker-color: 0 0% 4%;
--base-content-color: 0 0% 86%;
--primary-color: 171 100% 41%;
--primary-color: 76.96% 0.143 176.65;
--primary-focus-color: 171 100% 31%;
--secondary-color: 44 100% 77%;
--secondary-focus-color: 44 100% 67%;
Expand Down
1 change: 0 additions & 1 deletion assets/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import "./styles.scss";
import "./main.css";
import { createApp, App as VueApp } from "vue";
import App from "./App.vue";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-transition": "^3.0.1",
"daisyui": "^3.9.4",
"daisyui": "^4.0.3",
"date-fns": "^2.30.0",
"entities": "^4.5.0",
"fuse.js": "^7.0.0",
Expand Down
52 changes: 26 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
"base-lighter": "hsl(var(--base-lighter-color) / <alpha-value>)",
"base-content": "hsl(var(--base-content-color) / <alpha-value>)",

primary: "hsl(var(--primary-color) / <alpha-value>)",
primary: "oklch(var(--primary-color) / <alpha-value>)",
"primary-focus": "hsl(var(--primary-focus-color) / <alpha-value>)",
secondary: "hsl(var(--secondary-color) / <alpha-value>)",
"secondary-focus": "hsl(var(--secondary-focus-color) / <alpha-value>)",
Expand Down

0 comments on commit 8717533

Please sign in to comment.