UNPKG

uxlib

Version:

A clean and powerful utility library by Subrata

103 lines (102 loc) 2.64 kB
/* * Library Name: UXLIB * Version: 1.0.3 * Author: Subrata Porel * Github: https://github.com/subratapeid/uxlib */ /* === Buttons === */ .btn { padding: 0.5rem 1rem; border-radius: 0.375rem; font-weight: 600; border: none; cursor: pointer; background-color: royalblue; color: white; } .btn:hover { background-color: navy; } .btn-outline { background-color: transparent; border: 2px solid royalblue; color: royalblue; } .btn-outline:hover { background-color: royalblue; color: white; } .ulibBtn1{ background-color: rgb(101, 76, 37); color: white; } .ulibBtn2{ background-color: rgb(225, 65, 164); color: white; } /* === Cards === */ .card { border: 1px solid #e5e7eb; border-radius: 0.5rem; padding: 1rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); background-color: white; } .card-header { font-size: 1.25rem; font-weight: bold; margin-bottom: 0.5rem; } .card-body { font-size: 1rem; color: #333; } /* === Spacing Utilities === */ .m-1 { margin: 0.25rem; } .m-2 { margin: 0.5rem; } .m-3 { margin: 0.75rem; } .p-1 { padding: 0.25rem; } .p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .mt-1 { margin-top: 0.25rem; } .mb-1 { margin-bottom: 0.25rem; } .ml-1 { margin-left: 0.25rem; } .mr-1 { margin-right: 0.25rem; } /* === Text Utilities === */ .text-sm { font-size: 0.875rem; } .text-base { font-size: 1rem; } .text-lg { font-size: 1.125rem; } .text-bold { font-weight: bold; } .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .uppercase { text-transform: uppercase; } .capitalize { text-transform: capitalize; } .bg-ulib{ background-color: brown; } /* === Border Utilities === */ .border { border: 1px solid #ccc; } .border-2 { border: 2px solid #ccc; } .border-none { border: none; } .rounded { border-radius: 0.25rem; } .rounded-lg { border-radius: 0.5rem; } .rounded-full { border-radius: 9999px; } /* === Display Utilities === */ .d-block { display: block; } .d-inline { display: inline; } .d-inline-block { display: inline-block; } .d-flex { display: flex; } .d-none { display: none; } .flex-col { flex-direction: column; } .flex-row { flex-direction: row; } .justify-center { justify-content: center; } .items-center { align-items: center; } /* === Colors === */ .bg-white { background-color: white; } .bg-light { background-color: #f3f4f6; } .bg-dark { background-color: #1f2937; } .text-white { color: white; } .text-black { color: black; } .text-gray { color: #6b7280; } .text-blue { color: royalblue; }