This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Architecture and partials
Dieter Peirs edited this page Jun 21, 2016
·
1 revision
The Chopstick Scss is maintained in separate repositories which are loaded with Bower. We believe these partials should be easy to update and configurable without writing new code.
We use the following partials according to the ITCss structure.
- chopstick-settings: contains global variables and config switches to get you started. These can be overwritten in your project. Simply duplicate the variables you want to change or replace this file.
- chopstick-tools: contains mixins and functions.
- chopstick-generic: contains ground-zero styles (Normalize.css, resets, box-sizing)
- chopstick-elements: contains unclassed HTML elements (type selectors)
- chopstick-objects: contains cosmetic-free design patterns
- chopstick-components: contains designed components, chunks of UI (these are maintained in the boilerplate as they are specific to this)
- chopstick-utilities: contains helper classes
We try to keep the code as modular as possible. So you can comment out what you don’t use.
If you want to change something within the external partials you have 3 options:
- Change the settings and default appearance by overriding the variables in your project.
- Create a pull request on the source code in the correct repository.
- Copy the original file in you own project. This means you will have to do manual updates in the future.