Skip to content

Commit

Permalink
chore: experiment with module
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Apr 13, 2024
1 parent d0c66c3 commit 6560311
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/code-quality-assurance.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
name: "Code quality assurance: @exile-watch / doryani"

on:
push:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize

jobs:
code-quality-assurance:
runs-on: ubuntu-latest
steps:
- name: Code quality assurance
if: "!contains(github.event.head_commit.message, '[skip ci]')"
if: >
github.event.pull_request.base.ref == 'main' &&
github.event.pull_request.head.ref != 'main'
uses: exile-watch/doryani/code-quality-assurance@main
with:
GH_ACTOR: ${{ github.actor }}
Expand Down
1 change: 1 addition & 0 deletions packages/writ-react/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export default createRollupConfig({
// required to recognize shared deps installed to workspace root
sassIncludePaths: ["src", "node_modules", "../../node_modules"],
externals: ["@mantine/core", "@mantine/hooks"],
outputFormats: ["module"],
});
9 changes: 7 additions & 2 deletions packages/writ-react/src/theme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { type MantineColorsTuple, createTheme } from "@mantine/core";
import {
type MantineColorsTuple,
MantineTheme,
createTheme,
} from "@mantine/core";

const sand: MantineColorsTuple = [
"#fff9e6",
Expand All @@ -13,7 +17,8 @@ const sand: MantineColorsTuple = [
"#a67e00",
];

export const theme = createTheme({
// any because Mantine broke...
export const theme: any = createTheme({
primaryColor: "sand",
colors: {
sand,
Expand Down

0 comments on commit 6560311

Please sign in to comment.