From d5fe2444270db422dca96b3f8e00042a07f041e5 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Sun, 14 Apr 2024 10:00:35 +0600 Subject: [PATCH] update button css --- package.json | 44 ++++++++++++++++++++--------------------- src/styles/buttons.scss | 4 ++-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 42bc9fe..e166388 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "astroplate", - "version": "3.4.2", + "version": "3.4.3", "description": "Astro and Tailwindcss boilerplate", "author": "zeon.studio", "license": "MIT", @@ -14,21 +14,21 @@ "remove-darkmode": "node scripts/removeDarkmode.js && yarn format" }, "dependencies": { - "@astrojs/mdx": "^2.1.1", - "@astrojs/react": "^3.0.9", - "@astrojs/rss": "^4.0.4", - "@astrojs/sitemap": "^3.0.5", + "@astrojs/mdx": "^2.3.0", + "@astrojs/react": "^3.3.0", + "@astrojs/rss": "^4.0.5", + "@astrojs/sitemap": "^3.1.2", "@astrojs/tailwind": "^5.1.0", - "astro": "^4.3.2", + "astro": "^4.6.1", "astro-auto-import": "^0.4.2", - "astro-font": "^0.0.77", - "date-fns": "^3.3.1", + "astro-font": "^0.0.80", + "date-fns": "^3.6.0", "disqus-react": "^1.1.5", "github-slugger": "^2.0.0", "gray-matter": "^4.0.3", - "marked": "^12.0.0", + "marked": "^12.0.1", "prettier-plugin-astro": "^0.13.0", - "prettier-plugin-tailwindcss": "^0.5.11", + "prettier-plugin-tailwindcss": "^0.5.13", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -36,25 +36,25 @@ "react-lite-youtube-embed": "^2.4.0", "remark-collapse": "^0.1.2", "remark-toc": "^9.0.0", - "swiper": "^11.0.5" + "swiper": "^11.1.1" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", - "@tailwindcss/typography": "^0.5.10", + "@tailwindcss/typography": "^0.5.12", "@types/marked": "^5.0.2", - "@types/node": "20.11.16", - "@types/react": "18.2.53", - "@types/react-dom": "18.2.18", - "autoprefixer": "^10.4.17", - "eslint": "^8.56.0", - "postcss": "^8.4.33", + "@types/node": "20.12.7", + "@types/react": "18.2.78", + "@types/react-dom": "18.2.25", + "autoprefixer": "^10.4.19", + "eslint": "^9.0.0", + "postcss": "^8.4.38", "prettier": "^3.2.5", "prettier-plugin-astro": "^0.13.0", - "prettier-plugin-tailwindcss": "^0.5.11", - "sass": "^1.70.0", + "prettier-plugin-tailwindcss": "^0.5.13", + "sass": "^1.75.0", "sharp": "0.33.1", "tailwind-bootstrap-grid": "^5.1.0", - "tailwindcss": "^3.4.1", - "typescript": "5.3.3" + "tailwindcss": "^3.4.3", + "typescript": "5.4.5" } } diff --git a/src/styles/buttons.scss b/src/styles/buttons.scss index a4899c2..b44a41d 100755 --- a/src/styles/buttons.scss +++ b/src/styles/buttons.scss @@ -7,9 +7,9 @@ } .btn-primary { - @apply border-primary bg-primary text-white no-underline dark:border-darkmode-primary dark:bg-white dark:text-dark; + @apply border-primary bg-primary dark:border-darkmode-primary dark:text-dark text-white dark:bg-darkmode-primary; } .btn-outline-primary { - @apply border-dark bg-transparent text-dark no-underline hover:bg-dark hover:text-white dark:border-white dark:text-white dark:hover:bg-white dark:hover:text-dark; + @apply border-dark text-dark hover:bg-dark dark:hover:text-dark bg-transparent hover:text-white dark:border-darkmode-primary dark:text-white dark:hover:bg-darkmode-primary; }