Adaptive Drupal theme for Drupal 8 is a base theme intended for people who don’t code, or for the those who just need to compose a touch of CSS yet at the same time need a smooth and advanced theme for today mobile web – and beyond.
Utilize the AT Generator module (included in AT Tools) to generate unlimited themes, clones of themes, and even skin themes. You never interface with Adaptive theme (at_core) directly, it essentially gives the advanced features used by your sub-themes.
- Theme generator using AT Tools module.
- Generate page suggestions and modify page layout.
- Set column layout per breakpoint (and per suggestions).
- Re-order row layouts per breakpoint (and per suggestions).
- Uses Flexbox.
- Easily create new regions, rows and layouts.
- Breakpoint module support.
- Responsive layouts for Display Suite, Paragraphs and Panels.
- Web fonts, support for Google, Typekit and local fonts
- Responsive menus – 8 different menu styles built in.
- Responsive local tasks, pagers, tables, book navigation etc.
- CSS shortcodes.
- CSS Animations.
- Slideshows and carousels built in (flexslider) with configurable settings.
- Image field positioning & captions.
- Touch icon support for iOS – default set included.
- Hide or show blocks in mobile
- Color module support (optional).
- Many JS plugins included – all loaded from the super-fast Cloudflare CDN.
Setting up repository for the first time
git clone --branch 7.x-3.x https://git.drupal.org/project/adaptivetheme.git
The headings below are not sequential. What you choose to do depends on where you are in your process.
Checking your repository status
To see what you will commit by running
git commit and what you could commit by running
git add before running
Switching to a different branch
When you clone the repository you have access to all the branches and tags. The first command shows your choices. The second command makes the switch. See branching and tagging for details.
git branch -a
git checkout [branchname]
Getting ready to create or apply patches
If you have not already cloned the repository, follow the directions above for setting up this repository in your local environment. Be sure you are on the branch you wish to patch, then ensure it is up-to-date with the following command:
git pull origin 7.x-3.x
Creating a patch
For most improvements, use the following command after making your changes:
git diff > [description]-[issue-number]-[comment-number].patch
For more complex improvements that require adding/removing files, work over the course of multiple days including Git commits, or collaboration with others, see the Advanced patch workflow.
Applying a patch
Download the patch to your working directory. Apply the patch with the following command:
git apply -v [patchname.patch]
To avoid accidentally including the patch file in future commits, remove it:
When you’re done: Reverting uncommited changes
Revert changes to a specific file:
git checkout [filename]
Revert changes to the whole working tree:
git reset --hard