DCUS Style & Pattern Guide
Logo files
Logos are stored on GitHub in the resources repository.
Full Logo
Submark
- FAVICON.png
- just letters black.png
- just letters orange.png
- org-slack-green.png
- FAVICON.svg
- just letters black.svg
- just letters orange.svg
- org-slack-green.svg
- Org-slack-purple.png
- just letters blue.png
- just letters red.png
- org-slack.png
- Org-slack-purple.svg
- just letters blue.svg
- just letters red.svg
- org-slack.svg
Typography
The default font stack is defined in tailwind.config.js
. Long form text uses prose
, and all other sizing is done with utility classes, specific to its use case. There are a few key sizing helper classes.
Typography is based on Poppins.
Page heading, used in heroes
Sub heading, used on page sections
Lead, used in support of page headings or sub heading
`.font-heading` sets type properties for a generic heading
Links
Occasionally developers may need to specify a link or change a link's behavior.
Prose styles
Prose is a utility class that sets type properties for long form text.
It is used for body copy, blog posts, and other long form text.
It can also be used if you need a generic set of good type styles, or are planning the "unknown copy".
Heading 1, shouldn't be used in prose
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
- List item 1
- List item 2
- List item 3
- Numbered item 1
- Numbered item 2
- Numbered item 3
Colors
The full color palette is configured in tailwind.config.js
. The following is a full list of all defined colors and their shades. Note that Tailwind does not provide all of these classes unless used in source files (not compiled output).
red
Shade | Color | Class |
---|---|---|
50 | #fef3f2 | .bg-red-50 |
100 | #fde4e3 | .bg-red-100 |
200 | #fdcdcb | .bg-red-200 |
300 | #faaba7 | .bg-red-300 |
400 | #f57a74 | .bg-red-400 |
500 | #eb5048 | .bg-red-500 |
700 | #b52720 | .bg-red-700 |
800 | #96241e | .bg-red-800 |
900 | #7d241f | .bg-red-900 |
950 | #440e0b | .bg-red-950 |
DEFAULT | #db433b | .bg-red |
orange
Shade | Color | Class |
---|---|---|
50 | #fef7ee | .bg-orange-50 |
100 | #fdeed7 | .bg-orange-100 |
200 | #fad9ae | .bg-orange-200 |
300 | #f7bd7a | .bg-orange-300 |
500 | #ef7920 | .bg-orange-500 |
600 | #e15f15 | .bg-orange-600 |
700 | #ba4714 | .bg-orange-700 |
800 | #943a18 | .bg-orange-800 |
900 | #783116 | .bg-orange-900 |
950 | #40160a | .bg-orange-950 |
DEFAULT | #f39745 | .bg-orange |
blue
Shade | Color | Class |
---|---|---|
50 | #eff8ff | .bg-blue-50 |
100 | #daeeff | .bg-blue-100 |
200 | #bde3ff | .bg-blue-200 |
300 | #90d2ff | .bg-blue-300 |
400 | #5cb8fe | .bg-blue-400 |
600 | #207af0 | .bg-blue-600 |
700 | #1864dd | .bg-blue-700 |
800 | #1a50b3 | .bg-blue-800 |
900 | #1b478d | .bg-blue-900 |
950 | #152c56 | .bg-blue-950 |
DEFAULT | #3d9cfb | .bg-blue |
light-blue
Shade | Color | Class |
---|---|---|
50 | #f0f8ff | .bg-light-blue-50 |
100 | #e0f0fe | .bg-light-blue-100 |
200 | #bbe2fc | .bg-light-blue-200 |
400 | #3ab1f6 | .bg-light-blue-400 |
500 | #1098e7 | .bg-light-blue-500 |
600 | #0478c5 | .bg-light-blue-600 |
700 | #0460a0 | .bg-light-blue-700 |
800 | #085284 | .bg-light-blue-800 |
900 | #0d446d | .bg-light-blue-900 |
950 | #092b48 | .bg-light-blue-950 |
DEFAULT | #5fbffa | .bg-light-blue |
purple
Shade | Color | Class |
---|---|---|
50 | #fbf8fc | .bg-purple-50 |
100 | #f5eff8 | .bg-purple-100 |
200 | #eee1f3 | .bg-purple-200 |
300 | #e0cae8 | .bg-purple-300 |
400 | #cca7d9 | .bg-purple-400 |
600 | #a269b4 | .bg-purple-600 |
700 | #8b559b | .bg-purple-700 |
800 | #744980 | .bg-purple-800 |
900 | #5e3c67 | .bg-purple-900 |
950 | #412249 | .bg-purple-950 |
DEFAULT | #b989c9 | .bg-purple |
green
Shade | Color | Class |
---|---|---|
50 | #f2f9ec | .bg-green-50 |
100 | #e2f1d6 | .bg-green-100 |
200 | #c8e5b1 | .bg-green-200 |
300 | #a6d284 | .bg-green-300 |
400 | #84bf5c | .bg-green-400 |
600 | #4d822e | .bg-green-600 |
700 | #3d6427 | .bg-green-700 |
800 | #345024 | .bg-green-800 |
900 | #2e4522 | .bg-green-900 |
950 | #15250e | .bg-green-950 |
DEFAULT | #64a03d | .bg-green |
yellow
Shade | Color | Class |
---|---|---|
50 | #fcf8ea | .bg-yellow-50 |
100 | #f8efc9 | .bg-yellow-100 |
200 | #f2dd96 | .bg-yellow-200 |
400 | #e2aa2d | .bg-yellow-400 |
500 | #d29420 | .bg-yellow-500 |
600 | #b57219 | .bg-yellow-600 |
700 | #915217 | .bg-yellow-700 |
800 | #79421a | .bg-yellow-800 |
900 | #67381c | .bg-yellow-900 |
950 | #3c1c0c | .bg-yellow-950 |
DEFAULT | #e7bb43 | .bg-yellow |
Icons
Icons are used to visually communicate an action or idea. The .icon
class can be applied to give them a consistent width and height. Additional height and width classes can be applied to change their sizing, e.g. w-12 h-12
.
Icon | Path |
---|---|
/assets/img/theme/icons/Bag.svg |
|
/assets/img/theme/icons/Bull.svg |
|
/assets/img/theme/icons/Checklist.svg |
|
/assets/img/theme/icons/Compass.svg |
|
/assets/img/theme/icons/Document.svg |
|
/assets/img/theme/icons/Globe.svg |
|
/assets/img/theme/icons/Hands.svg |
|
/assets/img/theme/icons/Hat.svg |
|
/assets/img/theme/icons/Heart.svg |
|
/assets/img/theme/icons/Megaphone.svg |
|
/assets/img/theme/icons/Money.svg |
|
/assets/img/theme/icons/People.svg |
|
/assets/img/theme/icons/Prompt.svg |
|
/assets/img/theme/icons/Star.svg |
|
/assets/img/theme/icons/Triangle.svg |
Buttons
Buttons are created by applying .button
to an element. The button class is a utility class that applies padding, border, and background color.
The button class can be combined with other utility classes to create different button styles. Changing button colors requires changing the background color, e.g. bg-blue
to create a blue button.
Badges
Badges are used to indicate status, denote a count, or to draw attention to an element. Badges are created by applying .badge
to an element. Colors may be changed by applying a background color utility class, e.g. bg-blue
to create a blue badge.
Alerts
Attention!
If you try to book and the website says the capacity is full, please call the hotel to try to book your room. You may need to mention that you're with the DjangoCon US group.
Forms
Blocks & Grids
Blocks and grids are the building blocks of the website. They help to organize content and create a visual hierarchy.
There are a few key classes to use when shaping blocks:
-
.block-container
- The outermost container for a block. This class sets the padding for the block. -
.wrapper
- The inner container for a block. This class sets the maximum width and centers the content.
Background colors and effects may be applied to .block-container
to differentiate them.
Use Tailwind's grid classes to create a grid layout inside .wrapper
.
Content goes here.
Gray block with modified padding.
Sponsor list
See sponsor-listing.html
for the code that generates this list of sponsors. Most importantly, sponsor sizing is based on logo orientation. When adding logos, be sure to remove excess whitespace. Logos should be in SVG (preferred), WebP, or PNG format. If possible, SVG logo files should be optimized and minified.
Social links
Social links are used to direct users to your social media profiles. They are typically displayed in the footer of the website or with contact information for individuals.
You can include
social-links.html
and pass in the variablesocial
to render a full list of icons. Social icons are added to the page viasvg-social-icons.html
.Conference specific social share links are stored
conf-social-share.html
and may have some styling differences.Colors for social networks are defined in
tailwind.config.js
.