Skip to content

Commit

Permalink
feat: update lofi theme
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Mar 4, 2022
1 parent 70ef3f4 commit fd3bd4e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
40 changes: 22 additions & 18 deletions src/colors/themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,25 +189,29 @@ module.exports = {
"base-content": "#1f2937",
},
"[data-theme=lofi]": {
primary: "#808080",
"primary-content": "#f2f2f3",
secondary: "#4d4d4d",
"secondary-content": "#f2f2f3",
accent: "#1a1a1a",
"accent-content": "#f2f2f3",
neutral: "#f2f2f3",
"neutral-content": "#4d4d4d",
"primary": "#0D0D0D",
"primary-content": "#ffffff",
"secondary": "#1A1919",
"secondary-content": "#ffffff",
"accent": "#262626",
"accent-content": "#ffffff",
"neutral": "#000000",
"neutral-content": "#ffffff",
"base-100": "#ffffff",
"base-200": "#ffffff",
"base-300": "#ffffff",
"base-content": "#7d7d7d",
"info": "#2563eb",
"success": "#16a34a",
"warning": "#d97706",
"error": "#dc2626",
"--rounded-box": "0",
"--rounded-btn": "0",
"--rounded-badge": "0",
"base-200": "#F2F2F2",
"base-300": "#E6E5E5",
"base-content": "#000000",
"info": "#0070F3",
"info-content": "#ffffff",
"success": "#21CC51",
"success-content": "#ffffff",
"warning": "#FF6154",
"warning-content": "#ffffff",
"error": "#DE1C8D",
"error-content": "#ffffff",
"--rounded-box": "0.25rem",
"--rounded-btn": "0.125rem",
"--rounded-badge": "0.125rem",
"--animation-btn": "0",
"--animation-input": "0",
"--btn-focus-scale": "1",
Expand Down
7 changes: 3 additions & 4 deletions src/docs/src/prism-themes-modify.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[data-theme="wireframe"],
[data-theme="lofi"] {
[data-theme="wireframe"] {
.prose pre[class*="language-"] {
.token.string {
color: #587e20;
Expand Down Expand Up @@ -43,6 +42,6 @@
}
.prose pre[class*="language-"] {
.token.comment {
color: hsla(var(--nc)/.5);
color: hsla(var(--nc) / 0.5);
}
}
}

0 comments on commit fd3bd4e

Please sign in to comment.