majestic-ux
v1.0.0
Published
A minimalist front-end design toolkit built with Sass for developing responsive, browser-consistent web apps.
Downloads
1
Maintainers
Readme
Majestic UI
A minimalist front-end design toolkit built with Sass for developing responsive, browser-consistent web apps. Majestic also provides helpful, browser-consistent styling for default HTML elements - buttons, forms, tables, lists, and typography.
View documentation
Installation
CSS quick start (easy)
- Download the stylesheet or use the CDN URL: https://unpkg.com/majestic-ui/dist/css/main.css.
- Save the stylesheet and link to it in the head of your project.
<link rel="stylesheet" href="https://unpkg.com/majestic-ui/dist/css/main.css" />
It's all set to go and your HTML elements will be given sensible default styling.
Sass integration (recommended)
The beauty of Majestic is the ease with which you can create unique designs in a beautiful, simple system. Simply clone the repo:
git clone https://github.com/joeetuso/primitive.git
cd primitive
And run a Sass watch on the project.
npm run sass
Now you can begin modifying variables in variables.scss
. This file will define your colors, typography, sizes, breakpoints, buttons, borders, and more. Define all your variables here to keep your project organized.
You can view dist/test.html
or templates/template.html
to see some example elements as you make changes.
Motivation
Majestic was originally built by Joseph Gattuso to understand how a responsive CSS framework works from scratch, and how to use Sass, the CSS preprocessor.
Majestic makes it incredibly simple to set the foundation for a sustainable styling system. You get the freedom to design your site however you want, with a solid, easy-to-understand underlying framework.
Several websites have been built with Majestic, such as josephgattuso.com and more.
Credit
- Tania Rascia for her amazing tutorials and Primitive, the original inspiration for building Majestic and understanding responsive CSS.
Contributing
Please feel free to fork, comment, critique, or submit a pull request.
Author
License
This project is open source and available under the MIT License.