Skip to content

Commit

Permalink
chore(nuxt3): unocss btn shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
LarchLiu committed Jun 24, 2023
1 parent a7e5433 commit 8b75dca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/nuxt3/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {

export default defineConfig({
shortcuts: [
['btn', 'px-4 py-1 rounded inline-block bg-teal-700 text-white cursor-pointer !outline-none hover:bg-teal-800 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
['icon-btn', 'inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-teal-600'],
['btn', 'px-4 py-1 rounded inline-block bg-gray-700 text-white cursor-pointer !outline-none hover:bg-gray-800 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
['icon-btn', 'inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-gray-600'],
],
presets: [
presetUno(),
Expand Down

1 comment on commit 8b75dca

@vercel
Copy link

@vercel vercel bot commented on 8b75dca Jun 24, 2023

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:

star-nexus – ./

star-nexus-larchliu.vercel.app
star-nexus-git-main-larchliu.vercel.app
star-nexus.vercel.app

Please sign in to comment.