Debian Codegraph @

.github/CONTRIBUTING.md

raw symbols SCIP
1 Thanks for helping out! 😇
2
3 ### Raising an issue
4
5 * Make sure the issue hasn't been raised yet
6 * Include **screenshots** and animated GIFs in your issue whenever possible
7
8 ### Submitting a Pull Request
9
10 * Include **screenshots** and animated GIFs in your pull request whenever possible
11 * Use the **present** tense ("Add feature" not "Added feature")
12 * Use the **imperative** mood ("Move cursor to..." not "Moves cursor to...")
13 * Limit the first line to 72 characters or fewer
14 * Reference issues and pull requests liberally
15
16 ### Try your changes
17
18 When modifying any `.sass`, you will need to rebuild the css. You can do this by running:
19
20 ```
21 npm install
22 npm run build
23 ```
24
25 To see documentation changes check [the documentation readme](../docs/README.md).
26
27 ### Bulma Sass styleguide
28
29 * **No semi-colons** `;` or **curly braces** `{` `}`
30 * **No camelCase**
31 * Use only **classes**
32 * Order the CSS properties **alphabetically**
33 * Order the CSS rule by
34 * direct styles
35 * nested tags
36 * pseudo-classes
37 * color modifiers
38 * size modifiers
39 * modifiers
40 * responsive styles
41 * Add appropriate one-line comments for each of these sections within a CSS rule
42 * **No trailing space**
43 * End files with a **newline**
44
45 ```sass
46 .element
47 @extend .something
48 +mixin
49 property: value
50 span
51 // ...
52 div
53 // ...
54 .child
55 // ...
56 &:pseudo-class
57 // ...
58 // Colors
59 @each $name, $pair in $colors
60 // Loop
61 // Sizes
62 &.is-small
63 // ...
64 &.is-medium
65 // ...
66 &.is-large
67 // ...
68 // Modifiers (ordered alphabetically)
69 &.has-icons
70 // ...
71 &.is-active
72 // ...
73 &.is-fullwidth
74 // ...
75 // Responsiveness
76 +mobile
77 // ...
78 +tablet
79 // ...
80 +desktop
81 // ...
82 ```