-
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.
8710 task: Integrating design system - created separate CSS output fo…
…r theme colours and other styles
- Loading branch information
1 parent
28d0dbd
commit cd7d571
Showing
9 changed files
with
74 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
@import 'styles/core'; | ||
@import 'styles/theme'; | ||
@import 'styles/common'; | ||
@import './storybook-global'; | ||
@import './storybook-icons'; |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// ---------------------------------- | ||
// UI Theme | ||
// ---------------------------------- | ||
// Design System 1.0 Alpha | ||
// 2021-05-01 | ||
// ---------------------------------- | ||
|
||
@import 'colours'; |
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,18 @@ | ||
// ---------------------------------- | ||
// UI Theme | ||
// Colours | ||
// ---------------------------------- | ||
// Design System 1.0 Alpha | ||
// 2021-05-01 | ||
// ---------------------------------- | ||
|
||
:root { | ||
--link-colour: var(--colour-grey-80); | ||
--link-colour-hover: var(--colour-grey-80); | ||
--link-colour-focus-outline: var(--colour-blue-50); | ||
--link-colour-active: var(--colour-grey-80); | ||
--link-colour-disabled: var(--colour-grey-40); | ||
|
||
--body-text-colour: var(--colour-grey-80); | ||
--meta-text-colour: var(--colour-grey-60); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// ---------------------------------- | ||
// UI theme | ||
// ---------------------------------- | ||
// Design System 1.0 Alpha | ||
// 2021-05-01 | ||
// ---------------------------------- | ||
|
||
/** | ||
* This file serves as the main entry point for the design system's | ||
* standard theme variables (written in .scss). | ||
* | ||
* Unused @imports have been commented out to give a reference point. | ||
*/ | ||
|
||
/* stylelint-disable scss/at-import-no-partial-leading-underscore */ | ||
|
||
// Core variables e.g. base sizes and colours | ||
// @import '10-settings/__manifest'; | ||
|
||
// Theme variables e.g. specific colours and typography | ||
@import '15-theme/__manifest'; | ||
|
||
// Core style functions and mixins | ||
// @import '20-tools/__manifest'; | ||
|
||
// More detailed components such as buttons, alerts etc. | ||
// @import '30-components/__manifest'; | ||
|
||
// Objects e/g grid or media object | ||
// @import '40-objects/__manifest'; | ||
|
||
/* stylelint-enable scss/at-import-no-partial-leading-underscore */ |
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 @@ | ||
import './theme.scss'; |