Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
7f6ba3e3
Unverified
Commit
7f6ba3e3
authored
11 months ago
by
Denis Berezin
Committed by
GitHub
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Restore default styles for subtle button (#42854)
parent
443203b4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
enterprise/frontend/src/embedding-sdk/README.md
+23
-8
23 additions, 8 deletions
enterprise/frontend/src/embedding-sdk/README.md
frontend/src/metabase/ui/components/buttons/Button/Button.styled.tsx
+0
-1
0 additions, 1 deletion
...c/metabase/ui/components/buttons/Button/Button.styled.tsx
with
23 additions
and
9 deletions
enterprise/frontend/src/embedding-sdk/README.md
+
23
−
8
View file @
7f6ba3e3
...
...
@@ -172,9 +172,9 @@ const theme = {
// Optional: Match your application's color scheme
colors
:
{
brand
:
"
#9B5966
"
,
"
text-
d
ar
k
"
:
"
#4C5773
"
,
"
text-
medium
"
:
"
#696E7B
"
,
"
text-
light
"
:
"
#949AAB
"
,
"
text-
prim
ar
y
"
:
"
#4C5773
"
,
"
text-
secondary
"
:
"
#696E7B
"
,
"
text-
tertiary
"
:
"
#949AAB
"
,
}
}
...
...
@@ -258,13 +258,28 @@ const theme = {
brand
:
"
#9B5966
"
,
// The color of text that is most prominent
"
text-
d
ar
k
"
:
"
#4C5773
"
,
"
text-
prim
ar
y
"
:
"
#4C5773
"
,
// The color of text that is less prominent
"
text-
medium
"
:
"
#696E7B
"
,
"
text-
secondary
"
:
"
#696E7B
"
,
// The color of text that is least prominent
"
text-light
"
:
"
#949AAB
"
,
"
text-tertiary
"
:
"
#949AAB
"
,
/** Default background color. */
background
:
"
#FFFFFF
"
,
/** Slightly darker background color used for hover and accented elements. */
"
background-hover
"
:
"
#F9FBFC
"
,
/** Color used for borders */
border
:
"
#EEECEC
"
,
/** Color used for filters context */
filter
:
"
#7172AD
"
,
/** Color used for aggregations and breakouts context */
summarize
:
"
#88BF4D
"
,
},
table
:
{
...
...
@@ -272,8 +287,8 @@ const theme = {
// Text color of cells, defaults to `text-dark`
textColor
:
"
#4C5773
"
,
// Default background color of cells, defaults to `white`
backgroundColor
:
"
white
"
,
// Default background color of cells, defaults to `
bg-
white`
backgroundColor
:
"
#FFFFFF
"
,
},
idColumn
:
{
...
...
This diff is collapsed.
Click to expand it.
frontend/src/metabase/ui/components/buttons/Button/Button.styled.tsx
+
0
−
1
View file @
7f6ba3e3
...
...
@@ -135,7 +135,6 @@ export const getButtonOverrides = (): MantineThemeOverride["components"] => ({
return
{
root
:
{
color
:
primaryColor
,
backgroundColor
:
theme
.
fn
.
themeColor
(
"
bg-white
"
),
"
&:hover
"
:
{
color
:
hoverColor
,
backgroundColor
:
"
transparent
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment