Skip to content

Commit

Permalink
feat: Content v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed May 25, 2024
1 parent bb31966 commit f583938
Show file tree
Hide file tree
Showing 3 changed files with 826 additions and 676 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"pages:preview": "vitepress preview pages"
},
"dependencies": {
"aplos": "1.5.1"
"aplos": "1.6.0"
},
"devDependencies": {
"sass": "^1.77.0",
"sass": "^1.77.2",
"vitepress": "^1.2.2"
},
"pnpm": {
Expand Down
24 changes: 24 additions & 0 deletions pages/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,30 @@ post: https://mastodon.example/@yourusername/1234567890

Make sure to edit the `post` link with your own post link. Once that, you don't need to do anything else, the comments will right there!

### General Styling

Using Aplós, you can customise the appearance of your content with various styling options. The `.vitepress/theme/index.ts` file allows importing additional files, including CSS or SCSS files, to apply custom styles to your project.

For example, to import a CSS file, add the following line to the `index.ts` file:

```ts
import "./styles.css";
```

> Predicting that you have a `styles.css` file in the same directory as the `index.ts` file (`theme` folder).

Inside the `styles.css` file, you can add custom styles to modify the appearance of your content, or even adding custom components.

### Chaning the Content Width

You can modify the width of the content in Aplós by changing the `--content-width` variable in the `:root` selector. For example, to set the content width to 800px, add the following CSS to your project:

```css
:root {
--content-width: 800px;
}
```

### Styling Images

You can style images in your content using various options provided by Aplós. Here's how to apply each styling option:
Expand Down
Loading

0 comments on commit f583938

Please sign in to comment.