Understanding The Vartheme Starterkit Theme
Last updated
Last updated
A starterkit theme for Varbase standard websites.
A new generation of theming based on Bootstrap ~5.3.0, Single Directory Components (SDC) with Drupal ~10.1.0
, and UI Patterns 2.0.x-dev
.
Varbase Components provides component management system for Varbase and Vartheme BS5.
Customizing for a project? keep generate a clone of the Vartheme BS5 starterkit theme by:
A generated cloned theme could be generated automatically to start with. Installed and set as default theme for a website. Changes over coloring, theming, having custom web components, adding more libraries would be managed under the new sub theme, without changing the base theme.
This way a guaranteed full integration between Varbase Components and Varbase Themes.
All Varbase components organize CSS files under libraries with full use of SMACSS in mind.
A flexible guide to developing sites small and large.SMACSS (pronounced โsmacksโ) is more style guide than rigid framework. There is no library within here for you to download or install. SMACSS is a way to examine your design process and as a way to fit those rigid frameworks into a flexible thought process. It is an attempt to document a consistent approach to site development when using CSS.
Inspected for Varbase Components with basic or no styling to look better when Vartheme BS5 or a generated clone theme of it was the default theme for the site.
Vartheme BS5 too organize CSS files under libraries with full use of SMACSS in mind.
Have a look at the SCSS and CSS folders
SCSS: https://git.drupalcode.org/project/vartheme_bs5/-/tree/3.0.x/scss
CSS: https://git.drupalcode.org/project/vartheme_bs5/-/tree/3.0.x/css
NOTE: Components was moved to be included with Single Directory Components (SDC) components folder.
Using the default components from Varbase Components.
Copy components from Varbase Components to have a custom change over the template, style, or script.
Drupal follows a SMACSS-style categorization of its CSS rules:
Base โ CSS reset/normalize plus HTML element styling.
Layout โ macro arrangement of a web page, including any grid systems.
Component โ discrete, reusable UI elements.
State โ styles that deal with client-side changes to components.
Theme โ purely visual styling (โlook-and-feelโ) for a component.
Refer to Drupal.org standards for CSS file organization (for Drupal 10)
https://www.drupal.org/docs/develop/standards/css/css-file-organization-for-drupal-9
Refer to Drupal.org standards for CSS architecture
https://www.drupal.org/docs/develop/standards/css/css-architecture-for-drupal-9
Build fast, responsive sites with Bootstrap.
Quickly design and customize responsive mobile-first sites with Bootstrap, the worldโs most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.
Browse the list of all Bootstrap ~5.3.0 components
.bg-edge2edge : Edge to Edge layout for content.
.equal-height : Equal height layout for bootstrap rows. ( variations with -sm
, -md
, -lg
, and -xl
) will work within the Bootstrap default breakpoints for the theme.