Skip to content

Commit

Permalink
outline color
Browse files Browse the repository at this point in the history
  • Loading branch information
HorusGoul committed Feb 23, 2024
1 parent 39ffe14 commit 66bc558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/vite-demo/src/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ export default function Card({ children }: { children: React.ReactNode }) {

const styles = stylex.create({
root: {
backgroundColor: aliasedTokens.primaryBackgroundcolor,
backgroundColor: "white",
borderRadius: 8,
padding: 16,
boxShadow: "0 0 16px rgba(0, 0, 0, 0.1)",
color: tokens.primaryTextColor,
border: `1px solid ${colors.blue1}`,
outlineColor: aliasedTokens.primaryOutlineColor,
},
});
2 changes: 1 addition & 1 deletion apps/vite-demo/src/aliased-import-theme.stylex.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as stylex from "@stylexjs/stylex";

export const aliasedTokens = stylex.defineVars({
primaryBackgroundcolor: "#fff",
primaryOutlineColor: "blue",
});

0 comments on commit 66bc558

Please sign in to comment.