Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: tweaks to styling pages #2029

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

gentaDemnushaj
Copy link
Contributor

ATTENTION! NEW DOCS STRUCTURE
FOR THE NEXT THREE WEEKS, ONLY BRANCH FROM new-docs-structure
OTHERWISE, WAIT UNTIL THE NEW STRUCTURE HAS BEEN RELEASED


Thank you for contributing to the documentation.

Do the changes you have made apply to both Current and Previous versions?

Have you done a trial build to check all new or changed links?

Is there anything else you would like us to know?

This week's exciting advice from the style guide

  • Write your headings in sentence case:

    • A good example
      This is a correct heading.
    • A Bad Example
      This is not a correct heading.

@@ -148,31 +166,49 @@ import { ElementStyles, PropertyStyleSheetBehavior } from '@genesis/web-core';
* @public
*/
export function appearanceBehavior(value: string, styles: ElementStyles) {
return new PropertyStyleSheetBehavior('appearance', value, styles);
return new PropertyStyleSheetBehavior("appearance", value, styles);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: this one should be ok to stay as it is?

@@ -45,15 +44,19 @@ Let's override structural properties defined in the `baseStyles` by adding or mo
##### Custom Base Styles

```typescript
import { css } from '@genesislcap/web-core';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: are we moving all examples to "double quotes symbol"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i did format document and it must have switched it

Copy link
Contributor

@matteematt matteematt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed more to do in future, but defo good enough for now

@gentaDemnushaj gentaDemnushaj merged commit f4323c5 into new-doc-structure Dec 3, 2024
@gentaDemnushaj gentaDemnushaj deleted the gd/styling-part-2 branch December 3, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants