-
Notifications
You must be signed in to change notification settings - Fork 944
feat: implement Premium features page using shadcn/ui and Tailwind #15094
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
Changes from 1 commit
459a028
169c4f5
24c97dc
4134d90
15eded8
9dba1c8
579ced7
ae3bd9d
f977408
71826a8
093d947
58fbeb3
4e6daaf
287a67a
1310637
281ec8a
25cbb87
42e82b6
4ae065d
fd045a6
e015d20
3eba3af
162ad19
fcb4c2a
962045c
09c5844
ef4b261
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,16 +23,16 @@ module.exports = { | |
content: { | ||
primary: "var(--content-primary)", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wondering if it might be good to define default values for the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then we have potentially 2 sources of truth for the colors. I would imagine that once this setup, it would rarely change. |
||
secondary: "var(--content-secondary)", | ||
disabled: colors.zinc[600], | ||
disabled: "var(--content-disabled)", | ||
invert: "var(--content-invert)", | ||
success: colors.green[600], | ||
danger: colors.red[500], | ||
link: colors.blue[500], | ||
success: "var(--content-success)", | ||
danger: "var(--content-danger)", | ||
link: "var(--content-link)", | ||
}, | ||
surface: { | ||
primary: colors.zinc[950], | ||
secondary: colors.zinc[900], | ||
tertiary: colors.zinc[800], | ||
primary: "var(--surface-primary)", | ||
secondary: "var(--surface-secondary)", | ||
tertiary: "var(--surface-tertiary)", | ||
invert: { | ||
primary: "var(--surface-invert-primary)", | ||
secondary: "var(--surface-invert-secondary)", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making sure I'm understanding this correctly: does this bind the border radius value to the root em for the browser?
If so, do we want to do that? If the user ever increases or decreases their default font size, that would cause the borders to increase/decrease roundness and potentially look wonky, right?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--radius
is used in the tailwind config here,by default Tailwind uses border-radius: 0.5rem; for rounded-lg so nothing is changing there. Changing the zoom level in the browser should by fine as well.
These were both added by the shadcn installation. I was keeping this for now until we know exactly why shadcn is adding this override to Tailwind for md and sm.