You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+90-36Lines changed: 90 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,16 @@ If you're using a `bower`, `npm`, or `yarn` then install via:
30
30
bower i --save-dev skeleton-sass
31
31
bower i --save-dev skeleton-sass-official
32
32
npm i --save-dev skeleton-sass-official
33
-
yarn install skeleton-sass-official
33
+
yarn install skeleton-sass-official --dev
34
34
~~~
35
35
36
36
Optionally, if you are not using one of these package managers, then you can clone the repo and put in a special directory with the rest of your dependencies.
From here, minimal stitching is required to get Skeleton Sass 3 integrated into your project! At a minimum, you need to create a single file: `skeleton.scss`
39
44
40
45
From \*nix:
@@ -61,8 +66,8 @@ Inside of `skeleton.scss` we need to add our components:
**Note:** the position of the import changes which files have access to the loaded data. For example, if you need the data in `themes/MyTheme/skeleton` then you'd need to move the import above the line where you import `themes/MyTheme/skeleton`.
147
+
**Note:** the position of the import changes which files have access to the loaded data. For example, if you need the data in `themes/MyTheme/grid` then you'd need to move the import above the line where you import `themes/MyTheme/grid`.
135
148
136
149
For more information on why we made this change, [click here](#change).
137
150
@@ -158,31 +171,63 @@ Skeleton Sass is a Sass port of Skeleton CSS. Skeleton Sass 3 decouples itself f
158
171
### Features
159
172
1. Modular
160
173
2. Decoupled core code
161
-
3.Extensible
162
-
4.Themeable
174
+
3.Decoupled theme files for rapid theme development
175
+
4.Extensible
163
176
164
177
### File Overview
165
178
```
166
-
Skeleton # Where all of the magic happens
179
+
skeleton/ # Where all of the magic happens
167
180
├── core
168
-
│ ├── _config.scss # Default global configuration variables
169
-
│ ├── _dependencies.scss # Default global logic for Skeleton Sass
170
-
│ ├── _functions.scss # Default global functions for Skeleton Sass
171
-
│ └── _mixins.scss # Default global mixins for Skeleton Sass
172
-
└── themes # Where all of the themes live
181
+
│ ├── _config.scss # Default global configuration variables
182
+
│ ├── _dependencies.scss # Default global logic for Skeleton Sass
183
+
│ ├── _functions.scss # Default global functions for Skeleton Sass
184
+
│ └── _mixins.scss # Default global mixins for Skeleton Sass
185
+
└── themes # Where all of the themes live
173
186
├── fresh
174
-
│ ├── _base.scss contains # All of the base styles for Skeleton Sass with the exception of the reset styles
175
-
│ ├── _skeleton.scss
176
-
│ ├── _vars.scss # Project-scoped configuration options and variables
177
-
│ └── marrow # Stores all project-level functions and mixins
178
-
│ └── _mixins.scss # loads the default theme mixins and functions from sphenoid
179
-
└── sphenoid
180
-
├── _base.scss # Base styles for Skeleton Sass (same look as Skeleton CSS created)
└── marrow #Project-scoped logic (e.g. functions and mixins) for your theme to work
184
-
├── _private.scss # Private logic for the public mixins/functions to work correctly for the sphenoid project. Feel free to name this file whatever you want in your own theme.
185
-
└── _public.scss # Public mixins/functions for the sphenoid theme. Feel free to name this file whatever you want in your own theme.
187
+
│ ├── _grid.scss
188
+
│ ├── \_include_components.scss # partial to import all of the components
189
+
│ ├── _vars.scss # Project-scoped configuration options and variables
190
+
│ ├── components
191
+
│ │ ├── _base.scss
192
+
│ │ ├── _buttons.scss
193
+
│ │ ├── _forms.scss
194
+
│ │ ├── _links.scss
195
+
│ │ ├── _lists.scss
196
+
│ │ ├── _misc.scss
197
+
│ │ ├── _normalize.scss
198
+
│ │ ├── _tables.scss
199
+
│ │ ├── _typography.scss
200
+
│ │ └── _utils.scss
201
+
│ └── mixins # Stores all project-level functions and mixins
202
+
│ └── _mixins.scss
203
+
├── original
204
+
│ ├── _grid.scss
205
+
│ ├── \_include_components.scss # partial to import all of the components
206
+
│ ├── _vars.scss # Project-scoped configuration options and variables
207
+
│ ├── components
208
+
│ │ ├── _base.scss
209
+
│ │ ├── _buttons.scss
210
+
│ │ ├── _forms.scss
211
+
│ │ ├── _links.scss
212
+
│ │ ├── _lists.scss
213
+
│ │ ├── _typography.scss
214
+
│ │ └── _utils.scss
215
+
│ └── mixins # Stores all project-level functions and mixins
216
+
│ ├── _private.scss
217
+
│ └── _public.scss
218
+
└── wing
219
+
├── _grid.scss
220
+
├── \_include_components.scss # partial to import all of the components
221
+
├── _vars.scss # Project-scoped configuration options and variables
222
+
└── components
223
+
├── _base.scss
224
+
├── _buttons.scss
225
+
├── _forms.scss
226
+
├── _links.scss
227
+
├── _lists.scss
228
+
├── _misc.scss
229
+
├── _typography.scss
230
+
└── _utils.scss
186
231
```
187
232
188
233
Install Skeleton Sass with bower via command line:
@@ -196,14 +241,14 @@ You can also add Skeleton Sass as a dependency via NPM or Yarn!
196
241
197
242
~~~bash
198
243
npm install --save-dev skeleton-sass-official
199
-
yarn install skeleton-sass-official
244
+
yarn install skeleton-sass-official --dev
200
245
~~~
201
246
202
247
You can also install alpha, beta, release candidate, and previous versions by looking at the [releases](https://github.com/atomicpages/skeleton-sass/releases) page and install with the following syntax:
203
248
204
249
~~~bash
205
250
bower install skeleton-sass#[tag]
206
-
bower install skeleton-sass#3.0.2
251
+
bower install skeleton-sass#3.1.0
207
252
~~~
208
253
209
254
[Learn how to set up Skeleton Sass for the first time here](https://github.com/atomicpages/skeleton-sass/wiki/Setting-up-Skeleton-Sass-for-first-time-use).
@@ -254,6 +299,15 @@ Changelog
254
299
* Added new demos
255
300
* Better styling
256
301
* Less clutter
302
+
* Splitting base styles into several components to accelerate theme development and reduce file coupling.
303
+
*`_base.scss`
304
+
*`_buttons.scss`
305
+
* etc...
306
+
* Adding `_include_components.scss` partial in every theme for easy loading
Copy file name to clipboardExpand all lines: license.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
The MIT License (MIT)
2
-
Copyright (c) 2016 AtomicPages LLC
2
+
Copyright (c) 2017 AtomicPages LLC
3
3
4
4
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
0 commit comments