You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/plugin/styles/README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,9 @@ Before you get started, please read the [Contributing](https://github.com/webdev
11
11
2. Clone the forked repository to your local machine.
12
12
3. Create a new branch for your changes.
13
13
4. Install the node packages `pnpm i`. Please do not use `npm` or `yarn`.
14
-
5. Run the development server `pnpm watch`.
15
-
6. You can view the demo site at the link provided by vite that will display in the console.
14
+
5. Run the development server with the developer playground `pnpm play`.
15
+
6. You can view the demo site at the link provided by vite that will display in the console. Ex. `http://localhost:5173/vue3-code-block/`
16
+
7. You can view the playground page by adding `playground/` to the demo site link provided by vite that will display in the console. Ex. `http://localhost:5173/vue3-code-block/playground/`
16
17
17
18
## 📋 Additional notes
18
19
Make sure you are not adding a theme that already exists.
@@ -21,7 +22,9 @@ When selecting colors for the tabs, use colors from the themes stylesheet. Gener
21
22
22
23
Do not change other variable colors. Please stick to the theme you are adding. If you have a suggestion for changing a variable color already defined, please open a [discussion](https://github.com/webdevnerdstuff/vue3-code-block/discussions). The reason we have the variables is to allow users to customize the colors to their liking if they do not like the defaults already created.
23
24
24
-
Make sure your `css` and `scss` files are using tabbed spacing. When adding themes, do not change or alter any other files than the ones mentioned below. If you have a bug fix please make your changes in a separate branch and create a separate pull request.
25
+
Make sure your `css` and `scss` files are using tabbed spacing. When adding themes, do not change or alter any other files than the ones mentioned below. If you have a bug fix please make your changes in a separate branch and create a separate pull request.
26
+
27
+
Do not commit the `PlaygroundPage.vue` file. This is only for testing purposes.
25
28
26
29
## ⌨ Add new theme variables
27
30
Update `cssVariables.css` by including the new theme variables. All values must use the [hsl](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl) color format.
0 commit comments