-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INTR-219 Various styling fixes (#684)
Co-authored-by: Cameron Lamb <[email protected]>
- Loading branch information
Showing
16 changed files
with
102 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
.dwds-card.dwds-cta-card { | ||
// TODO: Cheryl to work out the colour for the CTA card background and the new body background. | ||
--cta-background-color: #E6EBF0; | ||
color: var(--color-text-highlight); | ||
|
||
.card-main { | ||
.card-content { | ||
.card-body { | ||
--body-background-colour: var(--cta-background-color); | ||
} | ||
box-shadow: none; | ||
|
||
a, | ||
a:visited, | ||
a:link { | ||
color: var(--color-text-highlight); | ||
text-decoration-color: var(--color-text-highlight); | ||
|
||
p { | ||
color: var(--color-text-highlight); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/dw_design_system/templates/dw_design_system/styles.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% extends "dwds_content.html" %} | ||
|
||
{% block title %} | ||
DW Design System components | ||
{% endblock title %} | ||
|
||
{% block page_title %} | ||
<br /> | ||
<h1>DW Design System styles</h1> | ||
{% endblock page_title %} | ||
|
||
{% block primary_content %} | ||
<h1>Styles</h1> | ||
|
||
<h2>Buttons</h2> | ||
|
||
<button class="dwds-button">Primary button</button> | ||
<br> | ||
<button class="dwds-button dwds-button--secondary">Secondary button</button> | ||
<br> | ||
<button class="dwds-button dwds-button--small">Primary button (small)</button> | ||
<br> | ||
<button class="dwds-button dwds-button--secondary dwds-button--small">Secondary button (small)</button> | ||
|
||
<h2>Headings (examples, these styles don't exist yet)</h2> | ||
|
||
<span class="dwds-heading-xl">Heading XL</span> | ||
<br> | ||
<span class="dwds-heading-l">Heading L</span> | ||
<br> | ||
<span class="dwds-heading-m">Heading M</span> | ||
<br> | ||
<span class="dwds-heading-s">Heading S</span> | ||
<br> | ||
<span class="dwds-heading-xs">Heading XS</span> | ||
|
||
|
||
|
||
{% endblock primary_content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters