Skip to content

Commit

Permalink
fix(components-Button): rectify dark mode styles for Button (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi committed May 8, 2022
1 parent 45261e4 commit a69e678
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/Button/Button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Add dark mode support for antd Button component */
.ant-btn-text {
@apply dark:text-light;
}
1 change: 1 addition & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import '../styles/tailwind.css';
import 'antd/dist/antd.css';
import '../styles/globals.css';
import '../components/Article/Article.css';
import '../components/Button/Button.css';
import '../components/Card/Card.css';
import '../components/Editor/Editor.css';
import '../components/Image/Image.css';
Expand Down

1 comment on commit a69e678

@vercel
Copy link

@vercel vercel bot commented on a69e678 May 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-sabertaz.vercel.app
blog-git-main-sabertaz.vercel.app
blog.tazimi.dev

Please sign in to comment.