Nano ASP.NET SaaS Boilerplate
Admin credentials (all tenants): admin@email.com / Password123!
Sample data resets every hour
Nano ASP.NET SaaS Boilerplate
General
.NET Solution
Vue UI
React UI
Razor Pages
React UI

Theme & Styling

The assets folder contains static assets like fonts, images, and the styles. The theme style is a project on its own in made with Sass.

Sass is CSS but with extra capabilities like nesting, variables, etc. which makes it easier to write. Normally .sass files (or scss) need to be compiled into plain old CSS, and an npm package like node sass would be used to compile changes on the fly. Vite handles this out of the box though and can even reference scss directly.

Style elements with the base scss or inline in a Vue component. Typically it’s best to use inline styles in cases that are component specific and global scss in cases where the styling should be more generic.

The theme is based on Bootstrap 5. It’s responsive, has styling for every component, and contains two color modes: light & dark.

The nanite-theme is the main scss file and its where all the individual scss elements come together. The nanite-theme scss is imported in main.js after any other components that need their own base styles.

The theme is built on top of the base Bootstrap 5 style. You can see in nanite-theme that these base styles are imported first from node modules. The variables and theme-mode are what make the theme unique and have the biggest impact on how things look and feel. They follow Boostrap 5 theming conventions which can be learned about by reading the documentation.

Everything else is component specific or plugin specific. As you add new components or utilize additional third party components, their styles can be overridden by creating new scss definitions here. Any plugin that is specific to this particular implementation of the UI will have a note next to indicate that it is Vue specific or React specific. Otherwise, all the styles are the same in any of the three projects: Vue, React, Razor.

That covers everything important in the React application. Read up on the other versions in Vue and Razor, or dive into the .NET side of things.