RC-7: correct theme styles
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* HEY HO
|
* HEY HO
|
||||||
*/
|
*/
|
||||||
@@ -17,7 +16,7 @@
|
|||||||
box-sizing: border-box; /* 1 */
|
box-sizing: border-box; /* 1 */
|
||||||
border-width: 0; /* 2 */
|
border-width: 0; /* 2 */
|
||||||
border-style: solid; /* 2 */
|
border-style: solid; /* 2 */
|
||||||
border-color: #EEEEEE; /* 2 */
|
border-color: #eeeeee; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
::before,
|
::before,
|
||||||
@@ -36,7 +35,9 @@ html {
|
|||||||
line-height: 1.5; /* 1 */
|
line-height: 1.5; /* 1 */
|
||||||
-webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
|
-webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
|
||||||
tab-size: 4; /* 3 */
|
tab-size: 4; /* 3 */
|
||||||
font-family: Inter var, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
|
font-family: Inter var, Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
||||||
|
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
||||||
|
'Segoe UI Symbol', 'Noto Color Emoji'; /* 4 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -110,7 +111,8 @@ code,
|
|||||||
kbd,
|
kbd,
|
||||||
samp,
|
samp,
|
||||||
pre {
|
pre {
|
||||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
|
||||||
|
'Courier New', monospace; /* 1 */
|
||||||
font-size: 1em; /* 2 */
|
font-size: 1em; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -318,7 +320,7 @@ textarea {
|
|||||||
input::placeholder,
|
input::placeholder,
|
||||||
textarea::placeholder {
|
textarea::placeholder {
|
||||||
opacity: 1; /* 1 */
|
opacity: 1; /* 1 */
|
||||||
color: #BDBDBD; /* 2 */
|
color: #bdbdbd; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -326,7 +328,7 @@ Set the default cursor for buttons.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
button,
|
button,
|
||||||
[role="button"] {
|
[role='button'] {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,7 +376,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
*, ::before, ::after {
|
*,
|
||||||
|
::before,
|
||||||
|
::after {
|
||||||
--tw-translate-x: 0;
|
--tw-translate-x: 0;
|
||||||
--tw-translate-y: 0;
|
--tw-translate-y: 0;
|
||||||
--tw-rotate: 0;
|
--tw-rotate: 0;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ html {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1.4;
|
line-height: normal;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
font-feature-settings: 'salt';
|
font-feature-settings: 'salt';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ module.exports = {
|
|||||||
'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))',
|
'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))',
|
||||||
'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',
|
'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',
|
||||||
'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
|
'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
|
||||||
|
'home-welcome': 'url(/src/assets/images/welcome-background.webp)',
|
||||||
},
|
},
|
||||||
backgroundOpacity: ({ theme }) => theme('opacity'),
|
backgroundOpacity: ({ theme }) => theme('opacity'),
|
||||||
backgroundPosition: {
|
backgroundPosition: {
|
||||||
@@ -130,6 +131,7 @@ module.exports = {
|
|||||||
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
|
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
|
||||||
inner: 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
|
inner: 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
|
||||||
none: 'none',
|
none: 'none',
|
||||||
|
light: '1px 1px 5px 0px rgba(0, 0, 0, 0.1)',
|
||||||
active: '2px 2px 5px 0px rgba(0, 0, 0, 0.2)',
|
active: '2px 2px 5px 0px rgba(0, 0, 0, 0.2)',
|
||||||
hover: '2px 2px 5px 0px rgba(0, 0, 0, 0.4)',
|
hover: '2px 2px 5px 0px rgba(0, 0, 0, 0.4)',
|
||||||
0: '0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)',
|
0: '0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)',
|
||||||
@@ -1258,6 +1260,7 @@ module.exports = {
|
|||||||
'5xl': '102.4rem',
|
'5xl': '102.4rem',
|
||||||
'6xl': '115.2rem',
|
'6xl': '115.2rem',
|
||||||
'7xl': '128rem',
|
'7xl': '128rem',
|
||||||
|
'8xl': '142rem',
|
||||||
px: '1px',
|
px: '1px',
|
||||||
0: '0px',
|
0: '0px',
|
||||||
0.5: '0.05rem',
|
0.5: '0.05rem',
|
||||||
|
|||||||
Reference in New Issue
Block a user